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