|
@@ -1,18 +1,18 @@
|
|
Summary: The MATE Settings daemon
|
|
Summary: The MATE Settings daemon
|
|
Name: mate-settings-daemon
|
|
Name: mate-settings-daemon
|
|
-Version: 1.4.0
|
|
+Version: 1.6.0
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
-Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
|
|
+Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
|
|
License: GPLv2
|
|
License: GPLv2
|
|
Group: System Environment/Daemons
|
|
Group: System Environment/Daemons
|
|
URL: http://mate-desktop.org/
|
|
URL: http://mate-desktop.org/
|
|
|
|
|
|
BuildRequires: mate-common
|
|
BuildRequires: mate-common
|
|
-BuildRequires: mate-conf-devel
|
|
|
|
BuildRequires: mate-desktop-devel
|
|
BuildRequires: mate-desktop-devel
|
|
-BuildRequires: libmatenotify-devel
|
|
|
|
BuildRequires: libmatekbd-devel
|
|
BuildRequires: libmatekbd-devel
|
|
BuildRequires: gtk2-devel
|
|
BuildRequires: gtk2-devel
|
|
|
|
+BuildRequires: dconf-devel
|
|
|
|
+BuildRequires: libnotify-devel
|
|
BuildRequires: dbus-glib-devel
|
|
BuildRequires: dbus-glib-devel
|
|
BuildRequires: libSM-devel
|
|
BuildRequires: libSM-devel
|
|
BuildRequires: libXxf86misc-devel
|
|
BuildRequires: libXxf86misc-devel
|
|
@@ -24,7 +24,8 @@ BuildRequires: gtk-doc
|
|
BuildRequires: autoconf
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: automake
|
|
|
|
|
|
-Requires(post,pre,preun): mate-conf
|
|
+Requires(posttrans,postun): glib2
|
|
|
|
+Requires(post,postun): gtk2
|
|
Requires(post,postun): desktop-file-utils
|
|
Requires(post,postun): desktop-file-utils
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
@@ -35,7 +36,7 @@ Packager: Takemikaduchi
|
|
|
|
|
|
|
|
|
|
%description
|
|
%description
|
|
-
|
|
+%{summary}
|
|
|
|
|
|
%package devel
|
|
%package devel
|
|
Summary: Development tools for mate-settings-daemon
|
|
Summary: Development tools for mate-settings-daemon
|
|
@@ -57,8 +58,7 @@ mate-settings-daemon.
|
|
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
|
|
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
|
|
%configure \
|
|
%configure \
|
|
--libexecdir=%{_libexecdir}/mate \
|
|
--libexecdir=%{_libexecdir}/mate \
|
|
- --disable-static \
|
|
+ --disable-static
|
|
- --disable-scrollkeeper
|
|
|
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
@@ -66,9 +66,7 @@ mate-settings-daemon.
|
|
%install
|
|
%install
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
-export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
|
|
%{__make} install DESTDIR=${RPM_BUILD_ROOT}
|
|
%{__make} install DESTDIR=${RPM_BUILD_ROOT}
|
|
-unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
@@ -82,95 +80,58 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
|
|
|
|
%post
|
|
%post
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
-
|
|
|
|
-export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
|
|
|
|
-
|
|
|
|
-SCHEMAS=" \
|
|
|
|
- apps_mate_settings_daemon_housekeeping.schemas \
|
|
|
|
- apps_mate_settings_daemon_keybindings.schemas \
|
|
|
|
- apps_mate_settings_daemon_xrandr.schemas \
|
|
|
|
- desktop_mate_font_rendering.schemas \
|
|
|
|
- desktop_mate_keybindings.schemas \
|
|
|
|
- desktop_mate_peripherals_smartcard.schemas \
|
|
|
|
- desktop_mate_peripherals_touchpad.schemas \
|
|
|
|
- mate-settings-daemon.schemas"
|
|
|
|
-for S in $SCHEMAS; do
|
|
|
|
- echo %{_sysconfdir}/mateconf/schemas/$S; done \
|
|
|
|
- | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
|
|
|
|
-
|
|
|
|
update-desktop-database %{_datadir}/applications >& /dev/null ||:
|
|
update-desktop-database %{_datadir}/applications >& /dev/null ||:
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
+gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
|
|
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
-%pre
|
|
|
|
-if [ "$1" -gt 1 ]; then
|
|
|
|
- export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
|
|
|
|
-
|
|
|
|
- SCHEMAS=" \
|
|
|
|
- apps_mate_settings_daemon_housekeeping.schemas \
|
|
|
|
- apps_mate_settings_daemon_keybindings.schemas \
|
|
|
|
- apps_mate_settings_daemon_xrandr.schemas \
|
|
|
|
- desktop_mate_font_rendering.schemas \
|
|
|
|
- desktop_mate_keybindings.schemas \
|
|
|
|
- desktop_mate_peripherals_smartcard.schemas \
|
|
|
|
- desktop_mate_peripherals_touchpad.schemas \
|
|
|
|
- mate-settings-daemon.schemas"
|
|
|
|
- for S in $SCHEMAS; do
|
|
|
|
- echo %{_sysconfdir}/mateconf/schemas/$S; done \
|
|
|
|
- | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
-%preun
|
|
|
|
-if [ "$1" -eq 0 ]; then
|
|
|
|
- export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
|
|
|
|
-
|
|
|
|
- SCHEMAS=" \
|
|
|
|
- apps_mate_settings_daemon_housekeeping.schemas \
|
|
|
|
- apps_mate_settings_daemon_keybindings.schemas \
|
|
|
|
- apps_mate_settings_daemon_xrandr.schemas \
|
|
|
|
- desktop_mate_font_rendering.schemas \
|
|
|
|
- desktop_mate_keybindings.schemas \
|
|
|
|
- desktop_mate_peripherals_smartcard.schemas \
|
|
|
|
- desktop_mate_peripherals_touchpad.schemas \
|
|
|
|
- mate-settings-daemon.schemas"
|
|
|
|
- for S in $SCHEMAS; do
|
|
|
|
- echo %{_sysconfdir}/mateconf/schemas/$S; done \
|
|
|
|
- | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
|
|
|
|
-fi
|
|
|
|
|
|
|
|
%postun
|
|
%postun
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
-update-desktop-database %{_datadir}/applications >& /dev/null ||:
|
|
+if [ $1 -eq 0 ]; then
|
|
-touch --no-create %{_datadir}/icons/hicolor
|
|
+ update-desktop-database %{_datadir}/applications >& /dev/null ||:
|
|
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
+ touch --no-create %{_datadir}/icons/hicolor
|
|
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
|
|
+ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
|
|
|
|
+ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+%posttrans
|
|
|
|
+glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
|
|
+
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING ChangeLog NEWS README
|
|
%doc COPYING ChangeLog NEWS README
|
|
%{_sysconfdir}/dbus-1/system.d/org.mate.SettingsDaemon.DateTimeMechanism.conf
|
|
%{_sysconfdir}/dbus-1/system.d/org.mate.SettingsDaemon.DateTimeMechanism.conf
|
|
-%{_sysconfdir}/mateconf/schemas/apps_mate_settings_daemon_housekeeping.schemas
|
|
|
|
-%{_sysconfdir}/mateconf/schemas/apps_mate_settings_daemon_keybindings.schemas
|
|
|
|
-%{_sysconfdir}/mateconf/schemas/apps_mate_settings_daemon_xrandr.schemas
|
|
|
|
-%{_sysconfdir}/mateconf/schemas/desktop_mate_font_rendering.schemas
|
|
|
|
-%{_sysconfdir}/mateconf/schemas/desktop_mate_keybindings.schemas
|
|
|
|
-%{_sysconfdir}/mateconf/schemas/desktop_mate_peripherals_smartcard.schemas
|
|
|
|
-%{_sysconfdir}/mateconf/schemas/desktop_mate_peripherals_touchpad.schemas
|
|
|
|
-%{_sysconfdir}/mateconf/schemas/mate-settings-daemon.schemas
|
|
|
|
%{_sysconfdir}/xdg/autostart/mate-settings-daemon.desktop
|
|
%{_sysconfdir}/xdg/autostart/mate-settings-daemon.desktop
|
|
-%{_libdir}/%{name}-%{version}
|
|
+%{_libdir}/%{name}
|
|
%{_libexecdir}/mate/mate-settings-daemon
|
|
%{_libexecdir}/mate/mate-settings-daemon
|
|
%{_libexecdir}/mate/msd-locate-pointer
|
|
%{_libexecdir}/mate/msd-locate-pointer
|
|
%{_libexecdir}/mate/msd-datetime-mechanism
|
|
%{_libexecdir}/mate/msd-datetime-mechanism
|
|
|
|
+%{_datadir}/MateConf/gsettings/mate-settings-daemon.convert
|
|
%{_datadir}/dbus-1/services/org.mate.SettingsDaemon.service
|
|
%{_datadir}/dbus-1/services/org.mate.SettingsDaemon.service
|
|
%{_datadir}/dbus-1/system-services/org.mate.SettingsDaemon.DateTimeMechanism.service
|
|
%{_datadir}/dbus-1/system-services/org.mate.SettingsDaemon.DateTimeMechanism.service
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.a11y-keyboard.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.background.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.clipboard.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.datetime.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.housekeeping.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.keybindings.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.keyboard.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.media-keys.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.mouse.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.mpris.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.smartcard.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.sound.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.typing-break.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.xrandr.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.xrdb.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.SettingsDaemon.plugins.xsettings.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.applications-at.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.font-rendering.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.keybindings.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.peripherals-smartcard.gschema.xml
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.mate.peripherals-touchpad.gschema.xml
|
|
%{_datadir}/icons/mate/*/*/*
|
|
%{_datadir}/icons/mate/*/*/*
|
|
%{_datadir}/%{name}
|
|
%{_datadir}/%{name}
|
|
-%{_datadir}/mate-control-center/keybindings/50-accessibility.xml
|
|
|
|
%{_datadir}/polkit-1/actions/org.mate.settingsdaemon.datetimemechanism.policy
|
|
%{_datadir}/polkit-1/actions/org.mate.settingsdaemon.datetimemechanism.policy
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
@@ -180,6 +141,11 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
|
|
|
|
+- new upstream release
|
|
|
|
+- remove BuildRequires: mate-conf-devel, libmatenotify-devel
|
|
|
|
+- add BuildRequires: libnotify-devel, dconf-devel
|
|
|
|
+
|
|
* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
|
|
* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|