mate-menus-vl.spec 4.5 KB

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