author | dc144907 |
Tue, 17 Jan 2006 14:25:42 +0000 | |
changeset 6587 | 1ac34d6f9507 |
parent 6568 | 11d5c39713cb |
child 6689 | ccad859aecd3 |
permissions | -rw-r--r-- |
372 | 1 |
# |
2 |
# spec file for package zenity |
|
3 |
# |
|
5518 | 4 |
# Copyright (c) 2005 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 |
Name: zenity |
|
998 | 9 |
License: LGPL |
372 | 10 |
Group: System/GUI/GNOME |
6587
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6568
diff
changeset
|
11 |
Version: 2.13.5 |
5518 | 12 |
Release: 1 |
13 |
Distribution: Java Desktop System |
|
575 | 14 |
Vendor: Sun Microsystems, Inc. |
372 | 15 |
Summary: Show graphical dialog boxes from scripts |
6434 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.13/%{name}-%{version}.tar.bz2 |
5518 | 17 |
Source1: zenity.1.gz |
18 |
Source2: gdialog.1.gz |
|
372 | 19 |
URL: http://www.gnome.org |
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
21 |
Docdir: %{_defaultdocdir}/%{name} |
|
22 |
Autoreqprov: on |
|
23 |
||
1914 | 24 |
%define gtk2_version 2.3.1 |
1243 | 25 |
%define libgnomecanvas_version 2.4.0 |
26 |
%define GConf_version 2.4.0.1 |
|
1914 | 27 |
%define libglade_version 2.3.1 |
372 | 28 |
%define popt_version 1.6.4 |
1243 | 29 |
%define scrollkeeper_version 0.3.12 |
372 | 30 |
|
31 |
Requires: gtk2 >= %{gtk2_version} |
|
32 |
Requires: libgnomecanvas >= %{libgnomecanvas_version} |
|
33 |
Requires: GConf >= %{GConf_version} |
|
34 |
Requires: libglade >= %{libglade_version} |
|
35 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
36 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
37 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
38 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
39 |
BuildRequires: popt-devel >= %{popt_version} |
|
1073 | 40 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
372 | 41 |
|
42 |
%description |
|
43 |
Show graphical dialog boxes from the commandline or through scripts. Zenity is a |
|
44 |
predecessor to dialog. |
|
45 |
||
46 |
%prep |
|
47 |
%setup -q |
|
48 |
||
49 |
%build |
|
3263 | 50 |
%ifos linux |
51 |
if [ -x /usr/bin/getconf ]; then |
|
52 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
53 |
fi |
|
54 |
%else |
|
3846 | 55 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 56 |
%endif |
57 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
58 |
CPUS=1 |
|
59 |
fi |
|
60 |
||
2234 | 61 |
libtoolize --force |
6568
11d5c39713cb
* zenity.spec: Call intltoolize to build correctly.
dc144907
parents:
6564
diff
changeset
|
62 |
intltoolize --copy --force |
5518 | 63 |
aclocal $ACLOCAL_FLAGS |
2234 | 64 |
automake -a -c -f |
65 |
autoconf |
|
372 | 66 |
CFLAGS="$RPM_OPT_FLAGS" \ |
67 |
./configure \ |
|
68 |
--prefix=%{_prefix} \ |
|
69 |
--sysconfdir=%{_sysconfdir} \ |
|
373 | 70 |
--mandir=%{_mandir} |
3263 | 71 |
make -j $CPUS |
372 | 72 |
|
73 |
%install |
|
74 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
1522 | 75 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
5518 | 76 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
77 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
1461 | 78 |
#Copy zh_HK from zh_TW |
79 |
#Fixes bug 4930405 |
|
1522 | 80 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
81 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
372 | 82 |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
83 |
|
5518 | 84 |
#Remove some scrollkeeper files before packaging |
85 |
rm -rf $RPM_BUILD_ROOT/%{_prefix}/var |
|
86 |
||
372 | 87 |
%clean |
88 |
rm -rf $RPM_BUILD_ROOT |
|
89 |
||
90 |
%files |
|
91 |
%defattr (-, root, root) |
|
92 |
%{_bindir}/* |
|
93 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
94 |
%{_datadir}/omf/zenity |
|
95 |
%{_datadir}/zenity/* |
|
1243 | 96 |
%{_datadir}/gnome/help |
3715 | 97 |
%{_mandir}/man1/* |
372 | 98 |
|
99 |
%changelog |
|
6587
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6568
diff
changeset
|
100 |
* Tue Jan 17 2006 - [email protected] |
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6568
diff
changeset
|
101 |
- Bump to 2.13.5 |
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6568
diff
changeset
|
102 |
|
6568
11d5c39713cb
* zenity.spec: Call intltoolize to build correctly.
dc144907
parents:
6564
diff
changeset
|
103 |
* Mon Jan 16 2006 - [email protected] |
11d5c39713cb
* zenity.spec: Call intltoolize to build correctly.
dc144907
parents:
6564
diff
changeset
|
104 |
- Call intltoolize to build correctly. |
11d5c39713cb
* zenity.spec: Call intltoolize to build correctly.
dc144907
parents:
6564
diff
changeset
|
105 |
|
6564
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6434
diff
changeset
|
106 |
* Sun Jan 15 2006 - [email protected] |
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6434
diff
changeset
|
107 |
- Bump to 2.13.4 |
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6434
diff
changeset
|
108 |
|
6434 | 109 |
* Tue Dec 20 2005 - [email protected] |
110 |
- Bump to 2.13.3 |
|
111 |
||
6299 | 112 |
* Tue Nov 29 2005 - laca.com |
113 |
- remove javahelp stuff |
|
114 |
||
6080
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5895
diff
changeset
|
115 |
* Tue Oct 11 2005 - [email protected] |
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5895
diff
changeset
|
116 |
- Bump to 2.12.1 |
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5895
diff
changeset
|
117 |
|
5895 | 118 |
* Sat Sep 17 2005 - [email protected] |
119 |
- Bump to 2.12.0 |
|
120 |
||
5719
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5548
diff
changeset
|
121 |
* Mon Sep 05 2005 - [email protected] |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5548
diff
changeset
|
122 |
- Bump to 2.11.92. |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5548
diff
changeset
|
123 |
|
5548
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
124 |
* Tue Aug 16 2005 - [email protected] |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
125 |
- Bump to 2.11.91. |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
126 |
|
5518 | 127 |
* Fri Jul 01 2005 - [email protected] |
128 |
- Add pkgconfig patch |
|
129 |
||
130 |
* Wed Jun 08 2005 - [email protected] |
|
131 |
- Fix build. remove scrollkeeper files before packageing |
|
132 |
||
133 |
* Tue May 25 2005 - [email protected] |
|
134 |
- Fix build. |
|
135 |
||
136 |
* Thu May 12 2005 - [email protected] |
|
137 |
- Bump to 2.10.0 |
|
138 |
||
5295
0285b58535ed
* bug-buddy.spec, gnome-utils.spec, zenity.spec: Updated docs tarballs
dc144907
parents:
5285
diff
changeset
|
139 |
* Thu Mar 31 2005 - [email protected] |
0285b58535ed
* bug-buddy.spec, gnome-utils.spec, zenity.spec: Updated docs tarballs
dc144907
parents:
5285
diff
changeset
|
140 |
- Updated docs tarball (zenity-docs-0.3linux) from [email protected]. |
0285b58535ed
* bug-buddy.spec, gnome-utils.spec, zenity.spec: Updated docs tarballs
dc144907
parents:
5285
diff
changeset
|
141 |
|
4844 | 142 |
* Fri Jan 14 2005 - [email protected] |
143 |
- Updated l10n help tarball for cinnabar-linux |
|
144 |
||
4352 | 145 |
* Thu Oct 28 2004 - [email protected] |
146 |
- Updated l10n help tarball and added pt_BR |
|
147 |
||
3715 | 148 |
* Tue Aug 24 2004 - [email protected] |
149 |
- fixed man page file list issue |
|
3664
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3580
diff
changeset
|
150 |
* Fri Aug 20 2004 - [email protected] |
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3580
diff
changeset
|
151 |
- 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
|
152 |
|
3488
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
153 |
* Thu Aug 05 2004 - [email protected] |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
154 |
- Integrated docs tarball from [email protected] |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
155 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
156 |
* 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
|
157 |
- 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
|
158 |
|
3263 | 159 |
* Wed Jul 07 2004 - [email protected] |
160 |
- added "-j $CPUS" to make to speed up builds |
|
161 |
||
2996 | 162 |
* Wed Jun 2 2004 - [email protected] |
163 |
- Added %SOURCE1 to install l10n messages |
|
2737 | 164 |
* Wed May 12 2004 - [email protected] |
165 |
- Updated l10n content to zenity-l10n-po-1.1.tar.bz2 |
|
166 |
||
2485 | 167 |
* Sun Apr 18 2004 - [email protected] |
168 |
- enable javahelp conversion on Solaris |
|
169 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
170 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
171 |
- Javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
172 |
|
2350 | 173 |
* Mon Mar 29 2004 - [email protected] |
174 |
- Updated l10n content to zenity-l10n-po-1.0.tar.bz2 |
|
175 |
||
2290 | 176 |
* Tue Mar 23 2004 - [email protected] |
177 |
- Bump to 2.6.0 |
|
178 |
||
2234 | 179 |
* Wed Mar 17 2004 - [email protected] |
180 |
- re-autotoolize to pick up fixed glib-gettext macros needed on Solaris |
|
181 |
||
2222 | 182 |
* Tue Mar 15 2004 - [email protected] |
183 |
- Remove man page patch since we do this |
|
184 |
with %files. |
|
185 |
||
1914 | 186 |
* Tue Feb 24 2004 - [email protected] |
187 |
- Update tarball to 2.5.2 |
|
188 |
||
1461 | 189 |
* Wed Dec 17 2003 - [email protected] |
190 |
- Update tarball to 1.7 |
|
191 |
||
1243 | 192 |
* Mon Oct 13 2003 - [email protected] |
193 |
- Update tarball |
|
194 |
||
1028 | 195 |
* Mon Aug 11 2003 - [email protected] |
196 |
- Update tarball |
|
197 |
||
806 | 198 |
* Fri Jul 25 2003 - [email protected] |
199 |
- Requires scrollkeeper for postinstall. Add a dependency |
|
200 |
||
372 | 201 |
* Tue Jul 01 2003 - [email protected] |
202 |
- Initial Sun release |