author | dcarbery |
Mon, 23 Oct 2006 12:46:17 +0000 | |
branch | gnome-2-14 |
changeset 19195 | 352a4716f1f3 |
parent 7279 | e6d86084bb59 |
child 7697 | 7c2b42e72181 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package libgnome |
|
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 |
# |
|
37 | 8 |
Name: libgnome |
9 |
License: LGPL |
|
150 | 10 |
Group: System/Libraries/GNOME |
7042 | 11 |
Version: 2.14.1 |
7279 | 12 |
Release: 5 |
5518 | 13 |
Distribution: Java Desktop System |
575 | 14 |
Vendor: Sun Microsystems, Inc. |
150 | 15 |
Summary: GNOME Base Library |
6917 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libgnome/2.14/libgnome-%{version}.tar.bz2 |
5518 | 17 |
Source1: gnome-open.1.gz |
18 |
Source2: libgnome-2.3.gz |
|
1434 | 19 |
Patch1: libgnome-01-default-background.diff |
20 |
Patch2: libgnome-02-default-theme.diff |
|
21 |
Patch3: libgnome-03-lockdown-schemas.diff |
|
5518 | 22 |
Patch4: libgnome-04-input-method-status-style.diff |
150 | 23 |
URL: http://www.gnome.org |
37 | 24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
150 | 25 |
Docdir: %{_defaultdocdir}/doc |
26 |
Autoreqprov: on |
|
1080 | 27 |
Prereq: /sbin/ldconfig |
150 | 28 |
|
3628 | 29 |
%define GConf_version 2.6.1 |
30 |
%define gnome_vfs_version 2.6.0 |
|
2402 | 31 |
%define libbonobo_version 2.6.0 |
3628 | 32 |
%define libxslt_version 1.1.2 |
33 |
%define audiofile_version 0.2.5 |
|
34 |
%define esound_version 0.2.33 |
|
1215 | 35 |
%define gtk_doc_version 1.1 |
3628 | 36 |
%define popt_version 1.7 |
195 | 37 |
|
38 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
39 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
40 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
41 |
BuildRequires: libxslt-devel >= %{libxslt_version} |
|
42 |
BuildRequires: esound-devel >= %{esound_version} |
|
3628 | 43 |
# Audio file header files are include in base pkg in SuSE 9.1 |
44 |
BuildRequires: audiofile >= %{audiofile_version} |
|
195 | 45 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
46 |
BuildRequires: popt-devel >= %{popt_version} |
|
47 |
Requires: GConf >= %{GConf_version} |
|
48 |
Requires: libbonobo >= %{libbonobo_version} |
|
49 |
Requires: esound >= %{esound_version} |
|
50 |
Requires: audiofile >= %{audiofile_version} |
|
51 |
Requires: libxslt >= %{libxslt_version} |
|
37 | 52 |
|
53 |
%description |
|
150 | 54 |
libgnome is one of the base GNOME libraries, containing convenient API for |
55 |
configuration, help, initialization and web links, all specific to the |
|
56 |
GNOME desktop. |
|
57 |
||
58 |
%package devel |
|
152 | 59 |
Summary: GNOME Base Development Library |
150 | 60 |
Group: Development/Libraries/GNOME |
61 |
Requires: %name = %version-%release |
|
195 | 62 |
Requires: popt-devel >= %{popt_version} |
63 |
Requires: libbonobo-devel >= %{libbonobo_version} |
|
150 | 64 |
|
65 |
%description devel |
|
66 |
libgnome is one of the base GNOME libraries, containing convenient API for |
|
67 |
configuration, help, initialization and web links, all specific to the |
|
68 |
GNOME desktop. |
|
37 | 69 |
|
70 |
%prep |
|
1434 | 71 |
%setup -q |
72 |
%patch1 -p1 |
|
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
73 |
%patch2 -p1 |
1120
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
74 |
%patch3 -p1 |
1321 | 75 |
%patch4 -p1 |
4455 | 76 |
|
37 | 77 |
%build |
3263 | 78 |
%ifos linux |
79 |
if [ -x /usr/bin/getconf ]; then |
|
80 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
81 |
fi |
|
82 |
%else |
|
3846 | 83 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 84 |
%endif |
85 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
86 |
CPUS=1 |
|
87 |
fi |
|
88 |
||
1434 | 89 |
libtoolize --force |
5724
600f419700ff
* libgnome.spec: Call intltoolize, glib-gettextize and gtkdocize to add missing files.
dc144907
parents:
5719
diff
changeset
|
90 |
glib-gettextize --copy --force |
5790 | 91 |
intltoolize --copy --force |
5518 | 92 |
aclocal $ACLOCAL_FLAGS -I . |
5789 | 93 |
autoconf |
1434 | 94 |
autoheader |
5724
600f419700ff
* libgnome.spec: Call intltoolize, glib-gettextize and gtkdocize to add missing files.
dc144907
parents:
5719
diff
changeset
|
95 |
gtkdocize --copy |
1434 | 96 |
automake -a -c -f |
605 | 97 |
CFLAGS="$RPM_OPT_FLAGS" \ |
152 | 98 |
./configure --prefix=%{_prefix} \ |
195 | 99 |
--sysconfdir=%{_sysconfdir} \ |
6782 | 100 |
--libexecdir=%{_libexecdir} \ |
5902 | 101 |
--mandir=%{_mandir} \ |
3693 | 102 |
--enable-gtk-doc |
6923 | 103 |
./config.status |
3263 | 104 |
make -j $CPUS |
37 | 105 |
|
106 |
%install |
|
107 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
150 | 108 |
make DESTDIR=$RPM_BUILD_ROOT install |
37 | 109 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
4357 | 110 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
1522 | 111 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
5518 | 112 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
113 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
37 | 114 |
|
1434 | 115 |
#Copy zh_HK from zh_TW |
116 |
#Fixes bug 4930405 |
|
1522 | 117 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
118 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
3628 | 119 |
rm $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.a |
120 |
rm $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.la |
|
121 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
|
122 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
1434 | 123 |
|
37 | 124 |
%clean |
125 |
rm -rf $RPM_BUILD_ROOT |
|
126 |
||
150 | 127 |
%post |
128 |
/sbin/ldconfig |
|
129 |
SCHEMAS="desktop_gnome_accessibility_keyboard.schemas \ |
|
5518 | 130 |
desktop_gnome_accessibility_startup.schemas \ |
150 | 131 |
desktop_gnome_applications_browser.schemas \ |
132 |
desktop_gnome_applications_help_viewer.schemas \ |
|
133 |
desktop_gnome_applications_terminal.schemas \ |
|
134 |
desktop_gnome_applications_window_manager.schemas \ |
|
135 |
desktop_gnome_background.schemas \ |
|
136 |
desktop_gnome_file_views.schemas \ |
|
137 |
desktop_gnome_interface.schemas \ |
|
138 |
desktop_gnome_peripherals_keyboard.schemas \ |
|
139 |
desktop_gnome_peripherals_mouse.schemas \ |
|
140 |
desktop_gnome_sound.schemas \ |
|
141 |
desktop_gnome_thumbnailers.schemas \ |
|
3514 | 142 |
desktop_gnome_typing_break.schemas \ |
1321 | 143 |
desktop_gnome_lockdown.schemas" |
150 | 144 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
145 |
for S in $SCHEMAS; do |
|
146 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
147 |
done |
|
148 |
||
149 |
%postun |
|
150 |
/sbin/ldconfig |
|
151 |
||
37 | 152 |
%files |
153 |
%defattr(-, root, root) |
|
154 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
2620 | 155 |
%{_bindir}/gnome-open |
37 | 156 |
%{_sysconfdir}/sound/events/*.soundlist |
150 | 157 |
%{_sysconfdir}/gconf/schemas/* |
1058 | 158 |
%{_libdir}/libgnome*so.* |
195 | 159 |
%{_libdir}/bonobo/monikers/*so* |
3628 | 160 |
%{_libdir}/bonobo/servers/*.server |
132 | 161 |
|
37 | 162 |
%files devel |
163 |
%defattr(-, root, root) |
|
195 | 164 |
%{_libdir}/pkgconfig/libgnome-2.0.pc |
165 |
%{_includedir}/libgnome-2.0/libgnome/*.h |
|
166 |
%{_datadir}/gtk-doc/* |
|
1058 | 167 |
%{_libdir}/libgnome*so |
4357 | 168 |
%{_mandir}/man1/* |
1434 | 169 |
%{_mandir}/man3/* |
5901 | 170 |
%{_mandir}/man7/* |
37 | 171 |
|
1434 | 172 |
%changelog |
7042 | 173 |
* Tue Apr 11 2006 - [email protected] |
174 |
- Bump to 2.14.1. |
|
175 |
||
6917 | 176 |
* Mon Mar 13 2006 - [email protected] |
177 |
- Bump to 2.14.0. |
|
178 |
||
6865 | 179 |
* Tue Feb 28 2006 - [email protected] |
180 |
- Bump to 2.13.90. |
|
181 |
||
6782 | 182 |
* Thu Feb 16 2006 - [email protected] |
183 |
- Set libexecdir or else we get /usr/libexec in the |
|
184 |
libgnome.pc file. |
|
185 |
||
6587
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6449
diff
changeset
|
186 |
* Tue Jan 17 2006 - [email protected] |
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6449
diff
changeset
|
187 |
- Bump to 2.13.5 |
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6449
diff
changeset
|
188 |
|
6449 | 189 |
* Wed Dec 21 2005 - [email protected] |
190 |
- Bump to 2.13.4. |
|
191 |
||
5865 | 192 |
* Thu Sep 15 2005 - [email protected] |
193 |
- Bump to 2.12.0.1. |
|
194 |
||
5789 | 195 |
* Fri Sep 09 2005 - [email protected] |
196 |
- reorder autofoo: move intltoolize after glib-gettextize is the correct |
|
197 |
po/Makefile.in.in is used |
|
5865 | 198 |
|
5724
600f419700ff
* libgnome.spec: Call intltoolize, glib-gettextize and gtkdocize to add missing files.
dc144907
parents:
5719
diff
changeset
|
199 |
* Tue Sep 06 2005 - [email protected] |
600f419700ff
* libgnome.spec: Call intltoolize, glib-gettextize and gtkdocize to add missing files.
dc144907
parents:
5719
diff
changeset
|
200 |
- Call intltoolize, glib-gettextize and gtkdocize to add missing files. |
600f419700ff
* libgnome.spec: Call intltoolize, glib-gettextize and gtkdocize to add missing files.
dc144907
parents:
5719
diff
changeset
|
201 |
|
5719
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5554
diff
changeset
|
202 |
* Mon Sep 05 2005 - [email protected] |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5554
diff
changeset
|
203 |
- Bump to 2.11.3. |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5554
diff
changeset
|
204 |
|
5529
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
205 |
* Mon Aug 15 2005 - [email protected] |
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
206 |
- Bump to 2.11.2. |
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
207 |
|
5518 | 208 |
* Tue Jul 19 2005 - [email protected] |
209 |
- Modify libgnome-02-default-theme.diff, |
|
210 |
libgnome-03-lockdown-schemas.diff and |
|
211 |
libgnome-04-input-method-status-style.diff |
|
212 |
so that the changes are applied to the .schemas.in |
|
213 |
files instead of .schemas files. |
|
214 |
||
215 |
* Thu Jun 23 2005 - [email protected] |
|
216 |
- Modified libgnome-03-lockdown-schemas.diff to |
|
217 |
include starsuite and starsuite-printeradmin in the |
|
218 |
allowed_applications list. |
|
219 |
Fixes bug #6288742. |
|
220 |
||
221 |
* Fri May 20 2005 - [email protected] |
|
222 |
- Remove backgrounds and put them in gnome-backgrounds |
|
223 |
package. Sanitizes things a lot. |
|
224 |
||
225 |
* Thu May 12 2005 - [email protected] |
|
226 |
- Modified libgnome-03-lockdown-schemas.diff to |
|
227 |
update the entries in the allowed_applications list. |
|
228 |
Fixes bug #6266517. |
|
229 |
||
230 |
* Fri May 06 2005 - [email protected] |
|
231 |
- Bump to 2.10.0 |
|
232 |
||
4791 | 233 |
* Fri Dec 24 2004 - [email protected] |
234 |
- Replacing /usr/bin/staroffice with /usr/bin/soffice in |
|
235 |
libgnome-03-lockdown-schemas.diff. Fixes Bug #6208251. |
|
236 |
||
4357 | 237 |
* Thu Oct 28 2004 - [email protected] |
238 |
- Add gnome-open.1 man page |
|
239 |
||
4314 | 240 |
* Thu Oct 21 2004 - [email protected] |
241 |
- Add patch to fix Launcher to be usable as root. |
|
242 |
||
3954
faf3629739ff
Added libgnome-07-g11n-potfiles.diff. Updated libgnome.spec.
yk150259
parents:
3858
diff
changeset
|
243 |
* Wed Sep 15 2004 - [email protected] |
faf3629739ff
Added libgnome-07-g11n-potfiles.diff. Updated libgnome.spec.
yk150259
parents:
3858
diff
changeset
|
244 |
- Added libgnome-07-g11n-potfiles.diff |
faf3629739ff
Added libgnome-07-g11n-potfiles.diff. Updated libgnome.spec.
yk150259
parents:
3858
diff
changeset
|
245 |
|
3693 | 246 |
* Wed Aug 18 2004 - [email protected] |
247 |
- added --enable-gtk-doc. |
|
248 |
||
3514 | 249 |
* Mon Aug 09 2004 - [email protected] |
250 |
- Added desktop_gnome_typing_break.schemas |
|
251 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
252 |
* 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
|
253 |
- Updated l10n content to libgnome-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
|
254 |
|
3628 | 255 |
* Wed Jul 07 2004 - [email protected] |
256 |
- Ported to rpm4 |
|
257 |
||
3263 | 258 |
* Wed Jul 07 2004 - [email protected] |
259 |
- added "-j $CPUS" to make to speed up builds |
|
260 |
||
2878
c94f14f5241a
Updated libgnome.spec to include libgnome-06-g11n-potfiles.diff.
yk150259
parents:
2834
diff
changeset
|
261 |
* Tue May 25 2004 - [email protected] |
c94f14f5241a
Updated libgnome.spec to include libgnome-06-g11n-potfiles.diff.
yk150259
parents:
2834
diff
changeset
|
262 |
- Added libgnome-06-g11n-potfiles.diff |
c94f14f5241a
Updated libgnome.spec to include libgnome-06-g11n-potfiles.diff.
yk150259
parents:
2834
diff
changeset
|
263 |
|
2834
ebcae8cc5772
added patches/libgnome-05-input-method-status.diff again.
tajima
parents:
2777
diff
changeset
|
264 |
* Thu May 20 2004 - [email protected] |
ebcae8cc5772
added patches/libgnome-05-input-method-status.diff again.
tajima
parents:
2777
diff
changeset
|
265 |
Add libgnome-05-input-method-status-style.diff again. |
ebcae8cc5772
added patches/libgnome-05-input-method-status.diff again.
tajima
parents:
2777
diff
changeset
|
266 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2730
diff
changeset
|
267 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2730
diff
changeset
|
268 |
- Updated l10n content to libgnome-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2730
diff
changeset
|
269 |
|
2730 | 270 |
* Tue May 11 2004 - [email protected] |
271 |
- rename jdshelp script |
|
2656 | 272 |
* Thu May 06 2004 - [email protected] |
273 |
- replacing yelp with jds-help.sh in libgnome-03-lockdown-schemas.diff |
|
2620 | 274 |
* Mon May 3 2004 - [email protected] |
275 |
- Add bindir, so we get the joys of gnome-open |
|
276 |
||
2452 | 277 |
* Wed Apr 14 2004 - [email protected] |
278 |
- Removed desktop_gnome_url_handlers.schemas from spec file. |
|
279 |
||
2350 | 280 |
* Mon Mar 29 2004 - [email protected] |
281 |
- Updated l10n content to libgnome-l10n-po-1.0.tar.bz2 |
|
282 |
||
2269 | 283 |
* Mon Mar 22 2004 - [email protected] |
284 |
- Bump to 2.6.0. Remove the the uninstalled pc patch since |
|
285 |
it's upstream. |
|
286 |
||
2136 | 287 |
* Wed Mar 04 2004 - [email protected] |
288 |
- Bump to 2.5.90, as it contains partial lockdown schema file |
|
289 |
- re-engineer lockdown schema patch |
|
290 |
- Remove the OrigTree.pm hack |
|
291 |
||
292 |
* Mon Feb 23 2004 - [email protected] |
|
293 |
- Bump to 2.5.4 |
|
294 |
||
1554 | 295 |
* Mon Feb 02 2004 - [email protected] |
296 |
- Bump to 2.5.3 |
|
297 |
- Add OrigTree.pm as source 5. |
|
298 |
- Unpack source 1 after build into RPM_BUILD_ROOT (fixes solaris breakage). |
|
299 |
- Add patch to add an -uninstalled.pc file for pkgconfig |
|
1552 | 300 |
|
1556 | 301 |
* Thu Jan 29 2004 - <[email protected]> |
302 |
- Add patch 06 to search in /usr for intltool perl modules |
|
303 |
||
304 |
* Thu Jan 29 2004 - <[email protected]> |
|
305 |
- Add dependency on intltool |
|
306 |
||
1434 | 307 |
* Mon Dec 15 2003 - [email protected] |
308 |
- Bump to 2.5.1 |
|
309 |
||
1321 | 310 |
* Tue Oct 21 2003 - [email protected] |
311 |
- lockdown schema patch |
|
312 |
||
1215 | 313 |
* Wed Oct 08 2003 - [email protected] |
314 |
- Updated for 2.4 |
|
315 |
||
1120
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
316 |
* Fri Sep 05 2003 - [email protected] |
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
317 |
- Add libgnome-04-schemas-chinese.diff to fix font sizes. |
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
318 |
Fixes bug 4915643. |
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
319 |
|
1058 | 320 |
* Thu Aug 14 2003 - <[email protected]> |
321 |
- move lib*.so to -devel, remove *.a, *.la |
|
322 |
||
1003 | 323 |
* Thu Aug 07 2003 - [email protected] |
324 |
- Update tarball, reset release, bump version. |
|
325 |
||
759 | 326 |
* Thu Jul 24 2003 - [email protected] |
327 |
- added libgnome-04-background.diff |
|
1003 | 328 |
|
523 | 329 |
* Thu Jul 10 2003 - [email protected] |
330 |
- Added .po tarball |
|
331 |
||
421 | 332 |
* Thu Jul 03 2003 - [email protected] |
333 |
- Remove the joint theme/background patch and separate them |
|
334 |
out |
|
335 |
||
37 | 336 |
* Wed Apr 30 2003 - [email protected] |
150 | 337 |
- Create new spec file for libgnome |