mate-desktop-vl.spec 2.8 KB

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