author | re |
Mon, 13 Oct 2003 06:30:26 +0000 | |
changeset 1243 | e5d0ee5479f9 |
parent 1195 | 4e66a626f563 |
child 1461 | bad5068ec867 |
permissions | -rw-r--r-- |
372 | 1 |
# |
2 |
# spec file for package zenity |
|
3 |
# |
|
601 | 4 |
# Copyright (c) 2003 Sun Microsystems, Inc. |
372 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
||
9 |
||
10 |
Name: zenity |
|
998 | 11 |
License: LGPL |
372 | 12 |
Group: System/GUI/GNOME |
1243 | 13 |
Version: 1.6 |
14 |
Release: 1 |
|
372 | 15 |
Distribution: Mercury |
575 | 16 |
Vendor: Sun Microsystems, Inc. |
372 | 17 |
Summary: Show graphical dialog boxes from scripts |
1243 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/zenity/1.6/%{name}-%{version}.tar.bz2 |
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
19 |
Patch0: zenity-01-potfiles_in.diff |
372 | 20 |
URL: http://www.gnome.org |
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
22 |
Docdir: %{_defaultdocdir}/%{name} |
|
23 |
Autoreqprov: on |
|
1080 | 24 |
Prereq: scrollkeeper |
372 | 25 |
|
1243 | 26 |
%define gtk2_version 2.2.4 |
27 |
%define libgnomecanvas_version 2.4.0 |
|
28 |
%define GConf_version 2.4.0.1 |
|
372 | 29 |
%define libglade_version 2.0.1 |
30 |
%define popt_version 1.6.4 |
|
1243 | 31 |
%define scrollkeeper_version 0.3.12 |
372 | 32 |
|
33 |
Requires: gtk2 >= %{gtk2_version} |
|
34 |
Requires: libgnomecanvas >= %{libgnomecanvas_version} |
|
35 |
Requires: GConf >= %{GConf_version} |
|
36 |
Requires: libglade >= %{libglade_version} |
|
806 | 37 |
Requires: scrollkeeper >= %{scrollkeeper_version} |
372 | 38 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
39 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
40 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
41 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
42 |
BuildRequires: popt-devel >= %{popt_version} |
|
1073 | 43 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
372 | 44 |
|
45 |
%description |
|
46 |
Show graphical dialog boxes from the commandline or through scripts. Zenity is a |
|
47 |
predecessor to dialog. |
|
48 |
||
49 |
%prep |
|
50 |
%setup -q |
|
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
51 |
%patch0 -p1 |
372 | 52 |
|
53 |
||
54 |
%build |
|
55 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
56 |
./configure \ |
|
57 |
--prefix=%{_prefix} \ |
|
58 |
--sysconfdir=%{_sysconfdir} \ |
|
373 | 59 |
--mandir=%{_mandir} |
372 | 60 |
make |
61 |
||
62 |
%install |
|
63 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
64 |
||
65 |
%clean |
|
66 |
rm -rf $RPM_BUILD_ROOT |
|
67 |
||
68 |
%post |
|
413 | 69 |
scrollkeeper-update -q |
70 |
||
71 |
%postun |
|
72 |
scrollkeeper-update -q |
|
372 | 73 |
|
74 |
%files |
|
75 |
%defattr (-, root, root) |
|
76 |
%{_bindir}/* |
|
77 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
78 |
%{_datadir}/omf/zenity |
|
79 |
%{_datadir}/zenity/* |
|
1243 | 80 |
%{_datadir}/gnome/help |
372 | 81 |
|
82 |
%changelog |
|
1243 | 83 |
* Mon Oct 13 2003 - [email protected] |
84 |
- Update tarball |
|
85 |
||
1028 | 86 |
* Mon Aug 11 2003 - [email protected] |
87 |
- Update tarball |
|
88 |
||
806 | 89 |
* Fri Jul 25 2003 - [email protected] |
90 |
- Requires scrollkeeper for postinstall. Add a dependency |
|
91 |
||
372 | 92 |
* Tue Jul 01 2003 - [email protected] |
93 |
- Initial Sun release |