author | dc144907 |
Fri, 20 Aug 2004 16:03:09 +0000 | |
changeset 3664 | 8cf0c5cfb717 |
parent 3580 | 39da785696b5 |
child 3679 | a83eeeda363e |
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 |
3519 | 14 |
Release: 17 |
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 |
3664
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3580
diff
changeset
|
19 |
Source1: zenity-docs-0.2.tar.bz2 |
3580 | 20 |
Source2: zenity-l10n-po-1.3.tar.bz2 |
3488
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
21 |
Source3: zenity.1.gz |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
22 |
Source4: gdialog.1.gz |
372 | 23 |
URL: http://www.gnome.org |
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
25 |
Docdir: %{_defaultdocdir}/%{name} |
|
26 |
Autoreqprov: on |
|
1080 | 27 |
Prereq: scrollkeeper |
372 | 28 |
|
1914 | 29 |
%define gtk2_version 2.3.1 |
1243 | 30 |
%define libgnomecanvas_version 2.4.0 |
31 |
%define GConf_version 2.4.0.1 |
|
1914 | 32 |
%define libglade_version 2.3.1 |
372 | 33 |
%define popt_version 1.6.4 |
1243 | 34 |
%define scrollkeeper_version 0.3.12 |
372 | 35 |
|
36 |
Requires: gtk2 >= %{gtk2_version} |
|
37 |
Requires: libgnomecanvas >= %{libgnomecanvas_version} |
|
38 |
Requires: GConf >= %{GConf_version} |
|
39 |
Requires: libglade >= %{libglade_version} |
|
806 | 40 |
Requires: scrollkeeper >= %{scrollkeeper_version} |
372 | 41 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
42 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
43 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
44 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
45 |
BuildRequires: popt-devel >= %{popt_version} |
|
1073 | 46 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
2456 | 47 |
BuildRequires: javahelp-convert |
372 | 48 |
|
49 |
%description |
|
50 |
Show graphical dialog boxes from the commandline or through scripts. Zenity is a |
|
51 |
predecessor to dialog. |
|
52 |
||
53 |
%prep |
|
54 |
%setup -q |
|
55 |
||
2996 | 56 |
bzcat %SOURCE1 | tar xf - |
3488
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
57 |
bzcat %SOURCE2 | tar xf - |
2996 | 58 |
|
372 | 59 |
%build |
3263 | 60 |
%ifos linux |
61 |
if [ -x /usr/bin/getconf ]; then |
|
62 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
63 |
fi |
|
64 |
%else |
|
65 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l` |
|
66 |
%endif |
|
67 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
68 |
CPUS=1 |
|
69 |
fi |
|
70 |
||
2234 | 71 |
libtoolize --force |
72 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
73 |
automake -a -c -f |
|
74 |
autoconf |
|
372 | 75 |
CFLAGS="$RPM_OPT_FLAGS" \ |
76 |
./configure \ |
|
77 |
--prefix=%{_prefix} \ |
|
78 |
--sysconfdir=%{_sysconfdir} \ |
|
373 | 79 |
--mandir=%{_mandir} |
3263 | 80 |
make -j $CPUS |
372 | 81 |
|
82 |
%install |
|
83 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
1522 | 84 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
3451
e631547cac6d
I claimed to add this change to CVS on 07/23, really doing it today.
bc99092
parents:
3425
diff
changeset
|
85 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
3488
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
86 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1 |
1461 | 87 |
#Copy zh_HK from zh_TW |
88 |
#Fixes bug 4930405 |
|
1522 | 89 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
90 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
372 | 91 |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
92 |
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
|
93 |
|
372 | 94 |
%clean |
95 |
rm -rf $RPM_BUILD_ROOT |
|
96 |
||
97 |
%post |
|
413 | 98 |
scrollkeeper-update -q |
99 |
||
100 |
%postun |
|
101 |
scrollkeeper-update -q |
|
372 | 102 |
|
103 |
%files |
|
104 |
%defattr (-, root, root) |
|
105 |
%{_bindir}/* |
|
106 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
107 |
%{_datadir}/omf/zenity |
|
108 |
%{_datadir}/zenity/* |
|
1243 | 109 |
%{_datadir}/gnome/help |
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
110 |
%{_datadir}/gnome/javahelp |
2222 | 111 |
%{_mandir}/man1/zenity.1.gz |
372 | 112 |
|
113 |
%changelog |
|
3664
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3580
diff
changeset
|
114 |
* Fri Aug 20 2004 - [email protected] |
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3580
diff
changeset
|
115 |
- Integrated updated docs tarball from [email protected]. |
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3580
diff
changeset
|
116 |
|
3488
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
117 |
* Thu Aug 05 2004 - [email protected] |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
118 |
- Integrated docs tarball from [email protected] |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
119 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
120 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
121 |
- Updated l10n content to zenity-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
122 |
|
3263 | 123 |
* Wed Jul 07 2004 - [email protected] |
124 |
- added "-j $CPUS" to make to speed up builds |
|
125 |
||
2996 | 126 |
* Wed Jun 2 2004 - [email protected] |
127 |
- Added %SOURCE1 to install l10n messages |
|
2737 | 128 |
* Wed May 12 2004 - [email protected] |
129 |
- Updated l10n content to zenity-l10n-po-1.1.tar.bz2 |
|
130 |
||
2485 | 131 |
* Sun Apr 18 2004 - [email protected] |
132 |
- enable javahelp conversion on Solaris |
|
133 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
134 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
135 |
- Javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
136 |
|
2350 | 137 |
* Mon Mar 29 2004 - [email protected] |
138 |
- Updated l10n content to zenity-l10n-po-1.0.tar.bz2 |
|
139 |
||
2290 | 140 |
* Tue Mar 23 2004 - [email protected] |
141 |
- Bump to 2.6.0 |
|
142 |
||
2234 | 143 |
* Wed Mar 17 2004 - [email protected] |
144 |
- re-autotoolize to pick up fixed glib-gettext macros needed on Solaris |
|
145 |
||
2222 | 146 |
* Tue Mar 15 2004 - [email protected] |
147 |
- Remove man page patch since we do this |
|
148 |
with %files. |
|
149 |
||
1914 | 150 |
* Tue Feb 24 2004 - [email protected] |
151 |
- Update tarball to 2.5.2 |
|
152 |
||
1461 | 153 |
* Wed Dec 17 2003 - [email protected] |
154 |
- Update tarball to 1.7 |
|
155 |
||
1243 | 156 |
* Mon Oct 13 2003 - [email protected] |
157 |
- Update tarball |
|
158 |
||
1028 | 159 |
* Mon Aug 11 2003 - [email protected] |
160 |
- Update tarball |
|
161 |
||
806 | 162 |
* Fri Jul 25 2003 - [email protected] |
163 |
- Requires scrollkeeper for postinstall. Add a dependency |
|
164 |
||
372 | 165 |
* Tue Jul 01 2003 - [email protected] |
166 |
- Initial Sun release |