mate-settings-daemon-vl.spec 5.9 KB

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