author | laca |
Sat, 10 Jan 2004 07:59:15 +0000 | |
changeset 1522 | c8efb7f0f398 |
parent 1435 | 78b79cd7b777 |
child 1543 | e1c1e40a5e77 |
permissions | -rw-r--r-- |
37 | 1 |
Name: libgnome |
2 |
License: LGPL |
|
150 | 3 |
Group: System/Libraries/GNOME |
1434 | 4 |
Version: 2.5.1 |
5 |
Release: 2 |
|
1215 | 6 |
Distribution: Quicksilver |
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 |
1434 | 11 |
Source2: libgnome-l10n-po-0.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 |
|
17 |
Patch4: libgnome-04-moniker-build-fix.diff |
|
150 | 18 |
URL: http://www.gnome.org |
37 | 19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
150 | 20 |
Docdir: %{_defaultdocdir}/doc |
21 |
Autoreqprov: on |
|
1080 | 22 |
Prereq: /sbin/ldconfig |
150 | 23 |
|
1215 | 24 |
%define GConf_version 2.4.0.1 |
1435 | 25 |
%define gnome_vfs_version 2.5.3 |
1215 | 26 |
%define libbonobo_version 2.4.0 |
195 | 27 |
%define libxslt_version 1.0.19 |
28 |
%define audiofile_version 0.2.3 |
|
29 |
%define esound_version 0.2.28 |
|
1215 | 30 |
%define gtk_doc_version 1.1 |
195 | 31 |
%define popt_version 1.6.4 |
32 |
||
33 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
34 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
35 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
36 |
BuildRequires: libxslt-devel >= %{libxslt_version} |
|
37 |
BuildRequires: esound-devel >= %{esound_version} |
|
38 |
BuildRequires: audiofile-devel >= %{audiofile_version} |
|
39 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
40 |
BuildRequires: popt-devel >= %{popt_version} |
|
41 |
Requires: GConf >= %{GConf_version} |
|
42 |
Requires: libbonobo >= %{libbonobo_version} |
|
43 |
Requires: esound >= %{esound_version} |
|
44 |
Requires: audiofile >= %{audiofile_version} |
|
45 |
Requires: libxslt >= %{libxslt_version} |
|
37 | 46 |
|
47 |
%description |
|
150 | 48 |
libgnome is one of the base GNOME libraries, containing convenient API for |
49 |
configuration, help, initialization and web links, all specific to the |
|
50 |
GNOME desktop. |
|
51 |
||
52 |
%package devel |
|
152 | 53 |
Summary: GNOME Base Development Library |
150 | 54 |
Group: Development/Libraries/GNOME |
55 |
Requires: %name = %version-%release |
|
195 | 56 |
Requires: popt-devel >= %{popt_version} |
57 |
Requires: libbonobo-devel >= %{libbonobo_version} |
|
150 | 58 |
|
59 |
%description devel |
|
60 |
libgnome is one of the base GNOME libraries, containing convenient API for |
|
61 |
configuration, help, initialization and web links, all specific to the |
|
62 |
GNOME desktop. |
|
37 | 63 |
|
64 |
%prep |
|
1434 | 65 |
%setup -q |
1522 | 66 |
bzcat %SOURCE1 | tar xf - |
67 |
bzcat %SOURCE2 | tar xf - |
|
1434 | 68 |
%patch1 -p1 |
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
69 |
%patch2 -p1 |
1120
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
70 |
%patch3 -p1 |
1321 | 71 |
%patch4 -p1 |
128 | 72 |
|
37 | 73 |
%build |
1434 | 74 |
libtoolize --force |
1522 | 75 |
aclocal -I %{_datadir}/aclocal/gnome2-macros -I . |
1434 | 76 |
autoheader |
77 |
automake -a -c -f |
|
78 |
autoconf |
|
605 | 79 |
CFLAGS="$RPM_OPT_FLAGS" \ |
152 | 80 |
./configure --prefix=%{_prefix} \ |
195 | 81 |
--sysconfdir=%{_sysconfdir} \ |
82 |
--disable-gtk-doc |
|
37 | 83 |
make |
84 |
||
85 |
%install |
|
86 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
150 | 87 |
make DESTDIR=$RPM_BUILD_ROOT install |
37 | 88 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
1522 | 89 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
90 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
150 | 91 |
|
1522 | 92 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/backgrounds |
93 |
cp $RPM_BUILD_DIR/%{name}-%{version}/backgrounds/* $RPM_BUILD_ROOT%{_datadir}/pixmaps/backgrounds |
|
94 |
cp %SOURCE3 $RPM_BUILD_ROOT%{_datadir}/pixmaps/backgrounds |
|
37 | 95 |
|
1434 | 96 |
#Copy zh_HK from zh_TW |
97 |
#Fixes bug 4930405 |
|
1522 | 98 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
99 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
1434 | 100 |
|
37 | 101 |
%clean |
102 |
rm -rf $RPM_BUILD_ROOT |
|
103 |
||
150 | 104 |
%post |
105 |
/sbin/ldconfig |
|
106 |
SCHEMAS="desktop_gnome_accessibility_keyboard.schemas \ |
|
107 |
desktop_gnome_applications_browser.schemas \ |
|
108 |
desktop_gnome_applications_help_viewer.schemas \ |
|
109 |
desktop_gnome_applications_terminal.schemas \ |
|
110 |
desktop_gnome_applications_window_manager.schemas \ |
|
111 |
desktop_gnome_background.schemas \ |
|
112 |
desktop_gnome_file_views.schemas \ |
|
113 |
desktop_gnome_interface.schemas \ |
|
114 |
desktop_gnome_peripherals_keyboard.schemas \ |
|
115 |
desktop_gnome_peripherals_mouse.schemas \ |
|
116 |
desktop_gnome_sound.schemas \ |
|
117 |
desktop_gnome_thumbnailers.schemas \ |
|
1321 | 118 |
desktop_gnome_url_handlers.schemas \ |
119 |
desktop_gnome_lockdown.schemas" |
|
150 | 120 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
121 |
for S in $SCHEMAS; do |
|
122 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
123 |
done |
|
124 |
||
125 |
%postun |
|
126 |
/sbin/ldconfig |
|
127 |
||
37 | 128 |
%files |
129 |
%defattr(-, root, root) |
|
130 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
131 |
%{_sysconfdir}/sound/events/*.soundlist |
|
150 | 132 |
%{_sysconfdir}/gconf/schemas/* |
1058 | 133 |
%{_libdir}/libgnome*so.* |
195 | 134 |
%{_libdir}/bonobo/monikers/*so* |
422 | 135 |
%{_datadir}/pixmaps/backgrounds/* |
132 | 136 |
|
37 | 137 |
%files devel |
138 |
%defattr(-, root, root) |
|
195 | 139 |
%{_libdir}/pkgconfig/libgnome-2.0.pc |
140 |
%{_includedir}/libgnome-2.0/libgnome/*.h |
|
141 |
%{_datadir}/gtk-doc/* |
|
1058 | 142 |
%{_libdir}/libgnome*so |
1434 | 143 |
%{_mandir}/man3/* |
37 | 144 |
|
1434 | 145 |
%changelog |
146 |
* Mon Dec 15 2003 - [email protected] |
|
147 |
- Bump to 2.5.1 |
|
148 |
||
1321 | 149 |
* Tue Oct 21 2003 - [email protected] |
150 |
- lockdown schema patch |
|
151 |
||
1215 | 152 |
* Wed Oct 08 2003 - [email protected] |
153 |
- Updated for 2.4 |
|
154 |
||
1120
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
155 |
* Fri Sep 05 2003 - [email protected] |
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
156 |
- 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
|
157 |
Fixes bug 4915643. |
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
158 |
|
1058 | 159 |
* Thu Aug 14 2003 - <[email protected]> |
160 |
- move lib*.so to -devel, remove *.a, *.la |
|
161 |
||
1003 | 162 |
* Thu Aug 07 2003 - [email protected] |
163 |
- Update tarball, reset release, bump version. |
|
164 |
||
759 | 165 |
* Thu Jul 24 2003 - [email protected] |
166 |
- added libgnome-04-background.diff |
|
1003 | 167 |
|
523 | 168 |
* Thu Jul 10 2003 - [email protected] |
169 |
- Added .po tarball |
|
170 |
||
421 | 171 |
* Thu Jul 03 2003 - [email protected] |
172 |
- Remove the joint theme/background patch and separate them |
|
173 |
out |
|
174 |
||
37 | 175 |
* Wed Apr 30 2003 - [email protected] |
150 | 176 |
- Create new spec file for libgnome |