mate-desktop-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. Summary: Library with common API for various MATE modules
  2. Name: mate-desktop
  3. Version: 1.4.2
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: mate-conf-devel
  12. BuildRequires: gtk2-devel
  13. BuildRequires: unique-devel
  14. BuildRequires: startup-notification-devel
  15. BuildRequires: gtk-doc
  16. BuildRequires: autoconf
  17. BuildRequires: automake
  18. Requires(post,postun): desktop-file-utils
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi
  23. %description
  24. mate-desktop contains the libmate-desktop library, the mate-about
  25. program as well as some desktop-wide documents.
  26. %package devel
  27. Summary: Development tools for mate-desktop
  28. Summary(ja): mate-desktop の開発環境
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}
  31. Requires: pkgconfig
  32. %description devel
  33. Header files and libraries for building a extension library for the
  34. mate-desktop.
  35. %package doc
  36. Summary: Documentation for mate-desktop
  37. Summary(ja): mate-desktop 用のドキュメント
  38. Group: Documentation
  39. Requires: %{name} = %{version}-%{release}
  40. BuildArch: noarch
  41. %description doc
  42. This package contains documentation for mate-desktop.
  43. %prep
  44. %setup -q
  45. %build
  46. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  47. %configure \
  48. --disable-static \
  49. --disable-scrollkeeper
  50. %{__make} %{?_smp_mflags}
  51. %install
  52. %{__rm} -rf ${RPM_BUILD_ROOT}
  53. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  54. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  55. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  56. %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/omf
  57. %find_lang %{name}
  58. %clean
  59. %{__rm} -rf ${RPM_BUILD_ROOT}
  60. %post
  61. /sbin/ldconfig
  62. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  63. %postun
  64. /sbin/ldconfig
  65. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  66. %files -f %{name}.lang
  67. %defattr(-,root,root,-)
  68. %doc COPYING ChangeLog NEWS README
  69. %{_bindir}/mate-about
  70. %{_libdir}/libmate-desktop-2.so.*
  71. %{_datadir}/applications/mate-about.desktop
  72. %{_datadir}/libmate-desktop/pnp.ids
  73. %{_datadir}/mate/help
  74. %{_datadir}/mate-about/mate-version.xml
  75. %{_mandir}/man1/mate-about.1.gz
  76. %files devel
  77. %defattr(-,root,root,-)
  78. %{_includedir}/mate-desktop-2.0
  79. %{_libdir}/libmate-desktop-2.so
  80. %{_libdir}/pkgconfig/mate-desktop-2.0.pc
  81. %files doc
  82. %defattr(-,root,root,-)
  83. %{_datadir}/gtk-doc/html/mate-desktop
  84. %changelog
  85. * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1
  86. - new upstream release
  87. - add BuildRequires: startup-notification-devel
  88. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
  89. - new upstream release
  90. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  91. - new upstream release
  92. - add BuildRequires: unique-devel
  93. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  94. - change category
  95. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  96. - initial build for Vine Linux