mate-desktop-vl.spec 7.1 KB

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