mate-menus-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. Summary: MATE menu specifications
  2. Name: mate-menus
  3. Version: 1.6.0
  4. Release: 2%{?_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: python-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. %package python
  32. Summary: Python bindings for mate-menus
  33. Summary(ja): mate-menus の開発環境
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. Requires: python
  37. %description python
  38. %{summary}
  39. %prep
  40. %setup -q
  41. %build
  42. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  43. %configure \
  44. --disable-static \
  45. --disable-scrollkeeper
  46. %{__make} %{?_smp_mflags}
  47. %install
  48. %{__rm} -rf ${RPM_BUILD_ROOT}
  49. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  50. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  51. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  52. chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/%{name}/examples/mate-menus-ls.py
  53. %find_lang %{name}
  54. %clean
  55. %{__rm} -rf ${RPM_BUILD_ROOT}
  56. %post -p /sbin/ldconfig
  57. %postun -p /sbin/ldconfig
  58. %files -f %{name}.lang
  59. %defattr(-,root,root,-)
  60. %doc COPYING ChangeLog NEWS README
  61. %{_sysconfdir}/xdg/menus/mate-applications.menu
  62. %{_sysconfdir}/xdg/menus/mate-settings.menu
  63. %{_libdir}/libmate-menu.so.*
  64. %{_libdir}/girepository-1.0/MateMenu-2.0.typelib
  65. %{_datadir}/mate/desktop-directories/*
  66. %files devel
  67. %defattr(-,root,root,-)
  68. %{_includedir}/mate-menus
  69. %{_libdir}/libmate-menu.so
  70. %{_libdir}/pkgconfig/libmate-menu.pc
  71. %{_datadir}/gir-1.0/MateMenu-2.0.gir
  72. %files python
  73. %defattr(-,root,root,-)
  74. %{python_sitearch}/matemenu.so
  75. %{_datadir}/%{name}/examples/mate-menus-ls.py
  76. %changelog
  77. * Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  78. - add BuildRequires: python-devel
  79. - create python subpackage
  80. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  81. - new upstream release
  82. - remove BuildRequires: mate-conf-devel
  83. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  84. - new upstream release
  85. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  86. - new upstream release
  87. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  88. - initial build for Vine Linux