[5311] | 1 | Summary: The MATE Settings daemon |
---|
| 2 | Name: mate-settings-daemon |
---|
[6679] | 3 | Version: 1.4.0 |
---|
[6172] | 4 | Release: 1%{?_dist_release} |
---|
[6679] | 5 | Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz |
---|
[5311] | 6 | License: GPLv2 |
---|
[5316] | 7 | Group: System Environment/Daemons |
---|
[6679] | 8 | URL: http://mate-desktop.org/ |
---|
[5311] | 9 | |
---|
| 10 | BuildRequires: mate-common |
---|
| 11 | BuildRequires: mate-conf-devel |
---|
| 12 | BuildRequires: mate-desktop-devel |
---|
| 13 | BuildRequires: libmatenotify-devel |
---|
| 14 | BuildRequires: libmatekbd-devel |
---|
| 15 | BuildRequires: gtk2-devel |
---|
| 16 | BuildRequires: dbus-glib-devel |
---|
| 17 | BuildRequires: libSM-devel |
---|
| 18 | BuildRequires: libXxf86misc-devel |
---|
| 19 | BuildRequires: polkit-devel |
---|
[6172] | 20 | BuildRequires: gstreamer-devel |
---|
| 21 | BuildRequires: gstreamer-plugins-base-devel |
---|
[5311] | 22 | BuildRequires: nss-devel |
---|
| 23 | BuildRequires: gtk-doc |
---|
| 24 | BuildRequires: autoconf |
---|
| 25 | BuildRequires: automake |
---|
| 26 | |
---|
| 27 | Requires(post,pre,preun): mate-conf |
---|
| 28 | Requires(post,postun): desktop-file-utils |
---|
| 29 | |
---|
| 30 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 31 | |
---|
| 32 | Vendor: Project Vine |
---|
| 33 | Distribution: Vine Linux |
---|
| 34 | Packager: Takemikaduchi |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %description |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %package devel |
---|
| 41 | Summary: Development tools for mate-settings-daemon |
---|
| 42 | Summary(ja): mate-settings-daemon の開発環境 |
---|
| 43 | Group: Development/Libraries |
---|
| 44 | Requires: %{name} = %{version}-%{release} |
---|
| 45 | Requires: pkgconfig |
---|
| 46 | |
---|
| 47 | %description devel |
---|
| 48 | Header files and libraries for building a extension library for the |
---|
| 49 | mate-settings-daemon. |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %prep |
---|
| 53 | %setup -q |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %build |
---|
| 57 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 58 | %configure \ |
---|
| 59 | --libexecdir=%{_libexecdir}/mate \ |
---|
| 60 | --disable-static \ |
---|
| 61 | --disable-scrollkeeper |
---|
| 62 | |
---|
| 63 | %{__make} %{?_smp_mflags} |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %install |
---|
| 67 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 68 | |
---|
| 69 | export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
| 70 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 71 | unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
| 72 | |
---|
| 73 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 74 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 75 | |
---|
| 76 | %find_lang %{name} |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %clean |
---|
| 80 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | %post |
---|
| 84 | /sbin/ldconfig |
---|
| 85 | |
---|
| 86 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
| 87 | |
---|
| 88 | SCHEMAS=" \ |
---|
| 89 | apps_mate_settings_daemon_housekeeping.schemas \ |
---|
| 90 | apps_mate_settings_daemon_keybindings.schemas \ |
---|
| 91 | apps_mate_settings_daemon_xrandr.schemas \ |
---|
| 92 | desktop_mate_font_rendering.schemas \ |
---|
| 93 | desktop_mate_keybindings.schemas \ |
---|
| 94 | desktop_mate_peripherals_smartcard.schemas \ |
---|
| 95 | desktop_mate_peripherals_touchpad.schemas \ |
---|
| 96 | mate-settings-daemon.schemas" |
---|
| 97 | for S in $SCHEMAS; do |
---|
| 98 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
| 99 | | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||: |
---|
| 100 | |
---|
| 101 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 102 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 103 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 104 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 105 | fi |
---|
| 106 | |
---|
| 107 | %pre |
---|
| 108 | if [ "$1" -gt 1 ]; then |
---|
| 109 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
| 110 | |
---|
| 111 | SCHEMAS=" \ |
---|
| 112 | apps_mate_settings_daemon_housekeeping.schemas \ |
---|
| 113 | apps_mate_settings_daemon_keybindings.schemas \ |
---|
| 114 | apps_mate_settings_daemon_xrandr.schemas \ |
---|
| 115 | desktop_mate_font_rendering.schemas \ |
---|
| 116 | desktop_mate_keybindings.schemas \ |
---|
| 117 | desktop_mate_peripherals_smartcard.schemas \ |
---|
| 118 | desktop_mate_peripherals_touchpad.schemas \ |
---|
| 119 | mate-settings-daemon.schemas" |
---|
| 120 | for S in $SCHEMAS; do |
---|
| 121 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
| 122 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
| 123 | fi |
---|
| 124 | |
---|
| 125 | %preun |
---|
| 126 | if [ "$1" -eq 0 ]; then |
---|
| 127 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
| 128 | |
---|
| 129 | SCHEMAS=" \ |
---|
| 130 | apps_mate_settings_daemon_housekeeping.schemas \ |
---|
| 131 | apps_mate_settings_daemon_keybindings.schemas \ |
---|
| 132 | apps_mate_settings_daemon_xrandr.schemas \ |
---|
| 133 | desktop_mate_font_rendering.schemas \ |
---|
| 134 | desktop_mate_keybindings.schemas \ |
---|
| 135 | desktop_mate_peripherals_smartcard.schemas \ |
---|
| 136 | desktop_mate_peripherals_touchpad.schemas \ |
---|
| 137 | mate-settings-daemon.schemas" |
---|
| 138 | for S in $SCHEMAS; do |
---|
| 139 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
| 140 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
| 141 | fi |
---|
| 142 | |
---|
| 143 | %postun |
---|
| 144 | /sbin/ldconfig |
---|
| 145 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 146 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 147 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 148 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 149 | fi |
---|
| 150 | |
---|
| 151 | |
---|
| 152 | %files -f %{name}.lang |
---|
| 153 | %defattr(-,root,root,-) |
---|
| 154 | %doc COPYING ChangeLog NEWS README |
---|
| 155 | %{_sysconfdir}/dbus-1/system.d/org.mate.SettingsDaemon.DateTimeMechanism.conf |
---|
| 156 | %{_sysconfdir}/mateconf/schemas/apps_mate_settings_daemon_housekeeping.schemas |
---|
| 157 | %{_sysconfdir}/mateconf/schemas/apps_mate_settings_daemon_keybindings.schemas |
---|
| 158 | %{_sysconfdir}/mateconf/schemas/apps_mate_settings_daemon_xrandr.schemas |
---|
| 159 | %{_sysconfdir}/mateconf/schemas/desktop_mate_font_rendering.schemas |
---|
| 160 | %{_sysconfdir}/mateconf/schemas/desktop_mate_keybindings.schemas |
---|
| 161 | %{_sysconfdir}/mateconf/schemas/desktop_mate_peripherals_smartcard.schemas |
---|
| 162 | %{_sysconfdir}/mateconf/schemas/desktop_mate_peripherals_touchpad.schemas |
---|
| 163 | %{_sysconfdir}/mateconf/schemas/mate-settings-daemon.schemas |
---|
| 164 | %{_sysconfdir}/xdg/autostart/mate-settings-daemon.desktop |
---|
| 165 | %{_libdir}/%{name}-%{version} |
---|
| 166 | %{_libexecdir}/mate/mate-settings-daemon |
---|
[6172] | 167 | %{_libexecdir}/mate/msd-locate-pointer |
---|
| 168 | %{_libexecdir}/mate/msd-datetime-mechanism |
---|
[5311] | 169 | %{_datadir}/dbus-1/services/org.mate.SettingsDaemon.service |
---|
| 170 | %{_datadir}/dbus-1/system-services/org.mate.SettingsDaemon.DateTimeMechanism.service |
---|
| 171 | %{_datadir}/icons/mate/*/*/* |
---|
| 172 | %{_datadir}/%{name} |
---|
| 173 | %{_datadir}/mate-control-center/keybindings/50-accessibility.xml |
---|
| 174 | %{_datadir}/polkit-1/actions/org.mate.settingsdaemon.datetimemechanism.policy |
---|
| 175 | |
---|
| 176 | %files devel |
---|
| 177 | %defattr(-,root,root,-) |
---|
| 178 | %{_includedir}/mate-settings-daemon |
---|
| 179 | %{_libdir}/pkgconfig/mate-settings-daemon.pc |
---|
| 180 | |
---|
| 181 | |
---|
| 182 | %changelog |
---|
[6679] | 183 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 184 | - new upstream release |
---|
| 185 | |
---|
[6172] | 186 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 187 | - new upstream release |
---|
| 188 | - add BuildRequires: gstreamer-devel,gstreamer-plugins-base-devel |
---|
| 189 | |
---|
[5316] | 190 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 191 | - change category |
---|
| 192 | |
---|
[5311] | 193 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 194 | - initial build for Vine Linux |
---|
| 195 | |
---|