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