1 | %define version @VERSION@ |
---|
2 | %define name zenity |
---|
3 | Summary: Zenity is a basic rewrite of gdialog, with simplicity of use in mind. |
---|
4 | Name: %{name} |
---|
5 | Version: %{version} |
---|
6 | Release: 1 |
---|
7 | Vendor: N/A |
---|
8 | URL: http://ftp.gnome.org/pub/GNOME/sources/zenity/%{version}/ |
---|
9 | Source: http://ftp.gnome.org/pub/GNOME/sources/zenity/%{version}/%{name}-%{version}.tar.bz2 |
---|
10 | License: LGPL |
---|
11 | Group: Applications/System |
---|
12 | Packager: Mihai Lazarescu <mihai@email.it> |
---|
13 | BuildRoot: %{_tmppath}/%{name}-buildroot |
---|
14 | BuildRequires: autoconf |
---|
15 | BuildRequires: automake |
---|
16 | BuildRequires: binutils |
---|
17 | BuildRequires: bzip2 |
---|
18 | BuildRequires: fileutils |
---|
19 | BuildRequires: gcc |
---|
20 | BuildRequires: gettext |
---|
21 | BuildRequires: glibc-devel |
---|
22 | BuildRequires: gtk+ >= 2.0.0 |
---|
23 | BuildRequires: gzip |
---|
24 | BuildRequires: info |
---|
25 | BuildRequires: intltool |
---|
26 | BuildRequires: libglade >= 2.0.0 |
---|
27 | BuildRequires: libgnomecanvas >= 2.0.0 |
---|
28 | BuildRequires: libtool |
---|
29 | BuildRequires: make |
---|
30 | BuildRequires: popt |
---|
31 | BuildRequires: scrollkeeper |
---|
32 | BuildRequires: sh-utils |
---|
33 | BuildRequires: tar |
---|
34 | Requires: gtk+ >= 2.0.0 |
---|
35 | Requires: libglade >= 2.0.0 |
---|
36 | Requires: libgnomecanvas >= 2.0.0 |
---|
37 | Provides: %{name} |
---|
38 | |
---|
39 | %define rpm_prefix /usr |
---|
40 | |
---|
41 | %description |
---|
42 | Zenity is a basic rewrite of gdialog, without the pain involved |
---|
43 | of trying to figure out commandline parsing. Zenity is |
---|
44 | zen-like; simple and easy to use. |
---|
45 | |
---|
46 | Zenity Dialogs: Calendar, Text Entry, Error, Informational, |
---|
47 | File Selection, List, Progress, Question, Text Information, |
---|
48 | and Warning. |
---|
49 | |
---|
50 | Zenity is especially useful in scripts. |
---|
51 | |
---|
52 | |
---|
53 | %prep |
---|
54 | %setup -q |
---|
55 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
56 | |
---|
57 | |
---|
58 | %build |
---|
59 | ./configure --prefix=%{rpm_prefix} |
---|
60 | %{__make} all |
---|
61 | |
---|
62 | |
---|
63 | %install |
---|
64 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
65 | %{__make} prefix=$RPM_BUILD_ROOT%{rpm_prefix} install |
---|
66 | |
---|
67 | |
---|
68 | %clean |
---|
69 | %{__rm} -rf $RPM_BUILD_ROOT%{rpm_prefix} |
---|
70 | |
---|
71 | |
---|
72 | %files |
---|
73 | %defattr(-,root,root) |
---|
74 | %doc AUTHORS COPYING ChangeLog HACKING INSTALL |
---|
75 | %doc NEWS README THANKS TODO help |
---|
76 | |
---|
77 | %{rpm_prefix} |
---|
78 | |
---|
79 | |
---|
80 | %changelog |
---|
81 | * Thu Mar 6 2003 Glynn Foster <glynn.foster@sun.com> |
---|
82 | - Fix up the %defines. Not sure if this makes a difference but it |
---|
83 | seems cleaner to me |
---|
84 | |
---|
85 | * Thu Feb 1 2003 Mihai Lazarescu <mihai@email.it> |
---|
86 | - first release for version 1.0 |
---|