author | dcarbery |
Thu, 30 Aug 2007 11:27:46 +0000 | |
changeset 10407 | 3172f39c4b0b |
parent 10403 | b01a396bfa4d |
child 10463 | 45706b00e849 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package gnome-utils |
|
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 |
# |
|
8 |
# Owner: mattman |
|
9 |
# |
|
10 |
%include l10n.inc |
|
11 |
Name: gnome-utils |
|
12 |
License: GPL |
|
13 |
Group: System/GUI/GNOME |
|
10373 | 14 |
Version: 2.19.91 |
9397 | 15 |
Release: 2 |
16 |
Distribution: Java Desktop System |
|
17 |
Vendor: Sun Microsystems, Inc. |
|
18 |
Summary: Basic Utilities for the GNOME 2.0 Desktop |
|
10324 | 19 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.19/%{name}-%{version}.tar.bz2 |
9400 | 20 |
Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
10033
da533ca4bb34
* base-specs/shared-mime-info.spec : Update patch type for patch 1
mattman
parents:
9744
diff
changeset
|
21 |
# date:2005-05-02 type:bug bugster:6222777 owner:mattman bugzilla:310112 |
9397 | 22 |
Patch1: gnome-utils-01-gfloppy-permission.diff |
23 |
# date:2006-04-05 type:branding owner:gman |
|
24 |
Patch2: gnome-utils-02-gnome-screenshot.diff |
|
25 |
# date:2006-05-03 type:branding owner:gman |
|
26 |
Patch3: gnome-utils-03-search-menu-entry.diff |
|
27 |
# date:2007-02-20 type:bug bugster:6491649,6493325,6522889 owner:lin |
|
28 |
Patch4: gnome-utils-04-logview-plugin.diff |
|
29 |
# date:2006-11-15 owner:calumb bugster:6489289 bugzilla:375684 type:bug |
|
30 |
Patch5: gnome-utils-05-logview-launch-menu-item.diff |
|
31 |
URL: http://www.gnome.org |
|
32 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
33 |
Docdir: %{_defaultdocdir}/%{name} |
|
34 |
Autoreqprov: on |
|
35 |
Prereq: GConf |
|
36 |
||
37 |
%define glib2_version 2.4.0 |
|
38 |
%define pango_version 1.4.0 |
|
39 |
%define gtk2_version 2.4.0 |
|
40 |
%define libgnome_version 2.6.0 |
|
41 |
%define libgnomeui_version 2.6.0 |
|
42 |
%define gail_version 1.6.3 |
|
43 |
%define gnome_panel_version 2.6.1 |
|
44 |
%define scrollkeeper_version 0.3.14 |
|
45 |
||
46 |
Requires: libgnome >= %{libgnome_version} |
|
47 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
48 |
BuildRequires: glib2-devel >= %{glib2_version} |
|
49 |
BuildRequires: pango-devel >= %{pango_version} |
|
50 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
51 |
BuildRequires: libgnome-devel >= %{libgnome_version} |
|
52 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
53 |
BuildRequires: gail-devel >= %{gail_version} |
|
54 |
BuildRequires: gnome-panel >= %{gnome_panel_version} |
|
55 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
|
56 |
BuildRequires: e2fsprogs-devel |
|
57 |
||
58 |
%description |
|
59 |
This package contains some essential utilities for the GNOME2 Desktop. |
|
60 |
||
61 |
||
62 |
%prep |
|
63 |
%setup -q |
|
64 |
%if %build_l10n |
|
9400 | 65 |
bzcat %SOURCE1 | tar xf - |
9397 | 66 |
cd po-sun; make; cd .. |
67 |
%endif |
|
68 |
%patch1 -p1 |
|
69 |
%patch2 -p1 |
|
70 |
%patch3 -p1 |
|
10403 | 71 |
%patch4 -p1 |
9397 | 72 |
%patch5 -p1 |
73 |
||
74 |
%build |
|
75 |
%ifos linux |
|
76 |
if [ -x /usr/bin/getconf ]; then |
|
77 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
78 |
fi |
|
79 |
GREP_COMMAND=/usr/bin/grep |
|
80 |
%else |
|
81 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
82 |
GREP_COMMAND=/usr/xpg4/bin/grep |
|
83 |
%endif |
|
84 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
85 |
CPUS=1 |
|
86 |
fi |
|
87 |
||
88 |
libtoolize --force |
|
10407 | 89 |
intltoolize --force --copy --automake |
9397 | 90 |
aclocal $ACLOCAL_FLAGS |
91 |
automake -a -c -f |
|
92 |
autoconf |
|
93 |
||
94 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
95 |
./configure \ |
|
96 |
--prefix=%{_prefix} \ |
|
97 |
--sysconfdir=%{_sysconfdir} \ |
|
98 |
--libexecdir=%{_libexecdir} \ |
|
99 |
--mandir=%{_mandir} \ |
|
100 |
--disable-scrollkeeper \ |
|
101 |
--disable-static \ |
|
102 |
--enable-shared \ |
|
103 |
--with-grep=$GREP_COMMAND |
|
104 |
make -j $CPUS \ |
|
105 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \ |
|
106 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages |
|
107 |
||
108 |
%install |
|
109 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
110 |
make -i install DESTDIR=$RPM_BUILD_ROOT \ |
|
111 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \ |
|
112 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages |
|
113 |
||
114 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
115 |
||
116 |
#Copy zh_HK from zh_TW |
|
117 |
#Fixes bug 4930405 |
|
118 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
|
119 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
120 |
||
121 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
122 |
||
123 |
%clean |
|
124 |
rm -rf $RPM_BUILD_ROOT |
|
125 |
||
126 |
%post |
|
127 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
128 |
SCHEMAS="gdict.schemas gfloppy.schemas gnome-screenshot.schemas gnome-search-tool.schemas logview.schemas" |
|
129 |
for S in $SCHEMAS; do |
|
130 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
131 |
done |
|
132 |
||
133 |
%files |
|
134 |
%defattr (-, root, root) |
|
135 |
%{_bindir}/* |
|
136 |
%{_libdir}/bonobo/servers/* |
|
137 |
%{_libdir}/lib*.so.* |
|
138 |
%{_libexecdir}/* |
|
139 |
%{_datadir}/applications |
|
140 |
%{_datadir}/gnome/help |
|
141 |
%{_datadir}/gnome-2.0/ui/* |
|
142 |
%{_datadir}/gnome-screenshot/ |
|
143 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
144 |
%{_datadir}/gnome-utils |
|
145 |
%{_datadir}/pixmaps |
|
146 |
%{_datadir}/gnome-dictionary |
|
147 |
%{_datadir}/gnome-system-log |
|
148 |
%{_datadir}/gdict-1.0 |
|
149 |
%{_datadir}/omf |
|
150 |
%{_mandir}/man1/* |
|
151 |
%{_sysconfdir}/gconf/schemas |
|
152 |
#FIXME: -devel subpkg? |
|
153 |
%{_includedir}/* |
|
154 |
%{_datadir}/gtk-doc |
|
155 |
%{_libdir}/pkgconfig |
|
156 |
||
157 |
%changelog |
|
10407 | 158 |
* Thu Aug 30 2007 - [email protected] |
159 |
- Add intltoolize call to update intltool scripts. |
|
160 |
||
10373 | 161 |
* Mon Aug 27 2007 - [email protected] |
162 |
- Bump to 2.19.91. Remove upstream patch, gnome-menus-05-iconv-solaris.diff. |
|
163 |
||
10342 | 164 |
* Thu Aug 16 2007 - [email protected] |
165 |
- Add patch gnome-menus-05-iconv-solaris to fix #467309. Modify |
|
166 |
intltool-merge.in to allow use of non-GNU iconv. |
|
167 |
||
10324 | 168 |
* Wed Aug 15 2007 - [email protected] |
169 |
- Bump to 2.19.90. |
|
170 |
||
9744 | 171 |
* Mon Mar 16 2007 - [email protected] |
172 |
- Bump to 2.18.1. |
|
173 |
||
9519 | 174 |
* Mon Mar 12 2007 - [email protected] |
175 |
- Bump to 2.18.0. |
|
176 |
||
9397 | 177 |
* Wed Feb 21 2007 - [email protected] |
178 |
- Updated gnome-utils-04-logview-plugin.diff for bug 6522889. |
|
179 |
||
180 |
* Tue Feb 13 2007 - [email protected] |
|
181 |
- Bump to 2.17.92. |
|
182 |
||
183 |
* Thu Jan 25 2007 - [email protected] |
|
184 |
- Remove -f from rm calls. Will highlight module changes. Remove deletion of |
|
185 |
scrollkeeper and *.a files - they aren't installed. |
|
186 |
||
187 |
* Wed Jan 24 2007 - [email protected] |
|
188 |
- Bump to 2.17.91. |
|
189 |
||
190 |
* Tue Jan 24 2007 - [email protected] |
|
191 |
- Updated gnome-utils-04-logview-plugin.diff |
|
192 |
||
193 |
* Tue Jan 23 2007 - [email protected] |
|
194 |
- Bump to 2.17.90. Comment out patch4 as it needs rework, ask owner to fix. |
|
195 |
||
196 |
* Tue Jan 28 2007 - [email protected] |
|
197 |
- Add l10n tarball. |
|
198 |
||
199 |
* Tue Jan 10 2007 - [email protected] |
|
200 |
- Updated gnome-utils-04-logview-plugin.diff |
|
201 |
||
202 |
* Tue Jan 09 2007 - [email protected] |
|
203 |
- Bump to 2.17.1. Comment out patch4 as it needs rework, ask patch owner to fix. |
|
204 |
||
205 |
* Wed Nov 22 2006 - [email protected] |
|
206 |
- Bump to 2.17.0. |
|
207 |
||
208 |
* Wed Nov 15 2006 - [email protected] |
|
209 |
- Tweak menu item name to match latest UI spec. |
|
210 |
||
211 |
* Mon Nov 13 2006 - [email protected] |
|
212 |
- Change the name the 4th patch due to plugin integration. |
|
213 |
pass --disable-static and --enable-shared to configure. |
|
214 |
* Mon Nov 06 2006 - [email protected] |
|
215 |
- Bump to 2.16.2. Remove upstream patch, 05-dictionary-multihead.. |
|
216 |
* Mon Oct 16 2006 - [email protected] |
|
217 |
- Remove the '-f' from the 'rm *.la *.a' lines so that any changes to the |
|
218 |
module source will be seen as a build error and action can be taken. |
|
219 |
* Fri Oct 11 2006 - [email protected] |
|
220 |
- Add patch to fix multihead issues. Bugzilla #361856. |
|
221 |
* Tue Oct 03 2006 - [email protected] |
|
222 |
- Bump to 2.16.1. |
|
223 |
* Mon Sep 04 2006 - [email protected] |
|
224 |
- Bump to 2.16.0. |
|
225 |
* Fri Aug 25 2006 - [email protected] |
|
226 |
- Bump to 2.15.94. |
|
227 |
* Wed Aug 23 2006 - [email protected] |
|
228 |
- Added '--with-grep' option. Fix bug 6453845. |
|
229 |
* Mon Aug 21 2006 - [email protected] |
|
230 |
- Bump to 2.15.93. |
|
231 |
* Wed Aug 09 2006 - [email protected] |
|
232 |
- Bump to 2.15.92. |
|
233 |
* Tue Aug 08 2006 - [email protected] |
|
234 |
- Bump to 2.15.91. |
|
235 |
* Tue Jul 25 2006 - [email protected] |
|
236 |
- Remove upstream patches, 01-logview.diff and 04-gnome-dictionary. |
|
237 |
* Mon Jul 24 2006 - [email protected] |
|
238 |
- Bump to 2.15.90. |
|
239 |
* Wed May 05 2006 - [email protected] |
|
240 |
- Add patch to call things 'Find Files...' |
|
241 |
* Fri Apr 21 2006 - [email protected] |
|
242 |
- Add patch 4 to correct a core dumping problem with gnome-dictionary, |
|
243 |
printing a NULL string. |
|
244 |
* Mon Mar 13 2006 - [email protected] |
|
245 |
- Bump to 2.14.0. |
|
246 |
* Sun Mar 5 2006 - [email protected] |
|
247 |
- Bump to 2.13.95. |
|
248 |
* Fri Feb 24 2006 - [email protected] |
|
249 |
- Bump to 2.13.93. |
|
250 |
* Mon Feb 13 2006 - [email protected] |
|
251 |
- Bump to 2.13.92. |
|
252 |
* Mon Jan 30 2006 - [email protected] |
|
253 |
- Bump to 2.13.91. |
|
254 |
* Tue Jan 17 2006 - [email protected] |
|
255 |
- Bump to 2.13.5 |
|
256 |
* Sun Jan 15 2006 - [email protected] |
|
257 |
- Bump to 2.13.4 |
|
258 |
* Tue Dec 20 2005 - [email protected] |
|
259 |
- Bump to 2.13.3. |
|
260 |
* Tue Nov 29 2005 - laca.com |
|
261 |
- remove javahelp stuff |
|
262 |
* Tue Nov 29 2005 - [email protected] |
|
263 |
- Bump to 2.12.2. |
|
264 |
* Tue Oct 11 2005 - [email protected] |
|
265 |
- Bump to 2.12.1 |
|
266 |
- Remove javahelp code. No longer used. |
|
267 |
* Sat Sep 17 2005 - [email protected] |
|
268 |
- Bump to 2.12.0 |
|
269 |
* Mon Sep 05 2005 - [email protected] |
|
270 |
- Bump to 2.11.92. |
|
271 |
* Mon Aug 15 2005 - [email protected] |
|
272 |
- Bump to 2.11.91. |
|
273 |
* Thu Aug 04 2005 - [email protected] |
|
274 |
- remove upstream patch searchtool-ceasing.diff |
|
275 |
* Mon May 23 2005 - [email protected] |
|
276 |
- Move the screenshot stuff here |
|
277 |
* Wed May 18 2005 - [email protected] |
|
278 |
- Updated l10n help patch to add gfloppy help file |
|
279 |
* Wed May 11 2005 - [email protected] |
|
280 |
- Bump to 2.10.1 |
|
281 |
* Fri May 06 2005 - [email protected] |
|
282 |
- Added patch gnome-utils-10-searchtool-ceasing.diff to fix searchtool ceasing |
|
283 |
to search after entering a regular expression. Fixes #6262944. |
|
284 |
* Mon May 02 2005 - [email protected] |
|
285 |
- Added patch gnome-utils-09-gfloppy-permission.diff to fix 6222777. |
|
286 |
* Fri Apr 22 2005 - [email protected] |
|
287 |
- Updated docs tarball (gnome-utils_docs-0.9linux) from [email protected]. |
|
288 |
* Tue Apr 05 2005 - [email protected] |
|
289 |
- Updated docs tarball (gnome-utils_docs-0.8linux) from [email protected]. |
|
290 |
* Thu Mar 31 2005 - [email protected] |
|
291 |
- Updated docs tarball (gnome-utils_docs-0.7linux) from [email protected]. |
|
292 |
* Wed Mar 16 2005 - [email protected] |
|
293 |
- Added patch which fixes the issue of opening a directory in nautilus |
|
294 |
when double clicked in case of multihead. Fixes #6234957. |
|
295 |
* Wed Feb 28 2005 - [email protected] |
|
296 |
- Update docs with tarball (_docs-0.6linux) from [email protected]. |
|
297 |
* Fri Feb 11 2005 - [email protected] |
|
298 |
- Added patch to correct the behaviour of searchtool with |
|
299 |
regular expressions involving '?'.Fixes #6227053. |
|
300 |
* Thu Feb 10 2005 - [email protected] |
|
301 |
- Add patch to fix gdict tooltip. Fixes #4918783. |
|
302 |
* Wed Jan 26 2005 - [email protected] |
|
303 |
- Update docs with Linux specific tarball from [email protected]. |
|
304 |
* Fri Jan 14 2005 - [email protected] |
|
305 |
- Updated l10n help tarball for cinnabar-linux |
|
306 |
* Fri Nov 12 2004 - [email protected] |
|
307 |
- Updated l10n help tarball and patch |
|
308 |
* Thu Oct 28 2004 - [email protected] |
|
309 |
- Updated l10n help tarball and added pt_BR |
|
310 |
* Wed Aug 25 2004 [email protected] |
|
311 |
- Updated l10n help contents for Cinnabar with patch |
|
312 |
* Thu Aug 05 2004 [email protected] |
|
313 |
- Incorporate new docs tarball from [email protected]. |
|
314 |
* Thu Jul 08 2004 - [email protected] |
|
315 |
- Updated l10n content to gnome-utils-l10n-po-1.2.tar.bz2 |
|
316 |
* Wed Jul 07 2004 - [email protected] |
|
317 |
- added "-j $CPUS" to make to speed up builds |
|
318 |
* Wed Jun 02 2004 [email protected] |
|
319 |
- Incorporate new docs tarball from [email protected]. |
|
320 |
* Thu May 27 2004 - [email protected] |
|
321 |
- Incorporate new docs tarball from [email protected]. |
|
322 |
* Tue May 25 2004 - [email protected] |
|
323 |
- Added gnome-utils-04-g11n-potfiles.diff |
|
324 |
* Wed May 12 2004 - [email protected] |
|
325 |
- Updated l10n content to gnome-utils-l10n-po-1.1.tar.bz2 |
|
326 |
* Mon May 10 2004 - [email protected] |
|
327 |
- added patch gnome-utils-03-gdict-applet-load.diff to fix 5030822. |
|
328 |
* Fri May 07 2004 - [email protected] |
|
329 |
- Bump to 2.6.2 |
|
330 |
* Wed Apr 21 2004 - [email protected] |
|
331 |
- disable javahelp conversion of gfloppy docs on Solaris |
|
332 |
* Sun Apr 18 2004 - [email protected] |
|
333 |
- enable javahelp conversion on Solaris |
|
334 |
* Thu Apr 01 2004 - [email protected] |
|
335 |
- javahelp conversion |
|
336 |
* Mon Mar 29 2004 - [email protected] |
|
337 |
- Updated l10n content to gnome-utils-l10n-po-1.0.tar.bz2 |
|
338 |
* Wed Mar 24 2004 - [email protected] |
|
339 |
- Bump to 2.6.0. Refactor potfiles patch, remove ui |
|
340 |
and man page patches. |
|
341 |
* Mon Mar 15 2004 - [email protected] |
|
342 |
- Added gnome-utils-03-g11n-potfiles.diff |
|
343 |
- Added gnome-utils-04-g11n-i18n-ui.diff to fix 4954404 |
|
344 |
* Tue Feb 24 2004 - [email protected] |
|
345 |
- Dump all Matt's work on the patches since we've |
|
346 |
merged most of them upstream. Some of them don't |
|
347 |
apply to HEAD. |
|
348 |
* Mon Feb 23 2004 - [email protected] |
|
349 |
- Bump to 2.5.2 |
|
350 |
- Remerge patch 01/02 |
|
351 |
- Port patches 03/04/05 |
|
352 |
- Update %files |
|
353 |
* Thu Jan 08 2004 - [email protected] |
|
354 |
- Fix incorrect pango version 1.30 -> 1.3.1 |
|
355 |
* Wed Dec 17 2003 - [email protected] |
|
356 |
- Bump to 2.5.0 |
|
357 |
* Wed Nov 04 2003 - [email protected] |
|
358 |
- Remove the dictionary application, but retain |
|
359 |
the applet |
|
360 |
* Fri Oct 31 2003 - [email protected] |
|
361 |
- Remove the Sun Supported keyword from the |
|
362 |
desktop since we're removing Extras menu. |
|
363 |
* Sat Oct 18 2003 - [email protected] |
|
364 |
- update patches |
|
365 |
* Sat Oct 18 2003 - [email protected] |
|
366 |
- update to 2.4.0 |
|
367 |
* Fri Sep 26 2003 - [email protected] |
|
368 |
- integrate Sun docs |
|
369 |
* Tue Sep 09 2003 - [email protected] |
|
370 |
- patch from wipro to stop defunct processes |
|
371 |
* Thu Aug 07 2003 - [email protected] |
|
372 |
- added scrollkeeper to base dependencies |
|
373 |
* Thu Jul 17 2003 - [email protected] |
|
374 |
- Don't install a non-existant logview schema. |
|
375 |
* Wed Jul 09 2003 - <[email protected]> |
|
376 |
- add in sun po files |
|
377 |
* Mon Jul 07 2003 - [email protected] |
|
378 |
- Do not install gnome-system-log either |
|
379 |
* Tue Jul 01 2003 - [email protected] |
|
380 |
- Correct gfloppy icon |
|
381 |
* Tue Jul 01 2003 - [email protected] |
|
382 |
- Disable gcalc, gcharmap & gdialog from build. |
|
383 |
* Tue Jul 01 2003 - [email protected] |
|
384 |
- Update version on tarball |
|
385 |
* Tue May 13 2003 - [email protected] |
|
386 |
- Initial Sun release |