mate-desktop-vl.spec 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. Summary: Library with common API for various MATE modules
  2. Name: mate-desktop
  3. Version: 1.20.4
  4. Release: 1%{?_dist_release}
  5. %define shortver %(echo %{version} | sed -e 's/\\.[0-9]*$//')
  6. Source0: http://pub.mate-desktop.org/releases/%{shortver}/%{name}-%{version}.tar.xz
  7. License: GPLv2, LGPLv2 and GFDLv1.1
  8. Group: User Interface/Desktops
  9. URL: http://mate-desktop.org/
  10. # patch for Vine
  11. Patch1001: mate-desktop-vine-settings.patch
  12. Patch1002: mate-desktop-1.10.0-color-select-desktop.patch
  13. BuildRequires: mate-common
  14. BuildRequires: gtk3-devel >= 3.22.0
  15. BuildRequires: dconf-devel
  16. BuildRequires: startup-notification-devel
  17. BuildRequires: gtk-doc
  18. BuildRequires: itstool
  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, iwaim
  27. %description
  28. mate-desktop contains the libmate-desktop library, the mate-about
  29. program as well as some desktop-wide documents.
  30. %package devel
  31. Summary: Development tools for mate-desktop
  32. Summary(ja): mate-desktop の開発環境
  33. Group: Development/Libraries
  34. Requires: %{name} = %{version}-%{release}
  35. Requires: pkgconfig
  36. %description devel
  37. Header files and libraries for building a extension library for the
  38. mate-desktop.
  39. %package docs
  40. Summary: Documentation for mate-desktop
  41. Summary(ja): mate-desktop 用のドキュメント
  42. Group: Documentation
  43. BuildArch: noarch
  44. License: GFDLv1.1
  45. %description docs
  46. This package contains documentation for mate-desktop.
  47. %prep
  48. %setup -q
  49. %patch1001 -p1 -b .vine
  50. %patch1002 -p1 -b .vine
  51. %build
  52. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  53. %configure \
  54. --disable-static \
  55. --enable-mpaste
  56. %{__make} %{?_smp_mflags}
  57. %install
  58. %{__rm} -rf ${RPM_BUILD_ROOT}
  59. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  60. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  61. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  62. %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/omf
  63. %find_lang %{name} --with-gnome
  64. %clean
  65. %{__rm} -rf ${RPM_BUILD_ROOT}
  66. %post
  67. /sbin/ldconfig
  68. touch --no-create %{_datadir}/icons/hicolor > /dev/null || :
  69. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  70. %postun
  71. /sbin/ldconfig
  72. if [ $1 -eq 0 ]; then
  73. touch --no-create %{_datadir}/icons/hicolor > /dev/null || :
  74. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  75. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  76. gtk-update-icon-cache %{_datadir}/icons/hicolor > /dev/null || :
  77. fi
  78. %posttrans
  79. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  80. gtk-update-icon-cache %{_datadir}/icons/hicolor > /dev/null || :
  81. %files -f %{name}.lang
  82. %defattr(-,root,root,-)
  83. %license COPYING*
  84. %doc ChangeLog NEWS README
  85. %{_bindir}/mate-about
  86. %{_bindir}/mate-color-select
  87. %{_libdir}/libmate-desktop-2.so.*
  88. %{_libdir}/girepository-1.0/MateDesktop-2.0.typelib
  89. %{_datadir}/applications/mate-about.desktop
  90. %{_datadir}/applications/mate-color-select.desktop
  91. %{_datadir}/glib-2.0/schemas/org.mate.accessibility-keyboard.gschema.xml
  92. %{_datadir}/glib-2.0/schemas/org.mate.accessibility-startup.gschema.xml
  93. %{_datadir}/glib-2.0/schemas/org.mate.applications-at-mobility.gschema.xml
  94. %{_datadir}/glib-2.0/schemas/org.mate.applications-at-visual.gschema.xml
  95. %{_datadir}/glib-2.0/schemas/org.mate.applications-browser.gschema.xml
  96. %{_datadir}/glib-2.0/schemas/org.mate.applications-office.gschema.xml
  97. %{_datadir}/glib-2.0/schemas/org.mate.applications-terminal.gschema.xml
  98. %{_datadir}/glib-2.0/schemas/org.mate.background.gschema.xml
  99. %{_datadir}/glib-2.0/schemas/org.mate.debug.gschema.xml
  100. %{_datadir}/glib-2.0/schemas/org.mate.file-views.gschema.xml
  101. %{_datadir}/glib-2.0/schemas/org.mate.interface.gschema.xml
  102. %{_datadir}/glib-2.0/schemas/org.mate.lockdown.gschema.xml
  103. %{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard.gschema.xml
  104. %{_datadir}/glib-2.0/schemas/org.mate.peripherals-mouse.gschema.xml
  105. %{_datadir}/glib-2.0/schemas/org.mate.sound.gschema.xml
  106. %{_datadir}/glib-2.0/schemas/org.mate.thumbnail-cache.gschema.xml
  107. %{_datadir}/glib-2.0/schemas/org.mate.thumbnailers.gschema.xml
  108. %{_datadir}/glib-2.0/schemas/org.mate.typing-break.gschema.xml
  109. %{_datadir}/icons/hicolor/*/*/*
  110. %{_datadir}/libmate-desktop/pnp.ids
  111. %{_datadir}/mate-about/mate-version.xml
  112. %{_mandir}/man1/mate-about.1.gz
  113. %{_mandir}/man1/mate-color-select.1.gz
  114. %files devel
  115. %defattr(-,root,root,-)
  116. %license COPYING*
  117. %{_includedir}/mate-desktop-2.0
  118. %{_libdir}/libmate-desktop-2.so
  119. %{_libdir}/pkgconfig/mate-desktop-2.0.pc
  120. %{_datadir}/gir-1.0/MateDesktop-2.0.gir
  121. %files docs
  122. %defattr(-,root,root,-)
  123. %doc COPYING-DOCS
  124. %{_datadir}/gtk-doc/html/mate-desktop
  125. %changelog
  126. * Tue Oct 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.4-1
  127. - updated to 1.20.4.
  128. * Wed Mar 28 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.1-1
  129. - update to 1.20.1
  130. * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
  131. - update to 1.18.0
  132. - move to GTK3+
  133. - drop mpaste(1) tool
  134. - drop BR: unique-devel
  135. * Tue Mar 28 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.2-1
  136. - update to 1.16.2
  137. * Thu Nov 24 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1
  138. - new upstream release
  139. - drop BuildRequires: mate-doc-utils
  140. - update License
  141. - add License files
  142. - update Packager
  143. * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1
  144. - new upstream release
  145. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  146. - new upstream release
  147. - update Patch1001 (mate-desktop-vine-settings.patch)
  148. * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  149. - new upstream release
  150. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  151. - new upstream release
  152. - update Patch1001
  153. - remove mate-user-guide subpackage
  154. * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-2
  155. - add Requires: yelp (mate-user-guide package)
  156. * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  157. - new upstream release
  158. * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  159. - new upstream release
  160. - create mate-user-guide subpackage
  161. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  162. - new upstream release
  163. - rename document subpackage
  164. - add Patch1002 (mate-desktop-1.10.0-color-select-desktop.patch)
  165. * Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  166. - new upstream release
  167. * Sun May 11 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  168. - new upstream release
  169. * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  170. - new upstream release
  171. - add BuildRequires: dconf-devel, itstool
  172. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  173. - rebuild with VineSeed environment
  174. * Sun May 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  175. - new upstream release
  176. - remove BuildRequires: mate-conf-devel
  177. - add Patch1001 (mate-desktop-vine-settings.patch)
  178. * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1
  179. - new upstream release
  180. - add BuildRequires: startup-notification-devel
  181. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
  182. - new upstream release
  183. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  184. - new upstream release
  185. - add BuildRequires: unique-devel
  186. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  187. - change category
  188. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  189. - initial build for Vine Linux