mate-menus-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. Summary: MATE menu specifications
  2. Name: mate-menus
  3. Version: 1.14.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.14/%{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-preferences-categories.menu
  71. %{_sysconfdir}/xdg/menus/mate-settings.menu
  72. %{_libdir}/libmate-menu.so.*
  73. %{_libdir}/girepository-1.0/MateMenu-2.0.typelib
  74. %{_datadir}/mate/desktop-directories/*
  75. %files devel
  76. %defattr(-,root,root,-)
  77. %{_includedir}/mate-menus
  78. %{_libdir}/libmate-menu.so
  79. %{_libdir}/pkgconfig/libmate-menu.pc
  80. %{_datadir}/gir-1.0/MateMenu-2.0.gir
  81. %files python
  82. %defattr(-,root,root,-)
  83. %{python_sitearch}/matemenu.so
  84. %{_datadir}/%{name}/examples/mate-menus-ls.py
  85. %changelog
  86. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  87. - new upstream release
  88. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  89. - new upstream release
  90. * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-2
  91. - update Source10,11
  92. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  93. - new upstream release
  94. * Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  95. - new upstream release
  96. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-4
  97. - rebuild with VineSeed environment
  98. * Wed Sep 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-3
  99. - add Source10 (mate-applications.menu.vine)
  100. - add Source11 (mate-preferences.menu.vine)
  101. - add Source12 (mate-settings.menu.vine)
  102. * Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  103. - add BuildRequires: python-devel
  104. - create python subpackage
  105. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  106. - new upstream release
  107. - remove BuildRequires: mate-conf-devel
  108. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  109. - new upstream release
  110. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  111. - new upstream release
  112. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  113. - initial build for Vine Linux