mate-menus-vl.spec 2.0 KB

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