]> git.pld-linux.org Git - packages/cinnamon-menus.git/blob - cinnamon-menus.spec
up to 2.4.1
[packages/cinnamon-menus.git] / cinnamon-menus.spec
1 #
2 # Conditional build:
3 %bcond_with     debug           # enable debugging
4
5 Summary:        A menu system for the Cinnamon project
6 Name:           cinnamon-menus
7 Version:        2.4.1
8 Release:        1
9 License:        LGPL v2+
10 Group:          Libraries
11 Source0:        https://github.com/linuxmint/cinnamon-menus/archive/%{version}/%{name}-%{version}.tar.gz
12 # Source0-md5:  e61dbeb08e55a0ad0ee518d7e980fb50
13 URL:            http://cinnamon.linuxmint.com/
14 BuildRequires:  glib2-devel
15 BuildRequires:  gobject-introspection-devel
16 BuildRequires:  intltool
17 BuildRequires:  pkgconfig
18 BuildRequires:  python-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 cinnamon-menus is an implementation of the draft "Desktop Menu
23 Specification" from freedesktop.org. This package also contains the
24 Cinnamon menu layout configuration files, .directory files and
25 assorted menu related utility programs, Python bindings, and a simple
26 menu editor.
27
28 %package devel
29 Summary:        Libraries and include files for the Cinnamon menu system
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32
33 %description devel
34 This package provides the necessary development libraries for writing
35 applications that use the Cinnamon menu system.
36
37 %prep
38 %setup -q
39
40 %build
41 %configure \
42         --disable-silent-rules \
43         --disable-static \
44         --enable-introspection \
45         --enable-debug=%{!?with_debug:no}%{?with_debug:yes}
46
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libcinnamon-menu-3.la
55
56 %post   -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc AUTHORS NEWS COPYING.LIB
65 %{_libdir}/libcinnamon-menu-3.so.*.*.*
66 %ghost %{_libdir}/libcinnamon-menu-3.so.0
67 %{_libdir}/girepository-1.0/CMenu-3.0.typelib
68
69 %files devel
70 %defattr(644,root,root,755)
71 %{_libdir}/libcinnamon-menu-3.so
72 %{_pkgconfigdir}/libcinnamon-menu-3.0.pc
73 %{_includedir}/cinnamon-menus-3.0
74 %{_datadir}/gir-1.0/CMenu-3.0.gir
This page took 0.106514 seconds and 3 git commands to generate.