mate-desktop-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. Summary: Library with common API for various MATE modules
  2. Name: mate-desktop
  3. Version: 1.10.2
  4. Release: 2%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.10/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. URL: http://mate-desktop.org/
  9. # patch for Vine
  10. Patch1001: mate-desktop-vine-settings.patch
  11. Patch1002: mate-desktop-1.10.0-color-select-desktop.patch
  12. BuildRequires: mate-common
  13. BuildRequires: mate-doc-utils
  14. BuildRequires: gtk2-devel
  15. BuildRequires: dconf-devel
  16. BuildRequires: unique-devel
  17. BuildRequires: startup-notification-devel
  18. BuildRequires: gtk-doc
  19. BuildRequires: itstool
  20. BuildRequires: autoconf
  21. BuildRequires: automake
  22. Requires(posttrans,postun): glib2
  23. Requires(post,postun): desktop-file-utils
  24. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. Packager: Takemikaduchi
  28. %description
  29. mate-desktop contains the libmate-desktop library, the mate-about
  30. program as well as some desktop-wide documents.
  31. %package devel
  32. Summary: Development tools for mate-desktop
  33. Summary(ja): mate-desktop の開発環境
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. Requires: pkgconfig
  37. %description devel
  38. Header files and libraries for building a extension library for the
  39. mate-desktop.
  40. %package -n mate-user-guide
  41. Summary: MATE User Guide
  42. Summary(ja): MATE ユーザガイド
  43. Group: Applications/Documentation
  44. BuildArch: noarch
  45. Obsoletes: mate-user-guide < 1.10.1
  46. Requires: yelp
  47. %description -n mate-user-guide
  48. This package contains end user documentation for the MATE desktop environment.
  49. %description -n mate-user-guide -l ja
  50. このパッケージには MATE デスクトップ環境のエンドユーザドキュメントが
  51. 含まれています。
  52. %package docs
  53. Summary: Documentation for mate-desktop
  54. Summary(ja): mate-desktop 用のドキュメント
  55. Group: Documentation
  56. BuildArch: noarch
  57. %description docs
  58. This package contains documentation for mate-desktop.
  59. %prep
  60. %setup -q
  61. %patch1001 -p1 -b .vine
  62. %patch1002 -p1 -b .vine
  63. %build
  64. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  65. %configure \
  66. --disable-static \
  67. --enable-mpaste
  68. %{__make} %{?_smp_mflags}
  69. %install
  70. %{__rm} -rf ${RPM_BUILD_ROOT}
  71. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  72. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  73. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  74. %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/omf
  75. %find_lang %{name} --with-gnome
  76. %clean
  77. %{__rm} -rf ${RPM_BUILD_ROOT}
  78. %post
  79. /sbin/ldconfig
  80. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  81. %postun
  82. /sbin/ldconfig
  83. if [ $1 -eq 0 ]; then
  84. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  85. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  86. fi
  87. %posttrans
  88. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  89. %files -f %{name}.lang
  90. %defattr(-,root,root,-)
  91. %doc COPYING ChangeLog NEWS README
  92. %{_bindir}/mate-about
  93. %{_bindir}/mate-color-select
  94. %{_bindir}/mpaste
  95. %{_libdir}/libmate-desktop-2.so.*
  96. %{_libdir}/girepository-1.0/MateDesktop-2.0.typelib
  97. %{_datadir}/MateConf/gsettings/mate-desktop.convert
  98. %{_datadir}/applications/mate-about.desktop
  99. %{_datadir}/applications/mate-color-select.desktop
  100. %{_datadir}/glib-2.0/schemas/org.mate.accessibility-keyboard.gschema.xml
  101. %{_datadir}/glib-2.0/schemas/org.mate.accessibility-startup.gschema.xml
  102. %{_datadir}/glib-2.0/schemas/org.mate.applications-at-mobility.gschema.xml
  103. %{_datadir}/glib-2.0/schemas/org.mate.applications-at-visual.gschema.xml
  104. %{_datadir}/glib-2.0/schemas/org.mate.applications-browser.gschema.xml
  105. %{_datadir}/glib-2.0/schemas/org.mate.applications-office.gschema.xml
  106. %{_datadir}/glib-2.0/schemas/org.mate.applications-terminal.gschema.xml
  107. %{_datadir}/glib-2.0/schemas/org.mate.background.gschema.xml
  108. %{_datadir}/glib-2.0/schemas/org.mate.debug.gschema.xml
  109. %{_datadir}/glib-2.0/schemas/org.mate.file-views.gschema.xml
  110. %{_datadir}/glib-2.0/schemas/org.mate.interface.gschema.xml
  111. %{_datadir}/glib-2.0/schemas/org.mate.lockdown.gschema.xml
  112. %{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard.gschema.xml
  113. %{_datadir}/glib-2.0/schemas/org.mate.peripherals-mouse.gschema.xml
  114. %{_datadir}/glib-2.0/schemas/org.mate.sound.gschema.xml
  115. %{_datadir}/glib-2.0/schemas/org.mate.thumbnail-cache.gschema.xml
  116. %{_datadir}/glib-2.0/schemas/org.mate.thumbnailers.gschema.xml
  117. %{_datadir}/glib-2.0/schemas/org.mate.typing-break.gschema.xml
  118. %{_datadir}/libmate-desktop/pnp.ids
  119. %{_datadir}/mate-about/mate-version.xml
  120. %{_mandir}/man1/mate-about.1.gz
  121. %{_mandir}/man1/mate-color-select.1.gz
  122. %{_mandir}/man1/mpaste.1.gz
  123. %files devel
  124. %defattr(-,root,root,-)
  125. %{_includedir}/mate-desktop-2.0
  126. %{_libdir}/libmate-desktop-2.so
  127. %{_libdir}/pkgconfig/mate-desktop-2.0.pc
  128. %{_datadir}/gir-1.0/MateDesktop-2.0.gir
  129. %files -n mate-user-guide
  130. %defattr(-,root,root,-)
  131. %{_datadir}/applications/mate-user-guide.desktop
  132. %{_datadir}/help/*/mate-user-guide
  133. %files docs
  134. %defattr(-,root,root,-)
  135. %{_datadir}/gtk-doc/html/mate-desktop
  136. %changelog
  137. * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-2
  138. - add Requires: yelp (mate-user-guide package)
  139. * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  140. - new upstream release
  141. * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  142. - new upstream release
  143. - create mate-user-guide subpackage
  144. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  145. - new upstream release
  146. - rename document subpackage
  147. - add Patch1002 (mate-desktop-1.10.0-color-select-desktop.patch)
  148. * Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  149. - new upstream release
  150. * Sun May 11 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  151. - new upstream release
  152. * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  153. - new upstream release
  154. - add BuildRequires: dconf-devel, itstool
  155. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  156. - rebuild with VineSeed environment
  157. * Sun May 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  158. - new upstream release
  159. - remove BuildRequires: mate-conf-devel
  160. - add Patch1001 (mate-desktop-vine-settings.patch)
  161. * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1
  162. - new upstream release
  163. - add BuildRequires: startup-notification-devel
  164. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
  165. - new upstream release
  166. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  167. - new upstream release
  168. - add BuildRequires: unique-devel
  169. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  170. - change category
  171. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  172. - initial build for Vine Linux