2008-01-28 04:34:00 +01:00
#
2009-09-04 02:03:30 +02:00
# spec file for package gnome-settings-daemon (Version 2.27.90)
2008-01-28 04:34:00 +01:00
#
2009-01-12 01:52:44 +01:00
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
2008-01-28 04:34:00 +01:00
#
2008-08-15 23:38:13 +02:00
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2008-01-28 04:34:00 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2009-09-04 02:03:30 +02:00
# norootforbuild
2008-01-28 04:34:00 +01:00
2008-02-21 01:53:40 +01:00
2008-01-28 04:34:00 +01:00
Name : gnome-settings-daemon
%define _name gnome-settings-daemon
2009-09-04 02:03:30 +02:00
BuildRequires : fdupes
BuildRequires : gnome-common
BuildRequires : gnome-desktop-devel
BuildRequires : gnome-patch-translation
BuildRequires : intltool
BuildRequires : libgnomekbd-devel
BuildRequires : libnotify-devel
BuildRequires : libpulse-devel
BuildRequires : update-desktop-files
BuildRequires : xorg-x11
2009-08-28 10:41:50 +02:00
License : GPL v2 or later
Group : System/GUI/GNOME
2009-09-04 02:03:30 +02:00
Version : 2.27.90
Release : 1
Summary : Settings daemon for the GNOME desktop
2008-01-28 04:34:00 +01:00
Source : %{_name}-%{version} .tar.bz2
2008-08-15 23:38:13 +02:00
# PATCH-FEATURE-OPENSUSE gnome-settings-daemon-system-proxy-configuration.diff
Patch2 : gnome-settings-daemon-system-proxy-configuration.diff
2008-09-26 15:22:41 +02:00
# PATCH-FIX-UPSTREAM gnome-settings-daemon-bnc427745-force-dpi.patch bnc427745 bgo553652 vuntz@novell.com -- Force the DPI to 96 right now to avoid big fonts.
Patch6 : gnome-settings-daemon-bnc427745-force-dpi.patch
2009-02-07 00:58:13 +01:00
# PATCH-FEATURE-UPSTREAM gnome-settings-daemon-apport-monitor.patch bnc439203 jblunck@novell.com -- Add apport monitoring plugin.
2008-11-03 12:08:40 +01:00
Patch8 : gnome-settings-daemon-apport-monitor.patch
2009-02-20 22:09:29 +01:00
# PATCH-FEATURE-UPSTREAM gnome-settings-daemon-bnc462640-mute-action.patch bnc462640 bgo572365 vuntz@novell.com -- Mute button should always mute sound instead of toggling mute status
Patch10 : gnome-settings-daemon-bnc462640-mute-action.patch
2009-07-31 19:33:52 +02:00
# PATCH-NEEDS-REBASE gnome-settings-daemon-bnc461755-randr-rotate-wacom.diff bnc461755 federico@novell.com - Add the option of rotating a Wacom tablet when rotating the monitor with RANDR (was PATCH-FEATURE-OPENSUSE)
2009-05-28 03:05:55 +02:00
Patch11 : gnome-settings-daemon-bnc461755-randr-rotate-wacom.diff
2009-07-31 19:33:52 +02:00
# PATCH-FIX-UPSTREAM gnome-settings-daemon-activate-xkb-with-broken.patch bgo585868 vuntz@novell.com -- Make sure we activate the right layout when broken layouts are in gconf
Patch12 : gnome-settings-daemon-activate-xkb-with-broken.patch
2009-06-12 18:05:33 +02:00
# PATCH-FIX-UPSTREAM # gnome-settings-daemon-try-harder-gdm-layout.patch bgo585290 vuntz@novell.com -- Try harder to use the keyboard layout passed from GDM
2009-07-31 19:33:52 +02:00
Patch13 : gnome-settings-daemon-try-harder-gdm-layout.patch
2009-09-04 02:03:30 +02:00
Url : http://www.gnome.org
2008-01-28 04:34:00 +01:00
Requires : %{name} -lang = %{version}
2008-09-09 22:09:46 +02:00
Obsoletes : resapplet
2008-01-28 04:34:00 +01:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
%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.
2009-09-04 02:03:30 +02:00
Authors:
--------
Jonathan Blandford <jrb@redhat.com>
William Jon McCann <mccann@jhu.edu>
Rodrigo Moya <rodrigo@gnome-db.org>
Denis Washington <denisw@svn.gnome.org>
2008-01-28 04:34:00 +01:00
%package devel
2008-04-11 22:58:08 +02:00
License : GPL v2 or later
2008-01-28 04:34:00 +01:00
Summary : Development package for the GNOME settings daemon
Group : System/GUI/GNOME
2009-09-04 02:03:30 +02:00
AutoReqProv : on
Requires : %{name} = %{version} dbus-1-devel dbus-1-glib-devel glib2-devel gtk2-devel gnome-desktop-devel gnome-menus-devel
2008-01-28 04:34:00 +01:00
%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.
2009-09-04 02:03:30 +02:00
Authors:
--------
Jonathan Blandford <jrb@redhat.com>
William Jon McCann <mccann@jhu.edu>
Rodrigo Moya <rodrigo@gnome-db.org>
Denis Washington <denisw@svn.gnome.org>
2008-01-28 04:34:00 +01:00
%lang_package
%prep
%setup -q -n %{_name}-%{version}
2008-10-23 22:28:48 +02:00
gnome-patch-translation-prepare
2008-08-15 23:38:13 +02:00
%patch2 -p1
2008-09-26 15:22:41 +02:00
%patch6 -p1
2008-11-03 12:08:40 +01:00
%patch8 -p1
2009-02-20 22:09:29 +01:00
%patch10 -p1
2009-07-31 19:33:52 +02:00
# PATCH-NEEDS-REBASE
#%patch11 -p1
2009-06-12 18:05:33 +02:00
%patch12 -p1
%patch13 -p1
2008-10-23 22:28:48 +02:00
gnome-patch-translation-update
2008-01-28 04:34:00 +01:00
%build
autoreconf -f -i
%configure \
--libexecdir=%{_prefix} /lib/gnome-settings-daemon\
--disable-static\
--disable-scrollkeeper\
--disable-update-mimedb
make %{?jobs:-j%jobs}
%install
%makeinstall
2009-09-04 02:03:30 +02:00
rm $RPM_BUILD_ROOT /%{_libdir} /gnome-settings-daemon-2.0/*.*a
2009-02-07 00:58:13 +01:00
%suse_update_desktop_file gnome-settings-daemon
2008-01-28 04:34:00 +01:00
%find_lang %{_name}
%find_gconf_schemas
cat %{name} .schemas_list >gnome-%{name} .lst
2009-09-04 02:03:30 +02:00
%fdupes $RPM_BUILD_ROOT
2008-01-28 04:34:00 +01:00
%clean
2009-09-04 02:03:30 +02:00
rm -rf $RPM_BUILD_ROOT
2008-01-28 04:34:00 +01:00
2008-02-21 01:53:40 +01:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
2008-01-28 04:34:00 +01:00
2008-02-21 01:53:40 +01:00
%pre -f %{name}.schemas_pre
2009-07-31 19:33:52 +02:00
2008-01-28 04:34:00 +01:00
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
2008-02-21 01:53:40 +01:00
%files -f gnome-%{name}.lst
2008-01-28 04:34:00 +01:00
%defattr (-,root,root)
2008-08-18 18:37:47 +02:00
%doc AUTHORS COPYING ChangeLog NEWS
2008-01-28 04:34:00 +01:00
%{_datadir} /dbus-1/services/org.gnome.SettingsDaemon.service
2008-02-21 01:53:40 +01:00
%{_datadir} /gnome-settings-daemon
%{_prefix} /lib/gnome-settings-daemon
%{_libdir} /gnome-settings-daemon-2.0
2008-06-25 19:24:22 +02:00
%{_sysconfdir} /xdg/autostart/*.desktop
2008-08-18 18:37:47 +02:00
%{_datadir} /icons/*/*/*
2009-03-25 18:27:06 +01:00
# Own the directories to avoid a build dependency on gnome-control-center
# (which creates a loop)
%dir %{_datadir} /gnome-control-center
%dir %{_datadir} /gnome-control-center/keybindings
2009-02-16 01:20:58 +01:00
%{_datadir} /gnome-control-center/keybindings/50-accessibility.xml
2008-01-28 04:34:00 +01:00
%files lang -f %{_name}.lang
%files devel
%defattr (-, root, root)
2008-02-21 01:53:40 +01:00
%{_includedir} /gnome-settings-daemon-2.0
2008-01-28 04:34:00 +01:00
%{_libdir} /pkgconfig/*.pc
%changelog