mate-utils-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. Summary: MATE utility programs
  2. Name: mate-utils
  3. Version: 1.8.2
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.8/%{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. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. Packager: Takemikaduchi
  27. %description
  28. MATE Utilities for the MATE Desktop contains the following -
  29. mate-system-log
  30. mate-search-tool
  31. mate-dictionary
  32. mate-screenshot
  33. mate-dictionary
  34. %package devel
  35. Summary: Development tools for mate-utils
  36. Summary(ja): mate-utils の開発環境
  37. Group: Development/Libraries
  38. Requires: %{name} = %{version}-%{release}
  39. Requires: pkgconfig
  40. %description devel
  41. Header files and libraries for building a extension library for the
  42. mate-utils.
  43. %package docs
  44. Summary: Documentation for mate-utils
  45. Summary(ja): mate-utils 用のドキュメント
  46. Group: Documentation
  47. Requires: %{name} = %{version}-%{release}
  48. BuildArch: noarch
  49. %description docs
  50. This package contains documentation for mate-utils.
  51. %prep
  52. %setup -q
  53. %build
  54. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  55. %configure \
  56. --libexecdir=%{_libexecdir}/mate \
  57. --disable-static
  58. %{__make} %{?_smp_mflags}
  59. %install
  60. %{__rm} -rf ${RPM_BUILD_ROOT}
  61. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  62. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  63. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  64. %find_lang %{name}
  65. %clean
  66. %{__rm} -rf ${RPM_BUILD_ROOT}
  67. %post
  68. /sbin/ldconfig
  69. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  70. %postun
  71. /sbin/ldconfig
  72. if [ $1 -eq 0 ]; then
  73. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  74. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  75. fi
  76. %posttrans
  77. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  78. %files -f %{name}.lang
  79. %defattr(-,root,root,-)
  80. %doc COPYING ChangeLog NEWS README
  81. %{_bindir}/mate-dictionary
  82. %{_bindir}/mate-disk-usage-analyzer
  83. %{_bindir}/mate-panel-screenshot
  84. %{_bindir}/mate-screenshot
  85. %{_bindir}/mate-search-tool
  86. %{_bindir}/mate-system-log
  87. %{_libdir}/libmatedict.so.*
  88. %{_libexecdir}/mate/mate-dictionary-applet
  89. %{_datadir}/MateConf/gsettings/mate-dictionary.convert
  90. %{_datadir}/MateConf/gsettings/mate-disk-usage-analyzer.convert
  91. %{_datadir}/MateConf/gsettings/mate-screenshot.convert
  92. %{_datadir}/MateConf/gsettings/mate-search-tool.convert
  93. %{_datadir}/MateConf/gsettings/mate-system-log.convert
  94. %{_datadir}/applications/*.desktop
  95. %{_datadir}/dbus-1/services/org.mate.panel.applet.DictionaryAppletFactory.service
  96. %{_datadir}/glib-2.0/schemas/org.mate.dictionary.gschema.xml
  97. %{_datadir}/glib-2.0/schemas/org.mate.disk-usage-analyzer.gschema.xml
  98. %{_datadir}/glib-2.0/schemas/org.mate.screenshot.gschema.xml
  99. %{_datadir}/glib-2.0/schemas/org.mate.search-tool.gschema.xml
  100. %{_datadir}/glib-2.0/schemas/org.mate.system-log.gschema.xml
  101. %{_datadir}/help/*
  102. %{_datadir}/icons/*/*/*/*
  103. %{_datadir}/mate-dict
  104. %{_datadir}/mate-dictionary
  105. %{_datadir}/mate-disk-usage-analyzer
  106. %{_datadir}/mate-panel/applets/org.mate.DictionaryApplet.mate-panel-applet
  107. %{_datadir}/mate-screenshot
  108. %{_datadir}/%{name}
  109. %{_datadir}/pixmaps/mate-search-tool/thumbnail_frame.png
  110. %{_mandir}/man1/*.1.gz
  111. %files devel
  112. %defattr(-,root,root,-)
  113. %{_includedir}/mate-dict
  114. %{_libdir}/libmatedict.so
  115. %{_libdir}/pkgconfig/mate-dict.pc
  116. %files docs
  117. %defattr(-,root,root,-)
  118. %{_datadir}/gtk-doc/html/mate-dict
  119. %changelog
  120. * Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  121. - new upstream release
  122. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  123. - new upstream release
  124. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  125. - rebuild with libgtop2-2.30.0
  126. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  127. - new upstream release
  128. - add BuildRequires: itstool
  129. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  130. - rebuild with VineSeed environment
  131. * Mon May 20 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  132. - new upstream release
  133. - remove BuildRequires: mate-conf-devel
  134. - add BuildRequires: libcanberra-devel
  135. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  136. - new upstream release
  137. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  138. - new upstream release
  139. * Sat Dec 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  140. - initial build for Vine Linux