author | erwannc |
Mon, 07 Jun 2004 13:21:42 +0000 | |
changeset 3022 | c06cdd0f2f1b |
parent 2958 | 3655558ced77 |
child 3120 | cb346324f8c9 |
permissions | -rw-r--r-- |
37 | 1 |
Name: libgnome |
2 |
License: LGPL |
|
150 | 3 |
Group: System/Libraries/GNOME |
2269 | 4 |
Version: 2.6.0 |
3022 | 5 |
Release: 16 |
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 |
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2730
diff
changeset
|
11 |
Source2: libgnome-l10n-po-1.1.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 |
150 | 20 |
URL: http://www.gnome.org |
37 | 21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
150 | 22 |
Docdir: %{_defaultdocdir}/doc |
23 |
Autoreqprov: on |
|
1080 | 24 |
Prereq: /sbin/ldconfig |
150 | 25 |
|
1215 | 26 |
%define GConf_version 2.4.0.1 |
1435 | 27 |
%define gnome_vfs_version 2.5.3 |
2402 | 28 |
%define libbonobo_version 2.6.0 |
195 | 29 |
%define libxslt_version 1.0.19 |
30 |
%define audiofile_version 0.2.3 |
|
31 |
%define esound_version 0.2.28 |
|
1215 | 32 |
%define gtk_doc_version 1.1 |
195 | 33 |
%define popt_version 1.6.4 |
34 |
||
35 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
36 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
37 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
38 |
BuildRequires: libxslt-devel >= %{libxslt_version} |
|
39 |
BuildRequires: esound-devel >= %{esound_version} |
|
40 |
BuildRequires: audiofile-devel >= %{audiofile_version} |
|
41 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
42 |
BuildRequires: popt-devel >= %{popt_version} |
|
43 |
Requires: GConf >= %{GConf_version} |
|
44 |
Requires: libbonobo >= %{libbonobo_version} |
|
45 |
Requires: esound >= %{esound_version} |
|
46 |
Requires: audiofile >= %{audiofile_version} |
|
47 |
Requires: libxslt >= %{libxslt_version} |
|
37 | 48 |
|
49 |
%description |
|
150 | 50 |
libgnome is one of the base GNOME libraries, containing convenient API for |
51 |
configuration, help, initialization and web links, all specific to the |
|
52 |
GNOME desktop. |
|
53 |
||
54 |
%package devel |
|
152 | 55 |
Summary: GNOME Base Development Library |
150 | 56 |
Group: Development/Libraries/GNOME |
57 |
Requires: %name = %version-%release |
|
195 | 58 |
Requires: popt-devel >= %{popt_version} |
59 |
Requires: libbonobo-devel >= %{libbonobo_version} |
|
150 | 60 |
|
61 |
%description devel |
|
62 |
libgnome is one of the base GNOME libraries, containing convenient API for |
|
63 |
configuration, help, initialization and web links, all specific to the |
|
64 |
GNOME desktop. |
|
37 | 65 |
|
66 |
%prep |
|
1434 | 67 |
%setup -q |
1522 | 68 |
bzcat %SOURCE2 | tar xf - |
1434 | 69 |
%patch1 -p1 |
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
70 |
%patch2 -p1 |
1120
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
71 |
%patch3 -p1 |
1321 | 72 |
%patch4 -p1 |
2834
ebcae8cc5772
added patches/libgnome-05-input-method-status.diff again.
tajima
parents:
2777
diff
changeset
|
73 |
%patch5 -p1 |
2878
c94f14f5241a
Updated libgnome.spec to include libgnome-06-g11n-potfiles.diff.
yk150259
parents:
2834
diff
changeset
|
74 |
%patch6 -p1 |
3022 | 75 |
# the following line is required for default-background branching patch |
76 |
mv schemas/desktop_gnome_background.schemas schemas/desktop_gnome_background.schemas.in |
|
128 | 77 |
|
37 | 78 |
%build |
1434 | 79 |
libtoolize --force |
1551 | 80 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros -I . |
1434 | 81 |
autoheader |
82 |
automake -a -c -f |
|
83 |
autoconf |
|
605 | 84 |
CFLAGS="$RPM_OPT_FLAGS" \ |
152 | 85 |
./configure --prefix=%{_prefix} \ |
195 | 86 |
--sysconfdir=%{_sysconfdir} \ |
87 |
--disable-gtk-doc |
|
37 | 88 |
make |
89 |
||
90 |
%install |
|
91 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
150 | 92 |
make DESTDIR=$RPM_BUILD_ROOT install |
37 | 93 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
1522 | 94 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
95 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
150 | 96 |
|
1522 | 97 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/backgrounds |
1554 | 98 |
bzcat %SOURCE1 | (cd $RPM_BUILD_ROOT%{_datadir}/pixmaps; tar -xf -) |
1522 | 99 |
cp %SOURCE3 $RPM_BUILD_ROOT%{_datadir}/pixmaps/backgrounds |
37 | 100 |
|
1434 | 101 |
#Copy zh_HK from zh_TW |
102 |
#Fixes bug 4930405 |
|
1522 | 103 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
104 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
1434 | 105 |
|
37 | 106 |
%clean |
107 |
rm -rf $RPM_BUILD_ROOT |
|
108 |
||
150 | 109 |
%post |
110 |
/sbin/ldconfig |
|
111 |
SCHEMAS="desktop_gnome_accessibility_keyboard.schemas \ |
|
112 |
desktop_gnome_applications_browser.schemas \ |
|
113 |
desktop_gnome_applications_help_viewer.schemas \ |
|
114 |
desktop_gnome_applications_terminal.schemas \ |
|
115 |
desktop_gnome_applications_window_manager.schemas \ |
|
116 |
desktop_gnome_background.schemas \ |
|
117 |
desktop_gnome_file_views.schemas \ |
|
118 |
desktop_gnome_interface.schemas \ |
|
119 |
desktop_gnome_peripherals_keyboard.schemas \ |
|
120 |
desktop_gnome_peripherals_mouse.schemas \ |
|
121 |
desktop_gnome_sound.schemas \ |
|
122 |
desktop_gnome_thumbnailers.schemas \ |
|
1321 | 123 |
desktop_gnome_lockdown.schemas" |
150 | 124 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
125 |
for S in $SCHEMAS; do |
|
126 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
127 |
done |
|
128 |
||
129 |
%postun |
|
130 |
/sbin/ldconfig |
|
131 |
||
37 | 132 |
%files |
133 |
%defattr(-, root, root) |
|
134 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
2620 | 135 |
%{_bindir}/gnome-open |
37 | 136 |
%{_sysconfdir}/sound/events/*.soundlist |
150 | 137 |
%{_sysconfdir}/gconf/schemas/* |
1058 | 138 |
%{_libdir}/libgnome*so.* |
195 | 139 |
%{_libdir}/bonobo/monikers/*so* |
422 | 140 |
%{_datadir}/pixmaps/backgrounds/* |
132 | 141 |
|
37 | 142 |
%files devel |
143 |
%defattr(-, root, root) |
|
195 | 144 |
%{_libdir}/pkgconfig/libgnome-2.0.pc |
145 |
%{_includedir}/libgnome-2.0/libgnome/*.h |
|
146 |
%{_datadir}/gtk-doc/* |
|
1058 | 147 |
%{_libdir}/libgnome*so |
1434 | 148 |
%{_mandir}/man3/* |
37 | 149 |
|
1434 | 150 |
%changelog |
2878
c94f14f5241a
Updated libgnome.spec to include libgnome-06-g11n-potfiles.diff.
yk150259
parents:
2834
diff
changeset
|
151 |
* Tue May 25 2004 - [email protected] |
c94f14f5241a
Updated libgnome.spec to include libgnome-06-g11n-potfiles.diff.
yk150259
parents:
2834
diff
changeset
|
152 |
- Added libgnome-06-g11n-potfiles.diff |
c94f14f5241a
Updated libgnome.spec to include libgnome-06-g11n-potfiles.diff.
yk150259
parents:
2834
diff
changeset
|
153 |
|
2834
ebcae8cc5772
added patches/libgnome-05-input-method-status.diff again.
tajima
parents:
2777
diff
changeset
|
154 |
* Thu May 20 2004 - [email protected] |
ebcae8cc5772
added patches/libgnome-05-input-method-status.diff again.
tajima
parents:
2777
diff
changeset
|
155 |
Add libgnome-05-input-method-status-style.diff again. |
ebcae8cc5772
added patches/libgnome-05-input-method-status.diff again.
tajima
parents:
2777
diff
changeset
|
156 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2730
diff
changeset
|
157 |
* 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
|
158 |
- 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
|
159 |
|
2730 | 160 |
* Tue May 11 2004 - [email protected] |
161 |
- rename jdshelp script |
|
2656 | 162 |
* Thu May 06 2004 - [email protected] |
163 |
- replacing yelp with jds-help.sh in libgnome-03-lockdown-schemas.diff |
|
2620 | 164 |
* Mon May 3 2004 - [email protected] |
165 |
- Add bindir, so we get the joys of gnome-open |
|
166 |
||
2452 | 167 |
* Wed Apr 14 2004 - [email protected] |
168 |
- Removed desktop_gnome_url_handlers.schemas from spec file. |
|
169 |
||
2350 | 170 |
* Mon Mar 29 2004 - [email protected] |
171 |
- Updated l10n content to libgnome-l10n-po-1.0.tar.bz2 |
|
172 |
||
2269 | 173 |
* Mon Mar 22 2004 - [email protected] |
174 |
- Bump to 2.6.0. Remove the the uninstalled pc patch since |
|
175 |
it's upstream. |
|
176 |
||
2136 | 177 |
* Wed Mar 04 2004 - [email protected] |
178 |
- Bump to 2.5.90, as it contains partial lockdown schema file |
|
179 |
- re-engineer lockdown schema patch |
|
180 |
- Remove the OrigTree.pm hack |
|
181 |
||
182 |
* Mon Feb 23 2004 - [email protected] |
|
183 |
- Bump to 2.5.4 |
|
184 |
||
1554 | 185 |
* Mon Feb 02 2004 - [email protected] |
186 |
- Bump to 2.5.3 |
|
187 |
- Add OrigTree.pm as source 5. |
|
188 |
- Unpack source 1 after build into RPM_BUILD_ROOT (fixes solaris breakage). |
|
189 |
- Add patch to add an -uninstalled.pc file for pkgconfig |
|
1552 | 190 |
|
1556 | 191 |
* Thu Jan 29 2004 - <[email protected]> |
192 |
- Add patch 06 to search in /usr for intltool perl modules |
|
193 |
||
194 |
* Thu Jan 29 2004 - <[email protected]> |
|
195 |
- Add dependency on intltool |
|
196 |
||
1434 | 197 |
* Mon Dec 15 2003 - [email protected] |
198 |
- Bump to 2.5.1 |
|
199 |
||
1321 | 200 |
* Tue Oct 21 2003 - [email protected] |
201 |
- lockdown schema patch |
|
202 |
||
1215 | 203 |
* Wed Oct 08 2003 - [email protected] |
204 |
- Updated for 2.4 |
|
205 |
||
1120
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
206 |
* Fri Sep 05 2003 - [email protected] |
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
207 |
- 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
|
208 |
Fixes bug 4915643. |
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
209 |
|
1058 | 210 |
* Thu Aug 14 2003 - <[email protected]> |
211 |
- move lib*.so to -devel, remove *.a, *.la |
|
212 |
||
1003 | 213 |
* Thu Aug 07 2003 - [email protected] |
214 |
- Update tarball, reset release, bump version. |
|
215 |
||
759 | 216 |
* Thu Jul 24 2003 - [email protected] |
217 |
- added libgnome-04-background.diff |
|
1003 | 218 |
|
523 | 219 |
* Thu Jul 10 2003 - [email protected] |
220 |
- Added .po tarball |
|
221 |
||
421 | 222 |
* Thu Jul 03 2003 - [email protected] |
223 |
- Remove the joint theme/background patch and separate them |
|
224 |
out |
|
225 |
||
37 | 226 |
* Wed Apr 30 2003 - [email protected] |
150 | 227 |
- Create new spec file for libgnome |