cinnamon-menus-vl.spec 2.0 KB

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