author | woos |
Mon, 28 Jun 2004 02:49:14 +0000 | |
changeset 3224 | 8ca3f4526524 |
parent 3120 | cb346324f8c9 |
child 3263 | 3c14210c0b99 |
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 |
3224 | 14 |
Release: 13 |
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 |
2996 | 19 |
Source1: zenity-l10n-po-1.1.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} |
2456 | 45 |
BuildRequires: javahelp-convert |
372 | 46 |
|
47 |
%description |
|
48 |
Show graphical dialog boxes from the commandline or through scripts. Zenity is a |
|
49 |
predecessor to dialog. |
|
50 |
||
51 |
%prep |
|
52 |
%setup -q |
|
53 |
||
2996 | 54 |
bzcat %SOURCE1 | tar xf - |
55 |
||
372 | 56 |
%build |
2234 | 57 |
libtoolize --force |
58 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
59 |
automake -a -c -f |
|
60 |
autoconf |
|
372 | 61 |
CFLAGS="$RPM_OPT_FLAGS" \ |
62 |
./configure \ |
|
63 |
--prefix=%{_prefix} \ |
|
64 |
--sysconfdir=%{_sysconfdir} \ |
|
373 | 65 |
--mandir=%{_mandir} |
372 | 66 |
make |
67 |
||
68 |
%install |
|
69 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
1522 | 70 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
71 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
1461 | 72 |
#Copy zh_HK from zh_TW |
73 |
#Fixes bug 4930405 |
|
1522 | 74 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
75 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
372 | 76 |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
77 |
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
|
78 |
|
372 | 79 |
%clean |
80 |
rm -rf $RPM_BUILD_ROOT |
|
81 |
||
82 |
%post |
|
413 | 83 |
scrollkeeper-update -q |
84 |
||
85 |
%postun |
|
86 |
scrollkeeper-update -q |
|
372 | 87 |
|
88 |
%files |
|
89 |
%defattr (-, root, root) |
|
90 |
%{_bindir}/* |
|
91 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
92 |
%{_datadir}/omf/zenity |
|
93 |
%{_datadir}/zenity/* |
|
1243 | 94 |
%{_datadir}/gnome/help |
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
95 |
%{_datadir}/gnome/javahelp |
2222 | 96 |
%{_mandir}/man1/zenity.1.gz |
372 | 97 |
|
98 |
%changelog |
|
2996 | 99 |
* Wed Jun 2 2004 - [email protected] |
100 |
- Added %SOURCE1 to install l10n messages |
|
2737 | 101 |
* Wed May 12 2004 - [email protected] |
102 |
- Updated l10n content to zenity-l10n-po-1.1.tar.bz2 |
|
103 |
||
2485 | 104 |
* Sun Apr 18 2004 - [email protected] |
105 |
- enable javahelp conversion on Solaris |
|
106 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
107 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
108 |
- Javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
109 |
|
2350 | 110 |
* Mon Mar 29 2004 - [email protected] |
111 |
- Updated l10n content to zenity-l10n-po-1.0.tar.bz2 |
|
112 |
||
2290 | 113 |
* Tue Mar 23 2004 - [email protected] |
114 |
- Bump to 2.6.0 |
|
115 |
||
2234 | 116 |
* Wed Mar 17 2004 - [email protected] |
117 |
- re-autotoolize to pick up fixed glib-gettext macros needed on Solaris |
|
118 |
||
2222 | 119 |
* Tue Mar 15 2004 - [email protected] |
120 |
- Remove man page patch since we do this |
|
121 |
with %files. |
|
122 |
||
1914 | 123 |
* Tue Feb 24 2004 - [email protected] |
124 |
- Update tarball to 2.5.2 |
|
125 |
||
1461 | 126 |
* Wed Dec 17 2003 - [email protected] |
127 |
- Update tarball to 1.7 |
|
128 |
||
1243 | 129 |
* Mon Oct 13 2003 - [email protected] |
130 |
- Update tarball |
|
131 |
||
1028 | 132 |
* Mon Aug 11 2003 - [email protected] |
133 |
- Update tarball |
|
134 |
||
806 | 135 |
* Fri Jul 25 2003 - [email protected] |
136 |
- Requires scrollkeeper for postinstall. Add a dependency |
|
137 |
||
372 | 138 |
* Tue Jul 01 2003 - [email protected] |
139 |
- Initial Sun release |