mate-utils-vl.spec 6.9 KB

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