71
|
1 |
#
|
|
2 |
# spec file for package control-center (Version 2.2.1)
|
|
3 |
#
|
|
4 |
# Copyright (c) 2003 Sun Microsystems Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
|
|
9 |
Name: control-center
|
|
10 |
License: GPL
|
|
11 |
Group: System/GUI/GNOME
|
|
12 |
Autoreqprov: on
|
|
13 |
Version: 2.2.1
|
|
14 |
Release: 01
|
|
15 |
Distribution: Mercury
|
|
16 |
Vendor: Sun Microsystems Inc.
|
|
17 |
Summary: The GNOME control center for GNOME 2.2
|
|
18 |
Source: control-center-%{version}.tar.bz2
|
|
19 |
URL: http://www.gnome.org
|
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
21 |
Docdir: %{_defaultdocdir}/control-center2
|
|
22 |
PreReq: filesystem
|
|
23 |
|
|
24 |
%description
|
|
25 |
This package contains the new control-center for the GNOME 2.0 desktop.
|
|
26 |
|
|
27 |
%prep
|
|
28 |
%setup -q -n control-center-%{version}
|
|
29 |
|
|
30 |
%build
|
|
31 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
32 |
./configure \
|
|
33 |
--prefix=%{_prefix} \
|
|
34 |
--libdir=%{_prefix}/%_lib \
|
|
35 |
--sysconfdir=%{_sysconfdir} \
|
|
36 |
--datadir=%{_prefix}/share \
|
|
37 |
--localstatedir=/var/lib \
|
|
38 |
--with-kde-datadir=/opt/kde \
|
|
39 |
--enable-platform-gnome2 \
|
|
40 |
--disable-gtk-doc
|
|
41 |
make
|
|
42 |
|
|
43 |
%install
|
|
44 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
45 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
46 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
47 |
|
|
48 |
%post
|
|
49 |
%run_ldconfig
|
|
50 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
86
|
51 |
SCHEMAS="apps_gnome_settings_daemon_default_editor.schemas apps_gnome_settings_daemon_screensaver.schemas desktop_gnome_font_rendering.schemas"
|
71
|
52 |
for S in $SCHEMAS; do
|
|
53 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
|
|
54 |
done
|
|
55 |
|
|
56 |
%clean
|
|
57 |
rm -rf $RPM_BUILD_ROOT
|
|
58 |
|
|
59 |
%files
|
|
60 |
%defattr(-,root,root)
|
|
61 |
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
62 |
%defattr (-, root, root)
|
|
63 |
%{_prefix}/bin/*
|
|
64 |
%{_prefix}/share/locale/*/LC_MESSAGES/*.mo
|
|
65 |
%{_prefix}/share/pixmaps/*
|
|
66 |
%{_prefix}/share/applications/*.desktop
|
|
67 |
%{_prefix}/share/idl/*.idl
|
|
68 |
%{_prefix}/share/control-center-2.0
|
|
69 |
%{_sysconfdir}/gconf/schemas/*.schemas
|
|
70 |
%{_prefix}/share/gnome-2.0/ui/*.xml
|
|
71 |
%{_prefix}/%_lib/
|
|
72 |
|
|
73 |
%changelog -n control-center2
|
|
74 |
* Wed May 14 2003 - [email protected]
|
|
75 |
- initial release
|