summaryrefslogtreecommitdiff
path: root/cinnamon-menus.spec
blob: 6dcff6074798df88517e1f0af1ab90ce5aaf2af4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Name:          cinnamon-menus
Version:       6.4.0
Release:       1
Summary:       A menu system for the Cinnamon project
License:       LGPL-2.0-or-later AND GPL-2.0-or-later
URL:           https://github.com/linuxmint/%{name} 
Source0:       https://github.com/linuxmint/cinnamon-menus/archive/refs/tags/%{version}.tar.gz

ExcludeArch:   %{ix86}

BuildRequires: intltool
BuildRequires: meson >= 0.56.0
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.29.15
BuildRequires: pkgconfig(gobject-introspection-1.0)

%description
cinnamon-menus is an implementation of the draft "Desktop
Menu Specification" from freedesktop.org. This package
also contains the Cinnamon menu layout configuration files,
.directory files and assorted menu related utility programs,
Python bindings, and a simple menu editor.

%package devel
Summary: Libraries and include files for the Cinnamon menu system
Requires: %{name}%{?_isa} = %{version}-%{release}

%description devel
This package provides the necessary development libraries for
writing applications that use the Cinnamon menu system.

%prep
%autosetup -p1

%build
%meson \
 -Ddeprecated_warnings=false \
 -Denable_debug=false

%meson_build

%install
%meson_install

%files
%doc AUTHORS NEWS
%license COPYING COPYING.LIB
%{_libdir}/lib*.so.*
%{_libdir}/girepository-1.0/CMenu-3.0.typelib

%files devel
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*
%{_includedir}/cinnamon-menus-3.0
%{_datadir}/gir-1.0/CMenu-3.0.gir

%changelog
* Sun Jan 05 2025 Funda Wang <fundawang@yeah.net> - 6.4.0-1
- update to 6.4.0

* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 5.6.0-1
- update to 5.6.0

* Fri May 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 5.2.0-1
- Inital Packaging