mate-menus-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Summary: MATE menu specifications
  2. Name: mate-menus
  3. Version: 1.6.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: System Environment/Libraries
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: gtk2-devel
  11. BuildRequires: gtk-doc
  12. BuildRequires: autoconf
  13. BuildRequires: automake
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: Takemikaduchi
  18. %description
  19. mate-menus contains the libmate-menu library, the layout configuration
  20. files for the MATE menu, as well as a simple menu editor.
  21. %package devel
  22. Summary: Development tools for mate-menus
  23. Summary(ja): mate-menus の開発環境
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. Requires: pkgconfig
  27. %description devel
  28. Header files and libraries for building a extension library for the
  29. mate-menus.
  30. %prep
  31. %setup -q
  32. %build
  33. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  34. %configure \
  35. --disable-static \
  36. --disable-scrollkeeper
  37. %{__make} %{?_smp_mflags}
  38. %install
  39. %{__rm} -rf ${RPM_BUILD_ROOT}
  40. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  41. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  42. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  43. %find_lang %{name}
  44. %clean
  45. %{__rm} -rf ${RPM_BUILD_ROOT}
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %files -f %{name}.lang
  49. %defattr(-,root,root,-)
  50. %doc COPYING ChangeLog NEWS README
  51. %{_sysconfdir}/xdg/menus/mate-applications.menu
  52. %{_sysconfdir}/xdg/menus/mate-settings.menu
  53. %{_libdir}/libmate-menu.so.*
  54. %{_libdir}/girepository-1.0/MateMenu-2.0.typelib
  55. %{_datadir}/mate/desktop-directories/*
  56. %files devel
  57. %defattr(-,root,root,-)
  58. %{_includedir}/mate-menus
  59. %{_libdir}/libmate-menu.so
  60. %{_libdir}/pkgconfig/libmate-menu.pc
  61. %{_datadir}/gir-1.0/MateMenu-2.0.gir
  62. %changelog
  63. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  64. - new upstream release
  65. - remove BuildRequires: mate-conf-devel
  66. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  67. - new upstream release
  68. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  69. - new upstream release
  70. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  71. - initial build for Vine Linux