mate-menus-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. Summary: MATE menu specifications
  2. Name: mate-menus
  3. Version: 1.6.0
  4. Release: 4%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
  6. # for Vine
  7. Source10: mate-applications.menu.vine
  8. Source11: mate-preferences.menu.vine
  9. Source12: mate-settings.menu.vine
  10. License: GPLv2
  11. Group: System Environment/Libraries
  12. URL: http://mate-desktop.org/
  13. BuildRequires: mate-common
  14. BuildRequires: gtk2-devel
  15. BuildRequires: python-devel
  16. BuildRequires: gtk-doc
  17. BuildRequires: autoconf
  18. BuildRequires: automake
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi
  23. %description
  24. mate-menus contains the libmate-menu library, the layout configuration
  25. files for the MATE menu, as well as a simple menu editor.
  26. %package devel
  27. Summary: Development tools for mate-menus
  28. Summary(ja): mate-menus の開発環境
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}
  31. Requires: pkgconfig
  32. %description devel
  33. Header files and libraries for building a extension library for the
  34. mate-menus.
  35. %package python
  36. Summary: Python bindings for mate-menus
  37. Summary(ja): mate-menus の開発環境
  38. Group: Development/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. Requires: python
  41. %description python
  42. %{summary}
  43. %prep
  44. %setup -q
  45. %build
  46. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  47. %configure \
  48. --disable-static \
  49. --disable-scrollkeeper
  50. %{__make} %{?_smp_mflags}
  51. %install
  52. %{__rm} -rf ${RPM_BUILD_ROOT}
  53. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  54. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  55. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  56. chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/%{name}/examples/mate-menus-ls.py
  57. install -m 0644 %{SOURCE10} ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/menus/mate-applications.menu
  58. install -m 0644 %{SOURCE11} ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/menus/mate-preferences.menu
  59. install -m 0644 %{SOURCE12} ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/menus/mate-settings.menu
  60. %find_lang %{name}
  61. %clean
  62. %{__rm} -rf ${RPM_BUILD_ROOT}
  63. %post -p /sbin/ldconfig
  64. %postun -p /sbin/ldconfig
  65. %files -f %{name}.lang
  66. %defattr(-,root,root,-)
  67. %doc COPYING ChangeLog NEWS README
  68. %{_sysconfdir}/xdg/menus/mate-applications.menu
  69. %{_sysconfdir}/xdg/menus/mate-preferences.menu
  70. %{_sysconfdir}/xdg/menus/mate-settings.menu
  71. %{_libdir}/libmate-menu.so.*
  72. %{_libdir}/girepository-1.0/MateMenu-2.0.typelib
  73. %{_datadir}/mate/desktop-directories/*
  74. %files devel
  75. %defattr(-,root,root,-)
  76. %{_includedir}/mate-menus
  77. %{_libdir}/libmate-menu.so
  78. %{_libdir}/pkgconfig/libmate-menu.pc
  79. %{_datadir}/gir-1.0/MateMenu-2.0.gir
  80. %files python
  81. %defattr(-,root,root,-)
  82. %{python_sitearch}/matemenu.so
  83. %{_datadir}/%{name}/examples/mate-menus-ls.py
  84. %changelog
  85. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-4
  86. - rebuild with VineSeed environment
  87. * Wed Sep 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-3
  88. - add Source10 (mate-applications.menu.vine)
  89. - add Source11 (mate-preferences.menu.vine)
  90. - add Source12 (mate-settings.menu.vine)
  91. * Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  92. - add BuildRequires: python-devel
  93. - create python subpackage
  94. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  95. - new upstream release
  96. - remove BuildRequires: mate-conf-devel
  97. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  98. - new upstream release
  99. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  100. - new upstream release
  101. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  102. - initial build for Vine Linux