mate-desktop-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. Summary: Library with common API for various MATE modules
  2. Name: mate-desktop
  3. Version: 1.8.1
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.8/%{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. BuildRequires: mate-common
  12. BuildRequires: mate-doc-utils
  13. BuildRequires: gtk2-devel
  14. BuildRequires: dconf-devel
  15. BuildRequires: unique-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
  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 doc
  40. Summary: Documentation for mate-desktop
  41. Summary(ja): mate-desktop 用のドキュメント
  42. Group: Documentation
  43. Requires: %{name} = %{version}-%{release}
  44. BuildArch: noarch
  45. %description doc
  46. This package contains documentation for mate-desktop.
  47. %prep
  48. %setup -q
  49. %patch1001 -p1 -b .vine
  50. %build
  51. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  52. %configure \
  53. --disable-static \
  54. --disable-scrollkeeper
  55. %{__make} %{?_smp_mflags}
  56. %install
  57. %{__rm} -rf ${RPM_BUILD_ROOT}
  58. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  59. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  60. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  61. %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/omf
  62. %find_lang %{name}
  63. %clean
  64. %{__rm} -rf ${RPM_BUILD_ROOT}
  65. %post
  66. /sbin/ldconfig
  67. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  68. %postun
  69. /sbin/ldconfig
  70. if [ $1 -eq 0 ]; then
  71. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  72. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  73. fi
  74. %posttrans
  75. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  76. %files -f %{name}.lang
  77. %defattr(-,root,root,-)
  78. %doc COPYING ChangeLog NEWS README
  79. %{_bindir}/mate-about
  80. %{_bindir}/mate-gsettings-toggle
  81. %{_libdir}/libmate-desktop-2.so.*
  82. %{_datadir}/MateConf/gsettings/mate-desktop.convert
  83. %{_datadir}/applications/mate-about.desktop
  84. %{_datadir}/applications/mate-user-guide.desktop
  85. %{_datadir}/glib-2.0/schemas/org.mate.accessibility-keyboard.gschema.xml
  86. %{_datadir}/glib-2.0/schemas/org.mate.accessibility-startup.gschema.xml
  87. %{_datadir}/glib-2.0/schemas/org.mate.applications-at-mobility.gschema.xml
  88. %{_datadir}/glib-2.0/schemas/org.mate.applications-at-visual.gschema.xml
  89. %{_datadir}/glib-2.0/schemas/org.mate.applications-browser.gschema.xml
  90. %{_datadir}/glib-2.0/schemas/org.mate.applications-office.gschema.xml
  91. %{_datadir}/glib-2.0/schemas/org.mate.applications-terminal.gschema.xml
  92. %{_datadir}/glib-2.0/schemas/org.mate.background.gschema.xml
  93. %{_datadir}/glib-2.0/schemas/org.mate.file-views.gschema.xml
  94. %{_datadir}/glib-2.0/schemas/org.mate.interface.gschema.xml
  95. %{_datadir}/glib-2.0/schemas/org.mate.lockdown.gschema.xml
  96. %{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard.gschema.xml
  97. %{_datadir}/glib-2.0/schemas/org.mate.peripherals-mouse.gschema.xml
  98. %{_datadir}/glib-2.0/schemas/org.mate.sound.gschema.xml
  99. %{_datadir}/glib-2.0/schemas/org.mate.thumbnail-cache.gschema.xml
  100. %{_datadir}/glib-2.0/schemas/org.mate.thumbnailers.gschema.xml
  101. %{_datadir}/glib-2.0/schemas/org.mate.typing-break.gschema.xml
  102. %{_datadir}/libmate-desktop/pnp.ids
  103. %{_datadir}/mate-about/mate-version.xml
  104. %{_datadir}/help/*
  105. %{_mandir}/man1/mate-about.1.gz
  106. %{_mandir}/man1/mate-gsettings-toggle.1.gz
  107. %exclude %{_datadir}/help/*/*/index.docbook
  108. %files devel
  109. %defattr(-,root,root,-)
  110. %{_includedir}/mate-desktop-2.0
  111. %{_libdir}/libmate-desktop-2.so
  112. %{_libdir}/pkgconfig/mate-desktop-2.0.pc
  113. %files doc
  114. %defattr(-,root,root,-)
  115. %{_datadir}/gtk-doc/html/mate-desktop
  116. %changelog
  117. * Sun May 11 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  118. - new upstream release
  119. * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  120. - new upstream release
  121. - add BuildRequires: dconf-devel, itstool
  122. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  123. - rebuild with VineSeed environment
  124. * Sun May 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  125. - new upstream release
  126. - remove BuildRequires: mate-conf-devel
  127. - add Patch1001 (mate-desktop-vine-settings.patch)
  128. * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1
  129. - new upstream release
  130. - add BuildRequires: startup-notification-devel
  131. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
  132. - new upstream release
  133. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  134. - new upstream release
  135. - add BuildRequires: unique-devel
  136. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  137. - change category
  138. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  139. - initial build for Vine Linux