author | damiend |
Wed, 12 May 2004 16:20:57 +0000 | |
changeset 2736 | bd6e69980863 |
parent 2730 | 0111f70d382e |
child 2777 | 0ef35ba6d287 |
permissions | -rw-r--r-- |
37 | 1 |
Name: libgnome |
2 |
License: LGPL |
|
150 | 3 |
Group: System/Libraries/GNOME |
2269 | 4 |
Version: 2.6.0 |
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2730
diff
changeset
|
5 |
Release: 13 |
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 |
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 |
2402 | 26 |
%define libbonobo_version 2.6.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 %SOURCE2 | tar xf - |
1434 | 67 |
%patch1 -p1 |
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
68 |
%patch2 -p1 |
1120
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
69 |
%patch3 -p1 |
1321 | 70 |
%patch4 -p1 |
128 | 71 |
|
37 | 72 |
%build |
1434 | 73 |
libtoolize --force |
1551 | 74 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros -I . |
1434 | 75 |
autoheader |
76 |
automake -a -c -f |
|
77 |
autoconf |
|
605 | 78 |
CFLAGS="$RPM_OPT_FLAGS" \ |
152 | 79 |
./configure --prefix=%{_prefix} \ |
195 | 80 |
--sysconfdir=%{_sysconfdir} \ |
81 |
--disable-gtk-doc |
|
37 | 82 |
make |
83 |
||
84 |
%install |
|
85 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
150 | 86 |
make DESTDIR=$RPM_BUILD_ROOT install |
37 | 87 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
1522 | 88 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
89 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
150 | 90 |
|
1522 | 91 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/backgrounds |
1554 | 92 |
bzcat %SOURCE1 | (cd $RPM_BUILD_ROOT%{_datadir}/pixmaps; tar -xf -) |
1522 | 93 |
cp %SOURCE3 $RPM_BUILD_ROOT%{_datadir}/pixmaps/backgrounds |
37 | 94 |
|
1434 | 95 |
#Copy zh_HK from zh_TW |
96 |
#Fixes bug 4930405 |
|
1522 | 97 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
98 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
1434 | 99 |
|
37 | 100 |
%clean |
101 |
rm -rf $RPM_BUILD_ROOT |
|
102 |
||
150 | 103 |
%post |
104 |
/sbin/ldconfig |
|
105 |
SCHEMAS="desktop_gnome_accessibility_keyboard.schemas \ |
|
106 |
desktop_gnome_applications_browser.schemas \ |
|
107 |
desktop_gnome_applications_help_viewer.schemas \ |
|
108 |
desktop_gnome_applications_terminal.schemas \ |
|
109 |
desktop_gnome_applications_window_manager.schemas \ |
|
110 |
desktop_gnome_background.schemas \ |
|
111 |
desktop_gnome_file_views.schemas \ |
|
112 |
desktop_gnome_interface.schemas \ |
|
113 |
desktop_gnome_peripherals_keyboard.schemas \ |
|
114 |
desktop_gnome_peripherals_mouse.schemas \ |
|
115 |
desktop_gnome_sound.schemas \ |
|
116 |
desktop_gnome_thumbnailers.schemas \ |
|
1321 | 117 |
desktop_gnome_lockdown.schemas" |
150 | 118 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
119 |
for S in $SCHEMAS; do |
|
120 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
121 |
done |
|
122 |
||
123 |
%postun |
|
124 |
/sbin/ldconfig |
|
125 |
||
37 | 126 |
%files |
127 |
%defattr(-, root, root) |
|
128 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
2620 | 129 |
%{_bindir}/gnome-open |
37 | 130 |
%{_sysconfdir}/sound/events/*.soundlist |
150 | 131 |
%{_sysconfdir}/gconf/schemas/* |
1058 | 132 |
%{_libdir}/libgnome*so.* |
195 | 133 |
%{_libdir}/bonobo/monikers/*so* |
422 | 134 |
%{_datadir}/pixmaps/backgrounds/* |
132 | 135 |
|
37 | 136 |
%files devel |
137 |
%defattr(-, root, root) |
|
195 | 138 |
%{_libdir}/pkgconfig/libgnome-2.0.pc |
139 |
%{_includedir}/libgnome-2.0/libgnome/*.h |
|
140 |
%{_datadir}/gtk-doc/* |
|
1058 | 141 |
%{_libdir}/libgnome*so |
1434 | 142 |
%{_mandir}/man3/* |
37 | 143 |
|
1434 | 144 |
%changelog |
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2730
diff
changeset
|
145 |
* 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
|
146 |
- 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
|
147 |
|
2730 | 148 |
* Tue May 11 2004 - [email protected] |
149 |
- rename jdshelp script |
|
2656 | 150 |
* Thu May 06 2004 - [email protected] |
151 |
- replacing yelp with jds-help.sh in libgnome-03-lockdown-schemas.diff |
|
2620 | 152 |
* Mon May 3 2004 - [email protected] |
153 |
- Add bindir, so we get the joys of gnome-open |
|
154 |
||
2452 | 155 |
* Wed Apr 14 2004 - [email protected] |
156 |
- Removed desktop_gnome_url_handlers.schemas from spec file. |
|
157 |
||
2350 | 158 |
* Mon Mar 29 2004 - [email protected] |
159 |
- Updated l10n content to libgnome-l10n-po-1.0.tar.bz2 |
|
160 |
||
2269 | 161 |
* Mon Mar 22 2004 - [email protected] |
162 |
- Bump to 2.6.0. Remove the the uninstalled pc patch since |
|
163 |
it's upstream. |
|
164 |
||
2136 | 165 |
* Wed Mar 04 2004 - [email protected] |
166 |
- Bump to 2.5.90, as it contains partial lockdown schema file |
|
167 |
- re-engineer lockdown schema patch |
|
168 |
- Remove the OrigTree.pm hack |
|
169 |
||
170 |
* Mon Feb 23 2004 - [email protected] |
|
171 |
- Bump to 2.5.4 |
|
172 |
||
1554 | 173 |
* Mon Feb 02 2004 - [email protected] |
174 |
- Bump to 2.5.3 |
|
175 |
- Add OrigTree.pm as source 5. |
|
176 |
- Unpack source 1 after build into RPM_BUILD_ROOT (fixes solaris breakage). |
|
177 |
- Add patch to add an -uninstalled.pc file for pkgconfig |
|
1552 | 178 |
|
1556 | 179 |
* Thu Jan 29 2004 - <[email protected]> |
180 |
- Add patch 06 to search in /usr for intltool perl modules |
|
181 |
||
182 |
* Thu Jan 29 2004 - <[email protected]> |
|
183 |
- Add dependency on intltool |
|
184 |
||
1434 | 185 |
* Mon Dec 15 2003 - [email protected] |
186 |
- Bump to 2.5.1 |
|
187 |
||
1321 | 188 |
* Tue Oct 21 2003 - [email protected] |
189 |
- lockdown schema patch |
|
190 |
||
1215 | 191 |
* Wed Oct 08 2003 - [email protected] |
192 |
- Updated for 2.4 |
|
193 |
||
1120
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
194 |
* Fri Sep 05 2003 - [email protected] |
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
195 |
- 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
|
196 |
Fixes bug 4915643. |
cd2d96d894c0
Fixing bug 4915643 (changing default Chinese fonts to make them more legible).
mick
parents:
1119
diff
changeset
|
197 |
|
1058 | 198 |
* Thu Aug 14 2003 - <[email protected]> |
199 |
- move lib*.so to -devel, remove *.a, *.la |
|
200 |
||
1003 | 201 |
* Thu Aug 07 2003 - [email protected] |
202 |
- Update tarball, reset release, bump version. |
|
203 |
||
759 | 204 |
* Thu Jul 24 2003 - [email protected] |
205 |
- added libgnome-04-background.diff |
|
1003 | 206 |
|
523 | 207 |
* Thu Jul 10 2003 - [email protected] |
208 |
- Added .po tarball |
|
209 |
||
421 | 210 |
* Thu Jul 03 2003 - [email protected] |
211 |
- Remove the joint theme/background patch and separate them |
|
212 |
out |
|
213 |
||
37 | 214 |
* Wed Apr 30 2003 - [email protected] |
150 | 215 |
- Create new spec file for libgnome |