summaryrefslogtreecommitdiff
path: root/zenity.spec.in
blob: d6e9605a14f2fdbec168a17b59243fae914d3b99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
%define version @VERSION@
%define name zenity
Summary: Zenity is a basic rewrite of gdialog, with simplicity of use in mind.
Name: %{name}
Version: %{version}
Release: 1
Vendor: N/A
URL: http://ftp.gnome.org/pub/GNOME/sources/zenity/%{version}/
Source: http://ftp.gnome.org/pub/GNOME/sources/zenity/%{version}/%{name}-%{version}.tar.bz2
License: LGPL
Group: Applications/System
Packager: Mihai Lazarescu <mihai@email.it>
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: binutils
BuildRequires: bzip2
BuildRequires: fileutils
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: glibc-devel
BuildRequires: gtk+ >= 2.0.0
BuildRequires: gzip
BuildRequires: info
BuildRequires: intltool
BuildRequires: libglade >= 2.0.0
BuildRequires: libgnomecanvas >= 2.0.0
BuildRequires: libtool
BuildRequires: make
BuildRequires: popt
BuildRequires: scrollkeeper
BuildRequires: sh-utils
BuildRequires: tar
Requires: gtk+ >= 2.0.0
Requires: libglade >= 2.0.0
Requires: libgnomecanvas >= 2.0.0
Provides: %{name}

%define rpm_prefix /usr

%description
Zenity is a basic rewrite of gdialog, without the pain involved
of trying to figure out commandline parsing.  Zenity is
zen-like; simple and easy to use.

Zenity Dialogs: Calendar, Text Entry, Error, Informational,
File Selection, List, Progress, Question, Text Information,
and Warning.

Zenity is especially useful in scripts.


%prep
%setup -q
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT


%build
./configure --prefix=%{rpm_prefix}
%{__make} all


%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
%{__make} prefix=$RPM_BUILD_ROOT%{rpm_prefix} install


%clean
%{__rm} -rf $RPM_BUILD_ROOT%{rpm_prefix}


%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog HACKING INSTALL
%doc NEWS README THANKS TODO help

%{rpm_prefix}


%changelog
* Thu Mar 6 2003 Glynn Foster <glynn.foster@sun.com>
- Fix up the %defines. Not sure if this makes a difference but it
  seems cleaner to me

* Thu Feb 1 2003 Mihai Lazarescu <mihai@email.it>
- first release for version 1.0
bgstack15