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