author | dermotm |
Mon, 18 Oct 2004 09:30:38 +0000 | |
changeset 4276 | 2a2c7f354601 |
parent 4265 | 9c26d9ef4f72 |
child 4314 | 6013aeffb177 |
permissions | -rw-r--r-- |
37 | 1 |
Name: libgnome |
2 |
License: LGPL |
|
150 | 3 |
Group: System/Libraries/GNOME |
2269 | 4 |
Version: 2.6.0 |
4276 | 5 |
Release: 28 |
1873 | 6 |
Distribution: Cinnabar |
575 | 7 |
Vendor: Sun Microsystems, Inc. |
150 | 8 |
Summary: GNOME Base Library |
1434 | 9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libgnome/2.5/libgnome-%{version}.tar.bz2 |
792 | 10 |
Source1: backgrounds.tar.bz2 |
4265 | 11 |
Source2: libgnome-l10n-po-1.6.tar.bz2 |
1116 | 12 |
Source3: Sun-Default.png |
1434 | 13 |
Source4: libgnome-2.3.gz |
14 |
Patch1: libgnome-01-default-background.diff |
|
15 |
Patch2: libgnome-02-default-theme.diff |
|
16 |
Patch3: libgnome-03-lockdown-schemas.diff |
|
2270 | 17 |
Patch4: libgnome-04-moniker-build.diff |
2834
ebcae8cc5772
added patches/libgnome-05-input-method-status.diff again.
tajima
parents:
2777
diff
changeset
|
18 |
Patch5: libgnome-05-input-method-status-style.diff |
2878
c94f14f5241a
Updated libgnome.spec to include libgnome-06-g11n-potfiles.diff.
yk150259
parents:
2834
diff
changeset
|
19 |
Patch6: libgnome-06-g11n-potfiles.diff |
3954
faf3629739ff
Added libgnome-07-g11n-potfiles.diff. Updated libgnome.spec.
yk150259
parents:
3858
diff
changeset
|
20 |
Patch7: libgnome-07-g11n-potfiles.diff |
150 | 21 |
URL: http://www.gnome.org |
37 | 22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
150 | 23 |
Docdir: %{_defaultdocdir}/doc |
24 |
Autoreqprov: on |
|
1080 | 25 |
Prereq: /sbin/ldconfig |
150 | 26 |
|
3628 | 27 |
%define GConf_version 2.6.1 |
28 |
%define gnome_vfs_version 2.6.0 |
|
2402 | 29 |
%define libbonobo_version 2.6.0 |
3628 | 30 |
%define libxslt_version 1.1.2 |
31 |
%define audiofile_version 0.2.5 |
|
32 |
%define esound_version 0.2.33 |
|
1215 | 33 |
%define gtk_doc_version 1.1 |
3628 | 34 |
%define popt_version 1.7 |
195 | 35 |
|
36 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
37 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
38 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
39 |
BuildRequires: libxslt-devel >= %{libxslt_version} |
|
40 |
BuildRequires: esound-devel >= %{esound_version} |
|
3628 | 41 |
# Audio file header files are include in base pkg in SuSE 9.1 |
42 |
BuildRequires: audiofile >= %{audiofile_version} |
|
195 | 43 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
44 |
BuildRequires: popt-devel >= %{popt_version} |
|
45 |
Requires: GConf >= %{GConf_version} |
|
46 |
Requires: libbonobo >= %{libbonobo_version} |
|
47 |
Requires: esound >= %{esound_version} |
|
48 |
Requires: audiofile >= %{audiofile_version} |
|
49 |
Requires: libxslt >= %{libxslt_version} |
|
37 | 50 |
|
51 |
%description |
|
150 | 52 |
libgnome is one of the base GNOME libraries, containing convenient API for |
53 |
configuration, help, initialization and web links, all specific to the |
|
54 |
GNOME desktop. |
|
55 |
||
56 |
%package devel |
|
152 | 57 |
Summary: GNOME Base Development Library |
150 | 58 |
Group: Development/Libraries/GNOME |
59 |
Requires: %name = %version-%release |
|
195 | 60 |
Requires: popt-devel >= %{popt_version} |
61 |
Requires: libbonobo-devel >= %{libbonobo_version} |
|
150 | 62 |
|
63 |
%description devel |
|
64 |
libgnome is one of the base GNOME libraries, containing convenient API for |
|
65 |
configuration, help, initialization and web links, all specific to the |
|
66 |
GNOME desktop. |
|
37 | 67 |
|
68 |
%prep |
|
1434 | 69 |
%setup -q |
1522 | 70 |
bzcat %SOURCE2 | tar xf - |
1434 | 71 |
%patch1 -p1 |
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
72 |
%patch2 -p1 |
1120
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
73 |
%patch3 -p1 |
1321 | 74 |
%patch4 -p1 |
2834
ebcae8cc5772
added patches/libgnome-05-input-method-status.diff again.
tajima
parents:
2777
diff
changeset
|
75 |
%patch5 -p1 |
2878
c94f14f5241a
Updated libgnome.spec to include libgnome-06-g11n-potfiles.diff.
yk150259
parents:
2834
diff
changeset
|
76 |
%patch6 -p1 |
3954
faf3629739ff
Added libgnome-07-g11n-potfiles.diff. Updated libgnome.spec.
yk150259
parents:
3858
diff
changeset
|
77 |
%patch7 -p1 |
3022 | 78 |
# the following line is required for default-background branching patch |
79 |
mv schemas/desktop_gnome_background.schemas schemas/desktop_gnome_background.schemas.in |
|
128 | 80 |
|
37 | 81 |
%build |
3263 | 82 |
%ifos linux |
83 |
if [ -x /usr/bin/getconf ]; then |
|
84 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
85 |
fi |
|
86 |
%else |
|
3846 | 87 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 88 |
%endif |
89 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
90 |
CPUS=1 |
|
91 |
fi |
|
92 |
||
1434 | 93 |
libtoolize --force |
1551 | 94 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros -I . |
1434 | 95 |
autoheader |
96 |
automake -a -c -f |
|
97 |
autoconf |
|
605 | 98 |
CFLAGS="$RPM_OPT_FLAGS" \ |
152 | 99 |
./configure --prefix=%{_prefix} \ |
195 | 100 |
--sysconfdir=%{_sysconfdir} \ |
3693 | 101 |
--enable-gtk-doc |
3263 | 102 |
make -j $CPUS |
37 | 103 |
|
104 |
%install |
|
105 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
150 | 106 |
make DESTDIR=$RPM_BUILD_ROOT install |
37 | 107 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
1522 | 108 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
109 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
150 | 110 |
|
1522 | 111 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/backgrounds |
1554 | 112 |
bzcat %SOURCE1 | (cd $RPM_BUILD_ROOT%{_datadir}/pixmaps; tar -xf -) |
1522 | 113 |
cp %SOURCE3 $RPM_BUILD_ROOT%{_datadir}/pixmaps/backgrounds |
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 \ |
|
130 |
desktop_gnome_applications_browser.schemas \ |
|
131 |
desktop_gnome_applications_help_viewer.schemas \ |
|
132 |
desktop_gnome_applications_terminal.schemas \ |
|
133 |
desktop_gnome_applications_window_manager.schemas \ |
|
134 |
desktop_gnome_background.schemas \ |
|
135 |
desktop_gnome_file_views.schemas \ |
|
136 |
desktop_gnome_interface.schemas \ |
|
137 |
desktop_gnome_peripherals_keyboard.schemas \ |
|
138 |
desktop_gnome_peripherals_mouse.schemas \ |
|
139 |
desktop_gnome_sound.schemas \ |
|
140 |
desktop_gnome_thumbnailers.schemas \ |
|
3514 | 141 |
desktop_gnome_typing_break.schemas \ |
1321 | 142 |
desktop_gnome_lockdown.schemas" |
150 | 143 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
144 |
for S in $SCHEMAS; do |
|
145 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
146 |
done |
|
147 |
||
148 |
%postun |
|
149 |
/sbin/ldconfig |
|
150 |
||
37 | 151 |
%files |
152 |
%defattr(-, root, root) |
|
153 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
2620 | 154 |
%{_bindir}/gnome-open |
37 | 155 |
%{_sysconfdir}/sound/events/*.soundlist |
150 | 156 |
%{_sysconfdir}/gconf/schemas/* |
1058 | 157 |
%{_libdir}/libgnome*so.* |
195 | 158 |
%{_libdir}/bonobo/monikers/*so* |
3628 | 159 |
%{_libdir}/bonobo/servers/*.server |
422 | 160 |
%{_datadir}/pixmaps/backgrounds/* |
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 |
1434 | 168 |
%{_mandir}/man3/* |
37 | 169 |
|
1434 | 170 |
%changelog |
3954
faf3629739ff
Added libgnome-07-g11n-potfiles.diff. Updated libgnome.spec.
yk150259
parents:
3858
diff
changeset
|
171 |
* Wed Sep 15 2004 - [email protected] |
faf3629739ff
Added libgnome-07-g11n-potfiles.diff. Updated libgnome.spec.
yk150259
parents:
3858
diff
changeset
|
172 |
- Added libgnome-07-g11n-potfiles.diff |
faf3629739ff
Added libgnome-07-g11n-potfiles.diff. Updated libgnome.spec.
yk150259
parents:
3858
diff
changeset
|
173 |
|
3693 | 174 |
* Wed Aug 18 2004 - [email protected] |
175 |
- added --enable-gtk-doc. |
|
176 |
||
3514 | 177 |
* Mon Aug 09 2004 - [email protected] |
178 |
- Added desktop_gnome_typing_break.schemas |
|
179 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
180 |
* 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
|
181 |
- 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
|
182 |
|
3628 | 183 |
* Wed Jul 07 2004 - [email protected] |
184 |
- Ported to rpm4 |
|
185 |
||
3263 | 186 |
* Wed Jul 07 2004 - [email protected] |
187 |
- added "-j $CPUS" to make to speed up builds |
|
188 |
||
2878
c94f14f5241a
Updated libgnome.spec to include libgnome-06-g11n-potfiles.diff.
yk150259
parents:
2834
diff
changeset
|
189 |
* Tue May 25 2004 - [email protected] |
c94f14f5241a
Updated libgnome.spec to include libgnome-06-g11n-potfiles.diff.
yk150259
parents:
2834
diff
changeset
|
190 |
- Added libgnome-06-g11n-potfiles.diff |
c94f14f5241a
Updated libgnome.spec to include libgnome-06-g11n-potfiles.diff.
yk150259
parents:
2834
diff
changeset
|
191 |
|
2834
ebcae8cc5772
added patches/libgnome-05-input-method-status.diff again.
tajima
parents:
2777
diff
changeset
|
192 |
* Thu May 20 2004 - [email protected] |
ebcae8cc5772
added patches/libgnome-05-input-method-status.diff again.
tajima
parents:
2777
diff
changeset
|
193 |
Add libgnome-05-input-method-status-style.diff again. |
ebcae8cc5772
added patches/libgnome-05-input-method-status.diff again.
tajima
parents:
2777
diff
changeset
|
194 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2730
diff
changeset
|
195 |
* 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
|
196 |
- 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
|
197 |
|
2730 | 198 |
* Tue May 11 2004 - [email protected] |
199 |
- rename jdshelp script |
|
2656 | 200 |
* Thu May 06 2004 - [email protected] |
201 |
- replacing yelp with jds-help.sh in libgnome-03-lockdown-schemas.diff |
|
2620 | 202 |
* Mon May 3 2004 - [email protected] |
203 |
- Add bindir, so we get the joys of gnome-open |
|
204 |
||
2452 | 205 |
* Wed Apr 14 2004 - [email protected] |
206 |
- Removed desktop_gnome_url_handlers.schemas from spec file. |
|
207 |
||
2350 | 208 |
* Mon Mar 29 2004 - [email protected] |
209 |
- Updated l10n content to libgnome-l10n-po-1.0.tar.bz2 |
|
210 |
||
2269 | 211 |
* Mon Mar 22 2004 - [email protected] |
212 |
- Bump to 2.6.0. Remove the the uninstalled pc patch since |
|
213 |
it's upstream. |
|
214 |
||
2136 | 215 |
* Wed Mar 04 2004 - [email protected] |
216 |
- Bump to 2.5.90, as it contains partial lockdown schema file |
|
217 |
- re-engineer lockdown schema patch |
|
218 |
- Remove the OrigTree.pm hack |
|
219 |
||
220 |
* Mon Feb 23 2004 - [email protected] |
|
221 |
- Bump to 2.5.4 |
|
222 |
||
1554 | 223 |
* Mon Feb 02 2004 - [email protected] |
224 |
- Bump to 2.5.3 |
|
225 |
- Add OrigTree.pm as source 5. |
|
226 |
- Unpack source 1 after build into RPM_BUILD_ROOT (fixes solaris breakage). |
|
227 |
- Add patch to add an -uninstalled.pc file for pkgconfig |
|
1552 | 228 |
|
1556 | 229 |
* Thu Jan 29 2004 - <[email protected]> |
230 |
- Add patch 06 to search in /usr for intltool perl modules |
|
231 |
||
232 |
* Thu Jan 29 2004 - <[email protected]> |
|
233 |
- Add dependency on intltool |
|
234 |
||
1434 | 235 |
* Mon Dec 15 2003 - [email protected] |
236 |
- Bump to 2.5.1 |
|
237 |
||
1321 | 238 |
* Tue Oct 21 2003 - [email protected] |
239 |
- lockdown schema patch |
|
240 |
||
1215 | 241 |
* Wed Oct 08 2003 - [email protected] |
242 |
- Updated for 2.4 |
|
243 |
||
1120
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
244 |
* Fri Sep 05 2003 - [email protected] |
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
245 |
- 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
|
246 |
Fixes bug 4915643. |
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
247 |
|
1058 | 248 |
* Thu Aug 14 2003 - <[email protected]> |
249 |
- move lib*.so to -devel, remove *.a, *.la |
|
250 |
||
1003 | 251 |
* Thu Aug 07 2003 - [email protected] |
252 |
- Update tarball, reset release, bump version. |
|
253 |
||
759 | 254 |
* Thu Jul 24 2003 - [email protected] |
255 |
- added libgnome-04-background.diff |
|
1003 | 256 |
|
523 | 257 |
* Thu Jul 10 2003 - [email protected] |
258 |
- Added .po tarball |
|
259 |
||
421 | 260 |
* Thu Jul 03 2003 - [email protected] |
261 |
- Remove the joint theme/background patch and separate them |
|
262 |
out |
|
263 |
||
37 | 264 |
* Wed Apr 30 2003 - [email protected] |
150 | 265 |
- Create new spec file for libgnome |