mate-desktop-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. Summary: Library with common API for various MATE modules
  2. Name: mate-desktop
  3. Version: 1.6.1
  4. Release: 2%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{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: unique-devel
  15. BuildRequires: startup-notification-devel
  16. BuildRequires: gtk-doc
  17. BuildRequires: autoconf
  18. BuildRequires: automake
  19. Requires(posttrans,postun): glib2
  20. Requires(post,postun): desktop-file-utils
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: Takemikaduchi
  25. %description
  26. mate-desktop contains the libmate-desktop library, the mate-about
  27. program as well as some desktop-wide documents.
  28. %package devel
  29. Summary: Development tools for mate-desktop
  30. Summary(ja): mate-desktop の開発環境
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: pkgconfig
  34. %description devel
  35. Header files and libraries for building a extension library for the
  36. mate-desktop.
  37. %package doc
  38. Summary: Documentation for mate-desktop
  39. Summary(ja): mate-desktop 用のドキュメント
  40. Group: Documentation
  41. Requires: %{name} = %{version}-%{release}
  42. BuildArch: noarch
  43. %description doc
  44. This package contains documentation for mate-desktop.
  45. %prep
  46. %setup -q
  47. %patch1001 -p1 -b .vine
  48. %build
  49. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  50. %configure \
  51. --disable-static \
  52. --disable-scrollkeeper
  53. %{__make} %{?_smp_mflags}
  54. %install
  55. %{__rm} -rf ${RPM_BUILD_ROOT}
  56. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  57. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  58. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  59. %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/omf
  60. %find_lang %{name}
  61. %clean
  62. %{__rm} -rf ${RPM_BUILD_ROOT}
  63. %post
  64. /sbin/ldconfig
  65. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  66. %postun
  67. /sbin/ldconfig
  68. if [ $1 -eq 0 ]; then
  69. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  70. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  71. fi
  72. %posttrans
  73. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  74. %files -f %{name}.lang
  75. %defattr(-,root,root,-)
  76. %doc COPYING ChangeLog NEWS README
  77. %{_bindir}/mate-about
  78. %{_libdir}/libmate-desktop-2.so.*
  79. %{_datadir}/MateConf/gsettings/mate-desktop.convert
  80. %{_datadir}/applications/mate-about.desktop
  81. %{_datadir}/glib-2.0/schemas/org.mate.accessibility-keyboard.gschema.xml
  82. %{_datadir}/glib-2.0/schemas/org.mate.accessibility-startup.gschema.xml
  83. %{_datadir}/glib-2.0/schemas/org.mate.applications-at-mobility.gschema.xml
  84. %{_datadir}/glib-2.0/schemas/org.mate.applications-at-visual.gschema.xml
  85. %{_datadir}/glib-2.0/schemas/org.mate.applications-browser.gschema.xml
  86. %{_datadir}/glib-2.0/schemas/org.mate.applications-office.gschema.xml
  87. %{_datadir}/glib-2.0/schemas/org.mate.applications-terminal.gschema.xml
  88. %{_datadir}/glib-2.0/schemas/org.mate.background.gschema.xml
  89. %{_datadir}/glib-2.0/schemas/org.mate.file-views.gschema.xml
  90. %{_datadir}/glib-2.0/schemas/org.mate.interface.gschema.xml
  91. %{_datadir}/glib-2.0/schemas/org.mate.lockdown.gschema.xml
  92. %{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard.gschema.xml
  93. %{_datadir}/glib-2.0/schemas/org.mate.peripherals-mouse.gschema.xml
  94. %{_datadir}/glib-2.0/schemas/org.mate.sound.gschema.xml
  95. %{_datadir}/glib-2.0/schemas/org.mate.thumbnail-cache.gschema.xml
  96. %{_datadir}/glib-2.0/schemas/org.mate.thumbnailers.gschema.xml
  97. %{_datadir}/glib-2.0/schemas/org.mate.typing-break.gschema.xml
  98. %{_datadir}/libmate-desktop/pnp.ids
  99. %{_datadir}/mate/help
  100. %{_datadir}/mate-about/mate-version.xml
  101. %{_mandir}/man1/mate-about.1.gz
  102. %files devel
  103. %defattr(-,root,root,-)
  104. %{_includedir}/mate-desktop-2.0
  105. %{_libdir}/libmate-desktop-2.so
  106. %{_libdir}/pkgconfig/mate-desktop-2.0.pc
  107. %files doc
  108. %defattr(-,root,root,-)
  109. %{_datadir}/gtk-doc/html/mate-desktop
  110. %changelog
  111. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  112. - rebuild with VineSeed environment
  113. * Sun May 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  114. - new upstream release
  115. - remove BuildRequires: mate-conf-devel
  116. - add Patch1001 (mate-desktop-vine-settings.patch)
  117. * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1
  118. - new upstream release
  119. - add BuildRequires: startup-notification-devel
  120. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
  121. - new upstream release
  122. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  123. - new upstream release
  124. - add BuildRequires: unique-devel
  125. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  126. - change category
  127. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  128. - initial build for Vine Linux