cinnamon-menus-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Summary: A menu system for the Cinnamon project
  2. Summary(ja): Cinnamon プロジェクト用メニューシステム
  3. Name: cinnamon-menus
  4. Version: 2.8.0
  5. Release: 1%{?_dist_release}
  6. License: LGPL
  7. Group: System Environment/Libraries
  8. URL: https://github.com/linuxmint/cinnamon-menus
  9. Source0: %{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel
  12. BuildRequires: gamin-devel
  13. BuildRequires: gobject-introspection-devel
  14. BuildRequires: autoconf
  15. BuildRequires: gnome-common
  16. Requires: vine-menus >= 3.0
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: Takemikaduchi
  20. %description
  21. gnome-menus contains the libgnome-menu library, the layout configuration
  22. files for the GNOME menu, as well as a simple menu editor.
  23. %package devel
  24. Summary: Libraries and include files for the Cinnamon menu system
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}
  27. Requires: glib2-devel
  28. %description devel
  29. This package provides the necessary development libraries for
  30. writing applications that use the Cinnamon menu system.
  31. %prep
  32. %setup -q
  33. %build
  34. autoreconf -if
  35. %configure --with-monitor-backend=gio \
  36. --enable-debug=no \
  37. --enable-introspection=yes
  38. make
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. make install DESTDIR=$RPM_BUILD_ROOT
  42. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la}
  43. # remove default xdg menus, we use vine-menus instead.
  44. #rm -f $RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus/*.menu
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %post -p /sbin/ldconfig
  48. %postun
  49. /sbin/ldconfig
  50. update-desktop-database -q &> /dev/null || :
  51. %posttrans
  52. update-desktop-database -q &> /dev/null ||:
  53. %files
  54. %defattr(-,root,root,-)
  55. %doc
  56. %{_libdir}/libcinnamon-menu-3.so.*
  57. %{_libdir}/girepository-1.0/CMenu-3.0.typelib
  58. %files devel
  59. %defattr(-, root, root)
  60. %{_includedir}/%{name}-3.0
  61. %{_libdir}/libcinnamon-menu-3.so
  62. %{_libdir}/pkgconfig/libcinnamon-menu-3.0.pc
  63. %{_datadir}/gir-1.0/CMenu-3.0.gir
  64. %changelog
  65. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.0-1
  66. - new upstream release
  67. * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-1
  68. - new upstream release
  69. * Sat Jan 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.0-1
  70. - new upstream release
  71. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1
  72. - initial build