author | dermotm |
Mon, 18 Oct 2004 09:30:38 +0000 | |
changeset 4276 | 2a2c7f354601 |
parent 4265 | 9c26d9ef4f72 |
child 4352 | dc2689982835 |
permissions | -rw-r--r-- |
60 | 1 |
# |
2 |
# spec file for package gnome-utils |
|
3 |
# |
|
601 | 4 |
# Copyright (c) 2003 Sun Microsystems, Inc. |
60 | 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: gnome-utils |
|
11 |
License: GPL |
|
12 |
Group: System/GUI/GNOME |
|
2685 | 13 |
Version: 2.6.2 |
4276 | 14 |
Release: 22 |
1891 | 15 |
Distribution: Cinnabar |
575 | 16 |
Vendor: Sun Microsystems, Inc. |
60 | 17 |
Summary: Basic Utilities for the GNOME 2.0 Desktop |
2318 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-utils/2.6/%{name}-%{version}.tar.bz2 |
4265 | 19 |
Source1: gnome-utils-l10n-po-1.6.tar.bz2 |
3488
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3425
diff
changeset
|
20 |
Source2: gnome-utils_docs-0.4.tar.bz2 |
1458 | 21 |
Source3: gnome-search-tool.1.gz |
22 |
Source4: gfloppy.1.gz |
|
23 |
Source5: gnome-dictionary.1.gz |
|
3734 | 24 |
Source6: gnome-utils-l10n-online-help-ci.tar.bz2 |
1390 | 25 |
Patch1: gnome-utils-01-disable-logview-dictionary.diff |
2318 | 26 |
Patch2: gnome-utils-02-g11n-potfiles.diff |
2692 | 27 |
Patch3: gnome-utils-03-gdict-applet-load.diff |
2871
b96636dee6b1
Updated gnome-utils.spec to include gnome-utils-04-g11n-potfiles.diff.
yk150259
parents:
2777
diff
changeset
|
28 |
Patch4: gnome-utils-04-g11n-potfiles.diff |
3734 | 29 |
Patch5: gnome-utils-05-l10n-online-help.diff |
60 | 30 |
URL: http://www.gnome.org |
31 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
32 |
Docdir: %{_defaultdocdir}/%{name} |
|
229 | 33 |
Autoreqprov: on |
1080 | 34 |
Prereq: scrollkeeper |
229 | 35 |
|
3628 | 36 |
%define glib2_version 2.4.0 |
37 |
%define pango_version 1.4.0 |
|
38 |
%define gtk2_version 2.4.0 |
|
39 |
%define libgnome_version 2.6.0 |
|
40 |
%define libgnomeui_version 2.6.0 |
|
41 |
%define gail_version 1.6.3 |
|
42 |
%define gnome_panel_version 2.6.1 |
|
43 |
%define scrollkeeper_version 0.3.14 |
|
229 | 44 |
|
45 |
Requires: libgnome >= %{libgnome_version} |
|
46 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
995 | 47 |
Requires: scrollkeeper >= %{scrollkeeper_version} |
229 | 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} |
|
1072 | 55 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
229 | 56 |
BuildRequires: e2fsprogs-devel |
2456 | 57 |
BuildRequires: javahelp-convert |
60 | 58 |
|
59 |
%description |
|
365 | 60 |
This package contains some essential utilities for the GNOME2 Desktop. |
60 | 61 |
|
62 |
||
63 |
%prep |
|
64 |
%setup -q |
|
392 | 65 |
%patch1 -p1 |
1891 | 66 |
%patch2 -p1 |
2692 | 67 |
%patch3 -p1 |
2871
b96636dee6b1
Updated gnome-utils.spec to include gnome-utils-04-g11n-potfiles.diff.
yk150259
parents:
2777
diff
changeset
|
68 |
%patch4 -p1 |
3734 | 69 |
%patch5 -p1 |
60 | 70 |
|
1522 | 71 |
bzcat %SOURCE1 | tar xvf - |
72 |
bzcat %SOURCE2 | tar xvf - |
|
1891 | 73 |
bzcat %SOURCE6 | tar xvf - |
1169 | 74 |
|
60 | 75 |
%build |
3263 | 76 |
%ifos linux |
77 |
if [ -x /usr/bin/getconf ]; then |
|
78 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
79 |
fi |
|
80 |
%else |
|
3846 | 81 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 82 |
%endif |
83 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
84 |
CPUS=1 |
|
85 |
fi |
|
86 |
||
385 | 87 |
libtoolize --force |
2157
c8cc82fa8850
* gucharmap.spec: Add ACLOCAL_FLAGS to aclocal call.
dc144907
parents:
1914
diff
changeset
|
88 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
385 | 89 |
automake -a -c -f |
90 |
autoconf |
|
91 |
||
229 | 92 |
CFLAGS="$RPM_OPT_FLAGS" \ |
93 |
./configure \ |
|
94 |
--prefix=%{_prefix} \ |
|
95 |
--sysconfdir=%{_sysconfdir} \ |
|
2157
c8cc82fa8850
* gucharmap.spec: Add ACLOCAL_FLAGS to aclocal call.
dc144907
parents:
1914
diff
changeset
|
96 |
--libexecdir=%{_libexecdir} \ |
3628 | 97 |
--mandir=%{_mandir} \ |
229 | 98 |
--localstatedir=/var/lib |
3263 | 99 |
make -j $CPUS |
60 | 100 |
|
101 |
%install |
|
102 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
103 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
104 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
1522 | 105 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
106 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
107 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
108 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
60 | 109 |
|
1458 | 110 |
#Copy zh_HK from zh_TW |
111 |
#Fixes bug 4930405 |
|
1522 | 112 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
113 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
114 |
|
2524 | 115 |
%ifos linux |
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
116 |
javahelp-convert-install $RPM_BUILD_ROOT gfloppy gfloppy.xml |
2524 | 117 |
%endif |
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
118 |
javahelp-convert-install $RPM_BUILD_ROOT gnome-dictionary gnome-dictionary.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
119 |
javahelp-convert-install $RPM_BUILD_ROOT gnome-search-tool gnome-search-tool.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
120 |
|
229 | 121 |
%clean |
122 |
rm -rf $RPM_BUILD_ROOT |
|
123 |
||
60 | 124 |
%post |
125 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
1891 | 126 |
SCHEMAS=" gdict.schemas gfloppy.schemas gnome-search-tool.schemas" |
60 | 127 |
for S in $SCHEMAS; do |
128 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
129 |
done |
|
527 | 130 |
for i in zh_CN zh_TW ko_KR ja_JP de_DE es_ES fr_FR it_IT sv_SE ; do |
131 |
langtag=$i |
|
132 |
[ ${i:0:2} == "zh" ] || langtag=${i:0:2} |
|
133 |
[ -e %{_datadir}/omf/gnome-utils/gnome-search-tool-$langtag.omf ] && \ |
|
134 |
env LANG=$i LC_ALL=$i scrollkeeper-install -q %{_datadir}/omf/gnome-utils/gnome-search-tool-$langtag.omf |
|
135 |
done |
|
413 | 136 |
scrollkeeper-update -q |
137 |
||
138 |
%postun |
|
527 | 139 |
for i in zh_CN zh_TW ko_KR ja_JP de_DE es_ES fr_FR it_IT sv_SE ; do |
140 |
langtag=$i |
|
141 |
[ ${i:0:2} == "zh" ] || langtag=${i:0:2} |
|
142 |
[ -e %{_datadir}/omf/gnome-utils/gnome-search-tool-$langtag.omf ] && \ |
|
143 |
env LANG=$i LC_ALL=$i scrollkeeper-uninstall -q %{_datadir}/omf/gnome-utils/gnome-search-tool-$langtag.omf |
|
144 |
done |
|
413 | 145 |
scrollkeeper-update -q |
60 | 146 |
|
147 |
%files |
|
148 |
%defattr (-, root, root) |
|
2381 | 149 |
%{_bindir}/* |
150 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
151 |
%{_datadir}/omf/gnome-utils |
|
152 |
%{_datadir}/gnome/help |
|
153 |
%{_datadir}/gnome/javahelp |
|
154 |
%{_datadir}/gnome-2.0/ui/* |
|
155 |
%{_sysconfdir}/gconf/schemas |
|
156 |
%{_libdir}/bonobo |
|
157 |
%{_datadir}/applications |
|
158 |
%{_datadir}/gnome-utils |
|
159 |
%{_libexecdir}/* |
|
160 |
%{_mandir}/man1/* |
|
161 |
%{_datadir}/mime-info/* |
|
60 | 162 |
|
163 |
%changelog |
|
3734 | 164 |
* Wed Aug 25 2004 [email protected] |
165 |
- Updated l10n help contents for Cinnabar with patch |
|
166 |
||
3488
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3425
diff
changeset
|
167 |
* Thu Aug 05 2004 [email protected] |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3425
diff
changeset
|
168 |
- Incorporate new docs tarball from [email protected]. |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3425
diff
changeset
|
169 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
170 |
* 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
|
171 |
- Updated l10n content to gnome-utils-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
|
172 |
|
3263 | 173 |
* Wed Jul 07 2004 - [email protected] |
174 |
- added "-j $CPUS" to make to speed up builds |
|
175 |
||
3051
b2a31638c06a
Incorporate new docs tarball from [email protected].
dc144907
parents:
2958
diff
changeset
|
176 |
* Wed Jun 02 2004 [email protected] |
b2a31638c06a
Incorporate new docs tarball from [email protected].
dc144907
parents:
2958
diff
changeset
|
177 |
- Incorporate new docs tarball from [email protected]. |
b2a31638c06a
Incorporate new docs tarball from [email protected].
dc144907
parents:
2958
diff
changeset
|
178 |
|
2924
c8668f0de5ac
gnome-utils.spec: Incorporate new docs tarball from [email protected]
dc144907
parents:
2871
diff
changeset
|
179 |
* Thu May 27 2004 - [email protected] |
2942
36dd168a11be
* eog.spec, file-roller.spec, gcalctool.spec,gnome-applets.spec,
dc144907
parents:
2924
diff
changeset
|
180 |
- Incorporate new docs tarball from [email protected]. |
2924
c8668f0de5ac
gnome-utils.spec: Incorporate new docs tarball from [email protected]
dc144907
parents:
2871
diff
changeset
|
181 |
|
2871
b96636dee6b1
Updated gnome-utils.spec to include gnome-utils-04-g11n-potfiles.diff.
yk150259
parents:
2777
diff
changeset
|
182 |
* Tue May 25 2004 - [email protected] |
b96636dee6b1
Updated gnome-utils.spec to include gnome-utils-04-g11n-potfiles.diff.
yk150259
parents:
2777
diff
changeset
|
183 |
- Added gnome-utils-04-g11n-potfiles.diff |
b96636dee6b1
Updated gnome-utils.spec to include gnome-utils-04-g11n-potfiles.diff.
yk150259
parents:
2777
diff
changeset
|
184 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2692
diff
changeset
|
185 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2692
diff
changeset
|
186 |
- Updated l10n content to gnome-utils-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2692
diff
changeset
|
187 |
|
2692 | 188 |
* Mon May 10 2004 - [email protected] |
189 |
- added patch gnome-utils-03-gdict-applet-load.diff to fix 5030822. |
|
190 |
||
2685 | 191 |
* Fri May 07 2004 - [email protected] |
192 |
- Bump to 2.6.2 |
|
193 |
||
2548 | 194 |
* Wed Apr 21 2004 - [email protected] |
2524 | 195 |
- disable javahelp conversion of gfloppy docs on Solaris |
196 |
||
2485 | 197 |
* Sun Apr 18 2004 - [email protected] |
198 |
- enable javahelp conversion on Solaris |
|
199 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
200 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
201 |
- javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
202 |
|
2350 | 203 |
* Mon Mar 29 2004 - [email protected] |
204 |
- Updated l10n content to gnome-utils-l10n-po-1.0.tar.bz2 |
|
205 |
||
2318 | 206 |
* Wed Mar 24 2004 - [email protected] |
207 |
- Bump to 2.6.0. Refactor potfiles patch, remove ui |
|
208 |
and man page patches. |
|
209 |
||
2207 | 210 |
* Mon Mar 15 2004 - [email protected] |
211 |
- Added gnome-utils-03-g11n-potfiles.diff |
|
212 |
- Added gnome-utils-04-g11n-i18n-ui.diff to fix 4954404 |
|
213 |
||
1914 | 214 |
* Tue Feb 24 2004 - [email protected] |
215 |
- Dump all Matt's work on the patches since we've |
|
216 |
merged most of them upstream. Some of them don't |
|
217 |
apply to HEAD. |
|
218 |
||
1891 | 219 |
* Mon Feb 23 2004 - [email protected] |
220 |
- Bump to 2.5.2 |
|
221 |
- Remerge patch 01/02 |
|
222 |
- Port patches 03/04/05 |
|
223 |
- Update %files |
|
224 |
||
1522 | 225 |
* Thu Jan 08 2004 - [email protected] |
1502 | 226 |
- Fix incorrect pango version 1.30 -> 1.3.1 |
1891 | 227 |
|
1458 | 228 |
* Wed Dec 17 2003 - [email protected] |
229 |
- Bump to 2.5.0 |
|
230 |
||
1390 | 231 |
* Wed Nov 04 2003 - [email protected] |
232 |
- Remove the dictionary application, but retain |
|
233 |
the applet |
|
234 |
||
1360 | 235 |
* Fri Oct 31 2003 - [email protected] |
236 |
- Remove the Sun Supported keyword from the |
|
237 |
desktop since we're removing Extras menu. |
|
238 |
||
1286 | 239 |
* Sat Oct 18 2003 - [email protected] |
240 |
- update patches |
|
241 |
||
1280 | 242 |
* Sat Oct 18 2003 - [email protected] |
243 |
- update to 2.4.0 |
|
244 |
||
1169 | 245 |
* Fri Sep 26 2003 - [email protected] |
246 |
- integrate Sun docs |
|
247 |
||
1131 | 248 |
* Tue Sep 09 2003 - [email protected] |
249 |
- patch from wipro to stop defunct processes |
|
250 |
||
995 | 251 |
* Thu Aug 07 2003 - [email protected] |
252 |
- added scrollkeeper to base dependencies |
|
253 |
||
613 | 254 |
* Thu Jul 17 2003 - [email protected] |
255 |
- Don't install a non-existant logview schema. |
|
256 |
||
510 | 257 |
* Wed Jul 09 2003 - <[email protected]> |
258 |
- add in sun po files |
|
259 |
||
453 | 260 |
* Mon Jul 07 2003 - [email protected] |
261 |
- Do not install gnome-system-log either |
|
262 |
||
364 | 263 |
* Tue Jul 01 2003 - [email protected] |
392 | 264 |
- Correct gfloppy icon |
265 |
||
266 |
* Tue Jul 01 2003 - [email protected] |
|
383 | 267 |
- Disable gcalc, gcharmap & gdialog from build. |
268 |
||
269 |
* Tue Jul 01 2003 - [email protected] |
|
364 | 270 |
- Update version on tarball |
271 |
||
60 | 272 |
* Tue May 13 2003 - [email protected] |
229 | 273 |
- Initial Sun release |