mate-desktop-vl.spec 2.6 KB

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