source: projects/specs/trunk/c/cinnamon-menus/cinnamon-menus-vl.spec @ 9559

Revision 9559, 2.1 KB checked in by Takemikaduchi, 9 years ago (diff)

cinnamon: new upstream release or rebuild
caja: fix typo
others: remove *.la files

Line 
1Summary:        A menu system for the Cinnamon project
2Summary(ja):    Cinnamon プロジェクト用メニューシステム
3Name:           cinnamon-menus
4Version:        2.4.2
5Release:        1%{?_dist_release}
6License:        LGPL
7Group:          System Environment/Libraries
8URL:            https://github.com/linuxmint/cinnamon-menus
9Source0:        %{name}-%{version}.tar.gz
10
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires:  glib2-devel
14BuildRequires:  gamin-devel
15BuildRequires:  gobject-introspection-devel
16
17Requires:               vine-menus >= 3.0
18
19Vendor:                 Project Vine
20Distribution:   Vine Linux
21Packager:               Takemikaduchi
22
23
24%description
25gnome-menus contains the libgnome-menu library, the layout configuration
26files for the GNOME menu, as well as a simple menu editor.
27
28
29%package devel
30Summary: Libraries and include files for the Cinnamon menu system
31Group: Development/Libraries
32Requires: %{name} = %{version}
33Requires: glib2-devel
34
35%description devel
36This package provides the necessary development libraries for
37writing 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
47make
48
49%install
50rm -rf $RPM_BUILD_ROOT
51make install DESTDIR=$RPM_BUILD_ROOT
52
53rm -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
60rm -rf $RPM_BUILD_ROOT
61
62
63%post -p /sbin/ldconfig
64
65%postun
66/sbin/ldconfig
67update-desktop-database -q &> /dev/null || :
68
69%posttrans
70update-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 May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-1
89- new upstream release
90
91* Sat Jan 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.0-1
92- new upstream release
93
94* Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1
95- initial build
96
Note: See TracBrowser for help on using the repository browser.