mate-utils-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. Summary: MATE utility programs
  2. Name: mate-utils
  3. Version: 1.14.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.14/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: Applications/System
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: mate-panel-devel
  12. BuildRequires: gtk2-devel
  13. BuildRequires: libgtop2-devel
  14. BuildRequires: libcanberra-devel
  15. BuildRequires: libSM-devel
  16. BuildRequires: popt-devel
  17. BuildRequires: itstool
  18. BuildRequires: gtk-doc
  19. BuildRequires: autoconf
  20. BuildRequires: automake
  21. Requires(posttrans,postun): glib2
  22. Requires(post,postun): desktop-file-utils
  23. Requires: usermode
  24. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. Packager: Takemikaduchi
  28. %description
  29. MATE Utilities for the MATE Desktop contains the following -
  30. mate-system-log
  31. mate-search-tool
  32. mate-dictionary
  33. mate-screenshot
  34. mate-dictionary
  35. %package devel
  36. Summary: Development tools for mate-utils
  37. Summary(ja): mate-utils の開発環境
  38. Group: Development/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. Requires: pkgconfig
  41. %description devel
  42. Header files and libraries for building a extension library for the
  43. mate-utils.
  44. %package docs
  45. Summary: Documentation for mate-utils
  46. Summary(ja): mate-utils 用のドキュメント
  47. Group: Documentation
  48. Requires: %{name} = %{version}-%{release}
  49. BuildArch: noarch
  50. %description docs
  51. This package contains documentation for mate-utils.
  52. %prep
  53. %setup -q
  54. %build
  55. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  56. %configure \
  57. --libexecdir=%{_libexecdir}/mate \
  58. --disable-static
  59. %{__make} %{?_smp_mflags}
  60. %install
  61. %{__rm} -rf ${RPM_BUILD_ROOT}
  62. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  63. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  64. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  65. # make mate-system-log use consolehelper until it starts using polkit
  66. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
  67. cat <<EOF >$RPM_BUILD_ROOT%{_sysconfdir}/pam.d/mate-system-log
  68. #%%PAM-1.0
  69. auth include config-util
  70. account include config-util
  71. session include config-util
  72. EOF
  73. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps
  74. cat <<EOF >$RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/mate-system-log
  75. USER=root
  76. PROGRAM=/usr/sbin/mate-system-log
  77. SESSION=true
  78. FALLBACK=true
  79. EOF
  80. mkdir -p $RPM_BUILD_ROOT%{_sbindir}
  81. mv $RPM_BUILD_ROOT%{_bindir}/mate-system-log $RPM_BUILD_ROOT%{_sbindir}
  82. ln -s %{_bindir}/consolehelper $RPM_BUILD_ROOT%{_bindir}/mate-system-log
  83. %find_lang %{name}
  84. %clean
  85. %{__rm} -rf ${RPM_BUILD_ROOT}
  86. %post
  87. /sbin/ldconfig
  88. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  89. %postun
  90. /sbin/ldconfig
  91. if [ $1 -eq 0 ]; then
  92. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  93. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  94. fi
  95. %posttrans
  96. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  97. %files -f %{name}.lang
  98. %defattr(-,root,root,-)
  99. %doc COPYING ChangeLog NEWS README
  100. %{_sysconfdir}/pam.d/mate-system-log
  101. %{_sysconfdir}/security/console.apps/mate-system-log
  102. %{_bindir}/mate-dictionary
  103. %{_bindir}/mate-disk-usage-analyzer
  104. %{_bindir}/mate-panel-screenshot
  105. %{_bindir}/mate-screenshot
  106. %{_bindir}/mate-search-tool
  107. %{_bindir}/mate-system-log
  108. %{_sbindir}/mate-system-log
  109. %{_libdir}/libmatedict.so.*
  110. %{_libexecdir}/mate/mate-dictionary-applet
  111. %{_datadir}/appdata/mate-dictionary.appdata.xml
  112. %{_datadir}/appdata/mate-disk-usage-analyzer.appdata.xml
  113. %{_datadir}/appdata/mate-screenshot.appdata.xml
  114. %{_datadir}/appdata/mate-search-tool.appdata.xml
  115. %{_datadir}/applications/mate-dictionary.desktop
  116. %{_datadir}/applications/mate-disk-usage-analyzer.desktop
  117. %{_datadir}/applications/mate-screenshot.desktop
  118. %{_datadir}/applications/mate-search-tool.desktop
  119. %{_datadir}/applications/mate-system-log.desktop
  120. %{_datadir}/dbus-1/services/org.mate.panel.applet.DictionaryAppletFactory.service
  121. %{_datadir}/glib-2.0/schemas/org.mate.dictionary.gschema.xml
  122. %{_datadir}/glib-2.0/schemas/org.mate.disk-usage-analyzer.gschema.xml
  123. %{_datadir}/glib-2.0/schemas/org.mate.screenshot.gschema.xml
  124. %{_datadir}/glib-2.0/schemas/org.mate.search-tool.gschema.xml
  125. %{_datadir}/glib-2.0/schemas/org.mate.system-log.gschema.xml
  126. %{_datadir}/help/*
  127. %{_datadir}/icons/*/*/*/*
  128. %{_datadir}/mate-dict
  129. %{_datadir}/mate-dictionary
  130. %{_datadir}/mate-disk-usage-analyzer
  131. %{_datadir}/mate-panel/applets/org.mate.DictionaryApplet.mate-panel-applet
  132. %{_datadir}/mate-screenshot
  133. %{_datadir}/%{name}
  134. %{_datadir}/pixmaps/mate-search-tool/thumbnail_frame.png
  135. %{_mandir}/man1/*.1.gz
  136. %files devel
  137. %defattr(-,root,root,-)
  138. %{_includedir}/mate-dict
  139. %{_libdir}/libmatedict.so
  140. %{_libdir}/pkgconfig/mate-dict.pc
  141. %files docs
  142. %defattr(-,root,root,-)
  143. %{_datadir}/gtk-doc/html/mate-dict
  144. %changelog
  145. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  146. - add Requires: usermode
  147. * Mon Jan 25 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-2
  148. - add Requires: usermode
  149. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  150. - new upstream release
  151. * Wed Sep 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.3-1
  152. - new upstream release
  153. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  154. - new upstream release
  155. * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  156. - new upstream release
  157. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  158. - new upstream release
  159. * Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  160. - new upstream release
  161. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  162. - new upstream release
  163. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  164. - rebuild with libgtop2-2.30.0
  165. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  166. - new upstream release
  167. - add BuildRequires: itstool
  168. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  169. - rebuild with VineSeed environment
  170. * Mon May 20 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  171. - new upstream release
  172. - remove BuildRequires: mate-conf-devel
  173. - add BuildRequires: libcanberra-devel
  174. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  175. - new upstream release
  176. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  177. - new upstream release
  178. * Sat Dec 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  179. - initial build for Vine Linux