1
0
gnome-settings-daemon/gnome-settings-daemon.spec

187 lines
6.3 KiB
RPMSpec

#
# spec file for package gnome-settings-daemon (Version 2.21.90.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gnome-settings-daemon
%define _name gnome-settings-daemon
BuildRequires: fdupes gnome-common gnome-desktop-devel gnome-patch-translation gstreamer-0_10-plugins-base-devel intltool libglade2-devel libgnomekbd-devel update-desktop-files xorg-x11
License: GPL v2 or later
Group: System/GUI/GNOME
Version: 2.21.90.2
Release: 1
Summary: Settings daemon for the GNOME desktop
Source: %{_name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE gnome-settings-daemon-default-config.patch
Patch1: %{name}-default-config.patch
# PATCH-NEEDS-REBASE gnome-settings-daemon-system-proxy-configuration.patch
Patch2: %{name}-system-proxy-configuration.patch
# PATCH-NEEDS-REBASE gnome-settings-daemon-default-keybindings.patch
Patch3: %{name}-default-keybindings.patch
Url: http://www.gnome.org
Requires: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
%gconf_schemas_prereq
%description
gnome-settings-daemon provides a daemon run by all GNOME sessions to
provide live access to configuration settings and the changes done to
them as well as basic services like a clipboard manager, controlling
the startup of the screensaver, etc.
This module was previously part of GNOME Control Center, but has been
splitted from it for a more general use.
Authors:
--------
Jonathan Blandford <jrb@redhat.com>
William Jon McCann <mccann@jhu.edu>
Rodrigo Moya <rodrigo@gnome-db.org>
Denis Washington <denisw@svn.gnome.org>
%package devel
Summary: Development package for the GNOME settings daemon
Group: System/GUI/GNOME
AutoReqProv: on
Requires: %{name} = %{version} dbus-1-devel glib2-devel gtk2-devel gnome-desktop-devel gnome-menus-devel
%description devel
gnome-settings-daemon provides a daemon run by all GNOME sessions to
provide live access to configuration settings and the changes done to
them as well as basic services like a clipboard manager, controlling
the startup of the screensaver, etc.
This package includes header files used for client applications to
contact the settings daemon via its DBus interface.
Authors:
--------
Jonathan Blandford <jrb@redhat.com>
William Jon McCann <mccann@jhu.edu>
Rodrigo Moya <rodrigo@gnome-db.org>
Denis Washington <denisw@svn.gnome.org>
%lang_package
%prep
%setup -q -n %{_name}-%{version}
#gnome-patch-translation-prepare
%patch1
#%patch2
#%patch3
#gnome-patch-translation-update
%build
autoreconf -f -i
# needed for control-center-2.16.1:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
--libexecdir=%{_prefix}/lib/gnome-settings-daemon\
--disable-static\
--disable-scrollkeeper\
--disable-update-mimedb
make %{?jobs:-j%jobs}
%install
%makeinstall
# DESTDIR=$RPM_BUILD_ROOT mime-info-to-mime
# oh dear
%find_lang %{_name}
%find_gconf_schemas
cat %{name}.schemas_list >gnome-%{name}.lst
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%post
/sbin/ldconfig
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_datadir}/dbus-1/services/org.gnome.SettingsDaemon.service
%dir %{_datadir}/gnome-settings-daemon
%dir %{_datadir}/gnome-settings-daemon/xrdb
%{_datadir}/gnome-settings-daemon/xrdb/*.ad
%dir %{_prefix}/lib/gnome-settings-daemon
%{_prefix}/lib/gnome-settings-daemon/gnome-settings-daemon
%dir %{_libdir}/gnome-settings-daemon
%dir %{_libdir}/gnome-settings-daemon/plugins
%{_libdir}/gnome-settings-daemon/plugins/*
%dir %{_libdir}/gnome-settings-daemon/plugins/a11y-keyboard
%{_libdir}/gnome-settings-daemon/plugins/a11y-keyboard/*
%dir %{_libdir}/gnome-settings-daemon/plugins/background
%{_libdir}/gnome-settings-daemon/plugins/background/*
%dir %{_libdir}/gnome-settings-daemon/plugins/clipboard
%{_libdir}/gnome-settings-daemon/plugins/clipboard/*
%dir %{_libdir}/gnome-settings-daemon/plugins/default-editor
%{_libdir}/gnome-settings-daemon/plugins/default-editor/*
%dir %{_libdir}/gnome-settings-daemon/plugins/dummy
%{_libdir}/gnome-settings-daemon/plugins/dummy/*
%dir %{_libdir}/gnome-settings-daemon/plugins/font
%{_libdir}/gnome-settings-daemon/plugins/font/*
%dir %{_libdir}/gnome-settings-daemon/plugins/keybindings
%{_libdir}/gnome-settings-daemon/plugins/keybindings/*
%dir %{_libdir}/gnome-settings-daemon/plugins/keyboard
%{_libdir}/gnome-settings-daemon/plugins/keyboard/*
%dir %{_libdir}/gnome-settings-daemon/plugins/media-keys
%{_libdir}/gnome-settings-daemon/plugins/media-keys/*
%dir %{_libdir}/gnome-settings-daemon/plugins/mouse
%{_libdir}/gnome-settings-daemon/plugins/mouse/*
%dir %{_libdir}/gnome-settings-daemon/plugins/screensaver
%{_libdir}/gnome-settings-daemon/plugins/screensaver/*
%dir %{_libdir}/gnome-settings-daemon/plugins/sound
%{_libdir}/gnome-settings-daemon/plugins/sound/*
%dir %{_libdir}/gnome-settings-daemon/plugins/typing-break
%{_libdir}/gnome-settings-daemon/plugins/typing-break/*
%dir %{_libdir}/gnome-settings-daemon/plugins/xrandr
%{_libdir}/gnome-settings-daemon/plugins/xrandr/*
%dir %{_libdir}/gnome-settings-daemon/plugins/xrdb
%{_libdir}/gnome-settings-daemon/plugins/xrdb/*
%dir %{_libdir}/gnome-settings-daemon/plugins/xsettings
%{_libdir}/gnome-settings-daemon/plugins/xsettings/*
%{_sysconfdir}/gconf/schemas/*
%files lang -f %{_name}.lang
%files devel
%defattr (-, root, root)
%dir %{_includedir}/gnome-settings-daemon-2.0
%{_includedir}/gnome-settings-daemon-2.0/*
%{_libdir}/pkgconfig/*.pc
%changelog
* Fri Feb 01 2008 rodrigo@suse.de
- Update to version 2.21.90.2:
* Use correct binary path in DBus service file
* Updated translations
* Fri Jan 25 2008 rodrigo@suse.de
- Added missing unpackaged files
- Depend on gstreamer-0_10-plugins-base-devel for the sound module
* Wed Jan 16 2008 rodrigo@suse.de
- Disabled patches that need rebase.
- No need for gnome-patch-translation
- Updated BuildRequires
* Wed Jan 16 2008 rodrigo@suse.de
- First version of new gnome-settings-daemon package.