author | gman |
Thu, 30 Sep 2010 21:37:28 +0000 | |
branch | gnome-2-30 |
changeset 20130 | c7dfc176dcbd |
parent 17865 | b7ff02e93f66 |
child 18204 | c9e409e2b417 |
child 21801 | 125622840c79 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package zenity |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
16434 | 8 |
%define owner migi |
9397 | 9 |
# |
16427 | 10 |
|
17852 | 11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16427 | 12 |
|
9397 | 13 |
Name: zenity |
14 |
License: LGPL |
|
15 |
Group: System/GUI/GNOME |
|
17781 | 16 |
Version: 2.30.0 |
9397 | 17 |
Release: 1 |
18 |
Distribution: Java Desktop System |
|
17865 | 19 |
Vendor: Gnome Community |
9397 | 20 |
Summary: Show graphical dialog boxes from scripts |
17781 | 21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.30/%{name}-%{version}.tar.bz2 |
12031 | 22 |
%if %build_l10n |
23 |
Source1: l10n-configure.sh |
|
24 |
%endif |
|
17827 | 25 |
# date:2010-04-12 owner:migi type:bug bugster:6759741 bugzilla:615527 |
26 |
Patch1: zenity-01-windowid.diff |
|
9397 | 27 |
URL: http://www.gnome.org |
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
29 |
Docdir: %{_defaultdocdir}/%{name} |
|
30 |
Autoreqprov: on |
|
31 |
||
32 |
%define gtk2_version 2.3.1 |
|
33 |
%define libgnomecanvas_version 2.4.0 |
|
34 |
%define GConf_version 2.4.0.1 |
|
35 |
%define libglade_version 2.3.1 |
|
36 |
%define popt_version 1.6.4 |
|
37 |
%define scrollkeeper_version 0.3.12 |
|
38 |
||
39 |
Requires: gtk2 >= %{gtk2_version} |
|
40 |
Requires: libgnomecanvas >= %{libgnomecanvas_version} |
|
41 |
Requires: GConf >= %{GConf_version} |
|
42 |
Requires: libglade >= %{libglade_version} |
|
43 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
44 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
45 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
46 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
47 |
BuildRequires: popt-devel >= %{popt_version} |
|
48 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
|
49 |
||
50 |
%description |
|
51 |
Show graphical dialog boxes from the commandline or through scripts. Zenity is a |
|
52 |
predecessor to dialog. |
|
53 |
||
54 |
%prep |
|
55 |
%setup -q |
|
17827 | 56 |
%patch1 -p1 |
9397 | 57 |
|
58 |
%build |
|
59 |
%ifos linux |
|
60 |
if [ -x /usr/bin/getconf ]; then |
|
61 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
62 |
fi |
|
63 |
%else |
|
64 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
65 |
%endif |
|
66 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
67 |
CPUS=1 |
|
68 |
fi |
|
69 |
||
70 |
libtoolize --force |
|
71 |
intltoolize --copy --force |
|
12031 | 72 |
|
73 |
%if %build_l10n |
|
74 |
bash -x %SOURCE1 --enable-copyright |
|
75 |
%endif |
|
76 |
||
9397 | 77 |
aclocal $ACLOCAL_FLAGS |
78 |
automake -a -c -f |
|
79 |
autoconf |
|
80 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
81 |
./configure \ |
|
82 |
--prefix=%{_prefix} \ |
|
83 |
--sysconfdir=%{_sysconfdir} \ |
|
84 |
--mandir=%{_mandir} \ |
|
85 |
--localstatedir=%{_localstatedir} \ |
|
86 |
--disable-scrollkeeper |
|
87 |
make -j $CPUS |
|
88 |
||
89 |
%install |
|
90 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
91 |
#Copy zh_HK from zh_TW |
|
92 |
#Fixes bug 4930405 |
|
93 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
|
94 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
95 |
||
96 |
||
97 |
#Remove some scrollkeeper files before packaging |
|
98 |
rm -rf $RPM_BUILD_ROOT/%{_prefix}/var |
|
99 |
||
100 |
%clean |
|
101 |
rm -rf $RPM_BUILD_ROOT |
|
102 |
||
103 |
%files |
|
104 |
%defattr (-, root, root) |
|
105 |
%{_bindir}/* |
|
106 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
107 |
%{_datadir}/omf/zenity |
|
108 |
%{_datadir}/zenity/* |
|
109 |
%{_datadir}/gnome/help |
|
110 |
%{_mandir}/man1/* |
|
111 |
||
112 |
%changelog |
|
17827 | 113 |
* Mon Apr 12 2010 - [email protected] |
114 |
- Added patch zenity-01-windowid.diff |
|
115 |
bugster:6610215 bugzilla:493751 |
|
17781 | 116 |
* Tue Mar 30 2010 - [email protected] |
117 |
- Bump to 2.30.0. |
|
16650 | 118 |
* Wed Sep 23 2009 - [email protected] |
119 |
- Bump to 2.28.0 |
|
16237 | 120 |
* Tue Aug 11 2009 - [email protected] |
121 |
- Bump to 2.27.90. |
|
122 |
- Remove zenity-01-hide-text.diff and zenity-02-focus-on-map.diff, upstreamed. |
|
15413 | 123 |
* Tue Mar 17 2009 - [email protected] |
124 |
- Bump to 2.26.0 |
|
14945 | 125 |
* Tue Jan 20 2009 - [email protected] |
126 |
- Bump to 2.24.1. |
|
14868
0aa14011a783
* base-specs/zenity.spec: Fix bugster:6757658 / bugzilla:561131,
mattman
parents:
13831
diff
changeset
|
127 |
* Wed Jan 07 2009 - [email protected] |
0aa14011a783
* base-specs/zenity.spec: Fix bugster:6757658 / bugzilla:561131,
mattman
parents:
13831
diff
changeset
|
128 |
- Add patch to fix focus-on-map bug : 6757658 / bugzilla : 561131 |
13736 | 129 |
* Wed Sep 24 2008 - [email protected] |
130 |
- Bump to 2.24.0. |
|
13280
3651cce0f5d5
* base-specs/zenity.spec : Add minor patch to fix CLI --help-entry output
mattman
parents:
12688
diff
changeset
|
131 |
* Tue Aug 26 2008 - [email protected] |
3651cce0f5d5
* base-specs/zenity.spec : Add minor patch to fix CLI --help-entry output
mattman
parents:
12688
diff
changeset
|
132 |
- Add patch for minor --help-text fix for hide-entry |
12688 | 133 |
* Tue Jun 17 2008 - [email protected] |
134 |
- Bump to 2.23.3.1. |
|
12571 | 135 |
* Tue Jun 03 2008 - [email protected] |
136 |
- Bump to 2.23.2. |
|
12518 | 137 |
* Wed May 28 2008 - [email protected] |
138 |
- Bump to 2.23.1. |
|
12071 | 139 |
* Wed Apr 09 2008 - [email protected] |
140 |
- Bump to 2.22.1. |
|
11829 | 141 |
* Mon Mar 10 2008 - [email protected] |
142 |
- Bump to 2.22.0. |
|
11725 | 143 |
* Tue Feb 26 2008 - [email protected] |
144 |
- Bump to 2.21.1. |
|
11247 | 145 |
* Tue Nov 27 2007 - [email protected] |
146 |
- Bump to 2.20.1. |
|
10522 | 147 |
* Wed Sep 19 2007 - [email protected] |
148 |
- Bump to 2.20.0. |
|
10327 | 149 |
* Wed Aug 15 2007 - [email protected] |
150 |
- Bump to 2.19.2. |
|
9909 | 151 |
* Wed May 16 2007 - [email protected] |
152 |
- Bump to 2.19.1. |
|
9731 | 153 |
* Thu Apr 12 2007 - [email protected] |
154 |
- Bump to 2.18.1. |
|
9519 | 155 |
* Mon Mar 12 2007 - [email protected] |
156 |
- Bump to 2.18.0. |
|
9457 | 157 |
* Tue Mar 06 2005 - [email protected] |
158 |
- Bump to 2.17.92. |
|
9397 | 159 |
* Tue Feb 13 2007 - [email protected] |
160 |
- Bump to 2.17.91. |
|
161 |
* Mon Jan 22 2007 - [email protected] |
|
162 |
- Bump to 2.17.90. |
|
163 |
* Tue Jan 09 2007 - [email protected] |
|
164 |
- Bump to 2.17.3. |
|
165 |
* Tue Dec 19 2006 - [email protected] |
|
166 |
- Bump to 2.17.2. |
|
167 |
* Tue Dec 05 2006 - [email protected] |
|
168 |
- Bump to 2.17.1. Remove upstream 01-commandline. |
|
169 |
* Mon Nov 27 2006 - [email protected] |
|
170 |
- Bump to 2.16.2. |
|
171 |
* Tue Oct 03 2006 - [email protected] |
|
172 |
- Bump to 2.16.1. |
|
173 |
* Mon Sep 04 2006 - [email protected] |
|
174 |
- Bump to 2.16.0. |
|
175 |
* Tue Aug 29 2006 - [email protected] |
|
176 |
- Add simple commandline patch to clean things |
|
177 |
up a little - #353320. |
|
178 |
* Mon Aug 21 2006 - [email protected] |
|
179 |
- Bump to 2.15.92. |
|
180 |
* Tue Aug 08 2006 - [email protected] |
|
181 |
- Bump to 2.15.91. |
|
182 |
* Mon Jul 31 2006 - [email protected] |
|
183 |
- Bump to 2.15.90. |
|
184 |
* Sun Jul 23 2006 - [email protected] |
|
185 |
- Bump to 2.15.2 |
|
186 |
* Mon Jul 10 2006 - [email protected] |
|
187 |
- Bump to 2.14.2. |
|
188 |
* Tue Apr 11 2006 - [email protected] |
|
189 |
- Bump to 2.14.1. |
|
190 |
* Tue Mar 14 2006 - [email protected] |
|
191 |
- Bump to 2.14.0. |
|
192 |
* Tue Jan 17 2006 - [email protected] |
|
193 |
- Bump to 2.13.5 |
|
194 |
* Mon Jan 16 2006 - [email protected] |
|
195 |
- Call intltoolize to build correctly. |
|
196 |
* Sun Jan 15 2006 - [email protected] |
|
197 |
- Bump to 2.13.4 |
|
198 |
* Tue Dec 20 2005 - [email protected] |
|
199 |
- Bump to 2.13.3 |
|
200 |
* Tue Nov 29 2005 - laca.com |
|
201 |
- remove javahelp stuff |
|
202 |
* Tue Oct 11 2005 - [email protected] |
|
203 |
- Bump to 2.12.1 |
|
204 |
* Sat Sep 17 2005 - [email protected] |
|
205 |
- Bump to 2.12.0 |
|
206 |
* Mon Sep 05 2005 - [email protected] |
|
207 |
- Bump to 2.11.92. |
|
208 |
* Tue Aug 16 2005 - [email protected] |
|
209 |
- Bump to 2.11.91. |
|
210 |
* Fri Jul 01 2005 - [email protected] |
|
211 |
- Add pkgconfig patch |
|
212 |
* Wed Jun 08 2005 - [email protected] |
|
213 |
- Fix build. remove scrollkeeper files before packageing |
|
214 |
* Tue May 25 2005 - [email protected] |
|
215 |
- Fix build. |
|
216 |
* Thu May 12 2005 - [email protected] |
|
217 |
- Bump to 2.10.0 |
|
218 |
* Thu Mar 31 2005 - [email protected] |
|
219 |
- Updated docs tarball (zenity-docs-0.3linux) from [email protected]. |
|
220 |
* Fri Jan 14 2005 - [email protected] |
|
221 |
- Updated l10n help tarball for cinnabar-linux |
|
222 |
* Thu Oct 28 2004 - [email protected] |
|
223 |
- Updated l10n help tarball and added pt_BR |
|
224 |
* Tue Aug 24 2004 - [email protected] |
|
225 |
- fixed man page file list issue |
|
226 |
* Fri Aug 20 2004 - [email protected] |
|
227 |
- Integrated updated docs tarball from [email protected]. |
|
228 |
* Thu Aug 05 2004 - [email protected] |
|
229 |
- Integrated docs tarball from [email protected] |
|
230 |
* Thu Jul 08 2004 - [email protected] |
|
231 |
- Updated l10n content to zenity-l10n-po-1.2.tar.bz2 |
|
232 |
* Wed Jul 07 2004 - [email protected] |
|
233 |
- added "-j $CPUS" to make to speed up builds |
|
234 |
* Wed Jun 2 2004 - [email protected] |
|
235 |
- Added %SOURCE1 to install l10n messages |
|
236 |
* Wed May 12 2004 - [email protected] |
|
237 |
- Updated l10n content to zenity-l10n-po-1.1.tar.bz2 |
|
238 |
* Sun Apr 18 2004 - [email protected] |
|
239 |
- enable javahelp conversion on Solaris |
|
240 |
* Thu Apr 01 2004 - [email protected] |
|
241 |
- Javahelp conversion |
|
242 |
* Mon Mar 29 2004 - [email protected] |
|
243 |
- Updated l10n content to zenity-l10n-po-1.0.tar.bz2 |
|
244 |
* Tue Mar 23 2004 - [email protected] |
|
245 |
- Bump to 2.6.0 |
|
246 |
* Wed Mar 17 2004 - [email protected] |
|
247 |
- re-autotoolize to pick up fixed glib-gettext macros needed on Solaris |
|
248 |
* Tue Mar 15 2004 - [email protected] |
|
249 |
- Remove man page patch since we do this |
|
250 |
with %files. |
|
251 |
* Tue Feb 24 2004 - [email protected] |
|
252 |
- Update tarball to 2.5.2 |
|
253 |
* Wed Dec 17 2003 - [email protected] |
|
254 |
- Update tarball to 1.7 |
|
255 |
* Mon Oct 13 2003 - [email protected] |
|
256 |
- Update tarball |
|
257 |
* Mon Aug 11 2003 - [email protected] |
|
258 |
- Update tarball |
|
259 |
* Fri Jul 25 2003 - [email protected] |
|
260 |
- Requires scrollkeeper for postinstall. Add a dependency |
|
261 |
* Tue Jul 01 2003 - [email protected] |
|
262 |
- Initial Sun release |