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