author | mattk |
Thu, 01 Apr 2004 16:31:44 +0000 | |
changeset 2362 | ef2590f64b05 |
parent 2350 | 9adca2a8c84f |
child 2398 | 7a29461443c9 |
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 |
2290 | 13 |
Version: 2.6.0 |
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
14 |
Release: 3 |
1914 | 15 |
Distribution: Cinnabar |
575 | 16 |
Vendor: Sun Microsystems, Inc. |
372 | 17 |
Summary: Show graphical dialog boxes from scripts |
2290 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/zenity/2.6/%{name}-%{version}.tar.bz2 |
2350 | 19 |
Source1: zenity-l10n-po-1.0.tar.bz2 |
1461 | 20 |
Source2: zenity.1.gz |
372 | 21 |
URL: http://www.gnome.org |
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
23 |
Docdir: %{_defaultdocdir}/%{name} |
|
24 |
Autoreqprov: on |
|
1080 | 25 |
Prereq: scrollkeeper |
372 | 26 |
|
1914 | 27 |
%define gtk2_version 2.3.1 |
1243 | 28 |
%define libgnomecanvas_version 2.4.0 |
29 |
%define GConf_version 2.4.0.1 |
|
1914 | 30 |
%define libglade_version 2.3.1 |
372 | 31 |
%define popt_version 1.6.4 |
1243 | 32 |
%define scrollkeeper_version 0.3.12 |
372 | 33 |
|
34 |
Requires: gtk2 >= %{gtk2_version} |
|
35 |
Requires: libgnomecanvas >= %{libgnomecanvas_version} |
|
36 |
Requires: GConf >= %{GConf_version} |
|
37 |
Requires: libglade >= %{libglade_version} |
|
806 | 38 |
Requires: scrollkeeper >= %{scrollkeeper_version} |
372 | 39 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
40 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
41 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
42 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
43 |
BuildRequires: popt-devel >= %{popt_version} |
|
1073 | 44 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
372 | 45 |
|
46 |
%description |
|
47 |
Show graphical dialog boxes from the commandline or through scripts. Zenity is a |
|
48 |
predecessor to dialog. |
|
49 |
||
50 |
%prep |
|
51 |
%setup -q |
|
52 |
||
53 |
%build |
|
2234 | 54 |
libtoolize --force |
55 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
56 |
automake -a -c -f |
|
57 |
autoconf |
|
372 | 58 |
CFLAGS="$RPM_OPT_FLAGS" \ |
59 |
./configure \ |
|
60 |
--prefix=%{_prefix} \ |
|
61 |
--sysconfdir=%{_sysconfdir} \ |
|
373 | 62 |
--mandir=%{_mandir} |
372 | 63 |
make |
64 |
||
65 |
%install |
|
66 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
1522 | 67 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
68 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
1461 | 69 |
#Copy zh_HK from zh_TW |
70 |
#Fixes bug 4930405 |
|
1522 | 71 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
72 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
372 | 73 |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
74 |
%ifos linux |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
75 |
javahelp-convert-install $RPM_BUILD_ROOT %{name} %{name}.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
76 |
%endif |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
77 |
|
372 | 78 |
%clean |
79 |
rm -rf $RPM_BUILD_ROOT |
|
80 |
||
81 |
%post |
|
413 | 82 |
scrollkeeper-update -q |
83 |
||
84 |
%postun |
|
85 |
scrollkeeper-update -q |
|
372 | 86 |
|
87 |
%files |
|
88 |
%defattr (-, root, root) |
|
89 |
%{_bindir}/* |
|
90 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
91 |
%{_datadir}/omf/zenity |
|
92 |
%{_datadir}/zenity/* |
|
1243 | 93 |
%{_datadir}/gnome/help |
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
94 |
%ifos linux |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
95 |
%{_datadir}/gnome/javahelp |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
96 |
%endif |
2222 | 97 |
%{_mandir}/man1/zenity.1.gz |
372 | 98 |
|
99 |
%changelog |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
100 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
101 |
- Javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
102 |
|
2350 | 103 |
* Mon Mar 29 2004 - [email protected] |
104 |
- Updated l10n content to zenity-l10n-po-1.0.tar.bz2 |
|
105 |
||
2290 | 106 |
* Tue Mar 23 2004 - [email protected] |
107 |
- Bump to 2.6.0 |
|
108 |
||
2234 | 109 |
* Wed Mar 17 2004 - [email protected] |
110 |
- re-autotoolize to pick up fixed glib-gettext macros needed on Solaris |
|
111 |
||
2222 | 112 |
* Tue Mar 15 2004 - [email protected] |
113 |
- Remove man page patch since we do this |
|
114 |
with %files. |
|
115 |
||
1914 | 116 |
* Tue Feb 24 2004 - [email protected] |
117 |
- Update tarball to 2.5.2 |
|
118 |
||
1461 | 119 |
* Wed Dec 17 2003 - [email protected] |
120 |
- Update tarball to 1.7 |
|
121 |
||
1243 | 122 |
* Mon Oct 13 2003 - [email protected] |
123 |
- Update tarball |
|
124 |
||
1028 | 125 |
* Mon Aug 11 2003 - [email protected] |
126 |
- Update tarball |
|
127 |
||
806 | 128 |
* Fri Jul 25 2003 - [email protected] |
129 |
- Requires scrollkeeper for postinstall. Add a dependency |
|
130 |
||
372 | 131 |
* Tue Jul 01 2003 - [email protected] |
132 |
- Initial Sun release |