gnome-settings-daemon/gnome-settings-daemon.spec

194 lines
6.2 KiB
RPMSpec
Raw Normal View History

2008-01-17 18:38:42 +00:00
Name: gnome-settings-daemon
Version: 2.22.1
Release: 0.2008.03.26.1%{?dist}
2008-01-17 18:38:42 +00:00
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
Group: System Environment/Daemons
License: GPLv2+
URL: http://ftp.gnome.org/pub/gnome/sources/%{name}
2008-03-10 22:08:50 +00:00
Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.22/%{name}-%{version}.tar.bz2
2008-01-17 18:38:42 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(pre): GConf2 >= 2.14
Requires(preun): GConf2 >= 2.14
Requires(post): GConf2 >= 2.14
BuildRequires: dbus-glib-devel
2008-02-29 22:26:07 +00:00
BuildRequires: GConf2-devel
2008-01-17 18:38:42 +00:00
BuildRequires: gtk2-devel
BuildRequires: gnome-vfs2-devel
2008-02-12 19:57:10 +00:00
BuildRequires: gnome-desktop-devel >= 2.21.91
2008-01-17 18:38:42 +00:00
BuildRequires: libglade2-devel
BuildRequires: libgnomeui-devel
BuildRequires: libgnome-devel
BuildRequires: xorg-x11-proto-devel
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-base-devel
BuildRequires: libgnomekbd-devel
BuildRequires: gettext
BuildRequires: perl(XML::Parser)
2008-02-12 19:57:10 +00:00
Patch1: add-randr-12.patch
Patch2: gnome-settings-daemon-2.21.91-ignore-model-if-evdev.patch
2008-02-12 19:57:10 +00:00
2008-01-17 18:38:42 +00:00
%description
2008-02-29 22:26:07 +00:00
A daemon to share settings from GNOME to other applications. It also
2008-01-17 18:38:42 +00:00
handles global keybindings, as well as a number of desktop-wide settings.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Requires: dbus-glib-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
2008-02-12 19:57:10 +00:00
%patch1 -p1 -b .add-randr-12
%patch2 -p1 -b .ignore-layout-if-using-evdev
2008-02-12 19:57:10 +00:00
2008-01-17 18:38:42 +00:00
%build
%configure --enable-static=no --enable-profiling
2008-01-17 18:38:42 +00:00
make %{?_smp_mflags}
cd po
# clean up .po files
make %{name}.pot
for p in *.po; do
msgmerge -U $p %{name}.pot
done
# regenerate .gmo files
make
2008-02-29 22:26:07 +00:00
cd ..
2008-01-17 18:38:42 +00:00
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%find_lang %{name} --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_screensaver.schemas \
%{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas \
%{_sysconfdir}/gconf/schemas/gnome-settings-daemon.schemas \
>& /dev/null || :
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
if [ -f %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas ] ; then
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas \
>& /dev/null || :
fi
2008-01-17 18:38:42 +00:00
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_screensaver.schemas \
%{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas \
%{_sysconfdir}/gconf/schemas/gnome-settings-daemon.schemas \
>& /dev/null || :
fi
%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
if [ -f %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas ] ; then
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas \
>& /dev/null || :
fi
2008-01-17 18:38:42 +00:00
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_screensaver.schemas \
%{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas \
%{_sysconfdir}/gconf/schemas/gnome-settings-daemon.schemas \
>& /dev/null || :
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
2008-02-29 22:26:07 +00:00
%doc AUTHORS COPYING NEWS
2008-01-17 18:38:42 +00:00
%{_sysconfdir}/gconf/schemas/*
2008-02-12 00:23:59 +00:00
%{_libdir}/gnome-settings-daemon-2.0
2008-01-17 18:38:42 +00:00
%{_libexecdir}/gnome-settings-daemon
%{_datadir}/gnome-settings-daemon/
%{_datadir}/dbus-1/services/org.gnome.SettingsDaemon.service
%files devel
%defattr(-,root,root,-)
%{_includedir}/gnome-settings-daemon-2.0
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
%changelog
* Wed Mar 26 2008 Jon McCann <jmccann@redhat.com> - 2.22.1-0.2008.03.26.1
- Update to snapshot
- Enable profiling
* Wed Mar 26 2008 - Bastien Nocera <bnocera@redhat.com> - 2.22.0-3
- apps_gnome_settings_daemon_default_editor.schemas is obsolete (#438937)
* Thu Mar 20 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-2
- Fix interaction between "Locate Pointer" and volume keys
2008-03-10 22:08:50 +00:00
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-1
- Update to 2.22.0
* Sun Mar 9 2008 Ray Strode <rstrode@redhat.com> - 2.21.92-3
- Don't set keyboard model on startup from gconf if evdev is being used.
Evdev needs to use its own keyboard model to work right.
2008-03-02 22:21:35 +00:00
* Sun Mar 2 2008 Soren Sandmann <sandmann@redhat.com> - 2.21.92-2
- Update randr patch to handle video key
2008-02-29 22:26:07 +00:00
* Fri Feb 29 2008 Jon McCann <jmccann@redhat.com> - 2.21.92-1
- Update to 2.21.92
2008-02-12 19:57:10 +00:00
* Tue Feb 12 2008 Soren Sandmann <sandmann@redhat.com> - 2.21.91-3
- Add patch to make the xrandr plugin listen for client messages from
the control panel and reread the configuration file.
* Mon Feb 11 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.91-2
- Remove obsolete control-center translations
* Mon Feb 11 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.91-1
- Update to 2.21.91
- Remove obsolete patches
2008-02-08 03:54:28 +00:00
* Thu Feb 7 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.90.1-3
- Load xkb settings initially
* Thu Jan 31 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90.1-2
- Fix the path for g-s-d, from upstream patch
2008-01-29 17:41:38 +00:00
* Tue Jan 29 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90.1-1
- Update to 2.21.90.1
2008-01-29 15:05:43 +00:00
* Tue Jan 29 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90-1
- Update to 2.21.90
2008-01-17 18:38:42 +00:00
* Tue Jan 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5.2-2
- Incorporate review feedback (#428833)
* Tue Jan 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5.2-1
- Update to 2.21.5.2
* Tue Jan 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5.1-1
- Update to 2.21.5.1
- Fix up BuildRequires
* Thu Dec 06 2007 - Bastien Nocera <bnocera@redhat.com> - 2.21.5-1
- First package