author | erwannc |
Wed, 03 Sep 2003 11:53:05 +0000 | |
changeset 1116 | 234a4cdec668 |
parent 1115 | d2c062bf5cb6 |
child 1119 | 3efad2671fd8 |
permissions | -rw-r--r-- |
37 | 1 |
Name: libgnome |
2 |
License: LGPL |
|
150 | 3 |
Group: System/Libraries/GNOME |
1003 | 4 |
Version: 2.2.3 |
1116 | 5 |
Release: 11 |
37 | 6 |
Distribution: Mercury |
575 | 7 |
Vendor: Sun Microsystems, Inc. |
150 | 8 |
Summary: GNOME Base Library |
1001 | 9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libgnome/2.2/libgnome-%{version}.tar.bz2 |
792 | 10 |
Source1: backgrounds.tar.bz2 |
523 | 11 |
Source2: libgnome-l10n-po.tar.bz2 |
1116 | 12 |
Source3: Sun-Default.png |
420 | 13 |
Patch0: libgnome-01-default-background.diff |
424 | 14 |
Patch1: libgnome-02-default-theme.diff |
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
15 |
Patch2: libgnome-03-potfiles_in.diff |
150 | 16 |
URL: http://www.gnome.org |
37 | 17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
150 | 18 |
Docdir: %{_defaultdocdir}/doc |
19 |
Autoreqprov: on |
|
1080 | 20 |
Prereq: /sbin/ldconfig |
150 | 21 |
|
195 | 22 |
%define GConf_version 2.2.0 |
23 |
%define gnome_vfs_version 2.2.3 |
|
24 |
%define libbonobo_version 2.2.1 |
|
25 |
%define libxslt_version 1.0.19 |
|
26 |
%define audiofile_version 0.2.3 |
|
27 |
%define esound_version 0.2.28 |
|
28 |
%define gtk_doc_version 1.0 |
|
29 |
%define popt_version 1.6.4 |
|
30 |
||
31 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
32 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
33 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
34 |
BuildRequires: libxslt-devel >= %{libxslt_version} |
|
35 |
BuildRequires: esound-devel >= %{esound_version} |
|
36 |
BuildRequires: audiofile-devel >= %{audiofile_version} |
|
37 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
38 |
BuildRequires: popt-devel >= %{popt_version} |
|
39 |
Requires: GConf >= %{GConf_version} |
|
40 |
Requires: libbonobo >= %{libbonobo_version} |
|
41 |
Requires: esound >= %{esound_version} |
|
42 |
Requires: audiofile >= %{audiofile_version} |
|
43 |
Requires: libxslt >= %{libxslt_version} |
|
37 | 44 |
|
45 |
%description |
|
150 | 46 |
libgnome is one of the base GNOME libraries, containing convenient API for |
47 |
configuration, help, initialization and web links, all specific to the |
|
48 |
GNOME desktop. |
|
49 |
||
50 |
%package devel |
|
152 | 51 |
Summary: GNOME Base Development Library |
150 | 52 |
Group: Development/Libraries/GNOME |
53 |
Requires: %name = %version-%release |
|
195 | 54 |
Requires: popt-devel >= %{popt_version} |
55 |
Requires: libbonobo-devel >= %{libbonobo_version} |
|
150 | 56 |
|
57 |
%description devel |
|
58 |
libgnome is one of the base GNOME libraries, containing convenient API for |
|
59 |
configuration, help, initialization and web links, all specific to the |
|
60 |
GNOME desktop. |
|
37 | 61 |
|
62 |
%prep |
|
150 | 63 |
%setup |
421 | 64 |
%patch0 |
424 | 65 |
%patch1 -p1 |
759 | 66 |
tar -jxf %SOURCE1 |
523 | 67 |
tar -jxf %SOURCE2 |
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
68 |
%patch2 -p1 |
128 | 69 |
|
37 | 70 |
%build |
605 | 71 |
CFLAGS="$RPM_OPT_FLAGS" \ |
152 | 72 |
./configure --prefix=%{_prefix} \ |
195 | 73 |
--sysconfdir=%{_sysconfdir} \ |
74 |
--disable-gtk-doc |
|
37 | 75 |
make |
76 |
||
77 |
%install |
|
78 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
150 | 79 |
make DESTDIR=$RPM_BUILD_ROOT install |
37 | 80 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
150 | 81 |
|
376 | 82 |
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/backgrounds |
759 | 83 |
cp $RPM_BUILD_DIR/%{name}-%{version}/backgrounds/* $RPM_BUILD_ROOT/usr/share/pixmaps/backgrounds |
1103 | 84 |
cp %SOURCE3 $RPM_BUILD_ROOT/usr/share/pixmaps/backgrounds |
37 | 85 |
|
86 |
%clean |
|
87 |
rm -rf $RPM_BUILD_ROOT |
|
88 |
||
150 | 89 |
%post |
90 |
/sbin/ldconfig |
|
91 |
SCHEMAS="desktop_gnome_accessibility_keyboard.schemas \ |
|
92 |
desktop_gnome_applications_browser.schemas \ |
|
93 |
desktop_gnome_applications_help_viewer.schemas \ |
|
94 |
desktop_gnome_applications_terminal.schemas \ |
|
95 |
desktop_gnome_applications_window_manager.schemas \ |
|
96 |
desktop_gnome_background.schemas \ |
|
97 |
desktop_gnome_file_views.schemas \ |
|
98 |
desktop_gnome_interface.schemas \ |
|
99 |
desktop_gnome_peripherals_keyboard.schemas \ |
|
100 |
desktop_gnome_peripherals_mouse.schemas \ |
|
101 |
desktop_gnome_sound.schemas \ |
|
102 |
desktop_gnome_thumbnailers.schemas \ |
|
103 |
desktop_gnome_url_handlers.schemas" |
|
104 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
105 |
for S in $SCHEMAS; do |
|
106 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
107 |
done |
|
108 |
||
109 |
%postun |
|
110 |
/sbin/ldconfig |
|
111 |
||
37 | 112 |
%files |
113 |
%defattr(-, root, root) |
|
114 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
195 | 115 |
%{_libdir}/gnome-vfs-2.0/modules/*.so |
37 | 116 |
%{_sysconfdir}/sound/events/*.soundlist |
150 | 117 |
%{_sysconfdir}/gconf/schemas/* |
1058 | 118 |
%{_libdir}/libgnome*so.* |
195 | 119 |
%{_libdir}/bonobo/monikers/*so* |
120 |
%{_libexecdir}/* |
|
422 | 121 |
%{_datadir}/pixmaps/backgrounds/* |
132 | 122 |
|
37 | 123 |
%files devel |
124 |
%defattr(-, root, root) |
|
195 | 125 |
%{_libdir}/pkgconfig/libgnome-2.0.pc |
126 |
%{_includedir}/libgnome-2.0/libgnome/*.h |
|
127 |
%{_datadir}/gtk-doc/* |
|
128 |
%{_datadir}/sgml/* |
|
1058 | 129 |
%{_libdir}/libgnome*so |
37 | 130 |
|
131 |
%changelog -n libgnome |
|
1058 | 132 |
* Thu Aug 14 2003 - <[email protected]> |
133 |
- move lib*.so to -devel, remove *.a, *.la |
|
134 |
||
1003 | 135 |
* Thu Aug 07 2003 - [email protected] |
136 |
- Update tarball, reset release, bump version. |
|
137 |
||
759 | 138 |
* Thu Jul 24 2003 - [email protected] |
139 |
- added libgnome-04-background.diff |
|
1003 | 140 |
|
523 | 141 |
* Thu Jul 10 2003 - [email protected] |
142 |
- Added .po tarball |
|
143 |
||
421 | 144 |
* Thu Jul 03 2003 - [email protected] |
145 |
- Remove the joint theme/background patch and separate them |
|
146 |
out |
|
147 |
||
37 | 148 |
* Wed Apr 30 2003 - [email protected] |
150 | 149 |
- Create new spec file for libgnome |