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