summaryrefslogtreecommitdiff
path: root/mozo.spec
blob: eeed576d61ae68a506a6b8e26def94e16a1234c5 (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
%global branch 1.28

Name:          mozo
Version:       %{branch}.0
Release:       1
Summary:       MATE Desktop menu editor
License:       LGPLv2+
URL:           http://mate-desktop.org
Source0:       http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz

BuildRequires: desktop-file-utils
BuildRequires: make
BuildRequires: mate-common 
BuildRequires: mate-menus-devel
BuildRequires: pkgconfig(pygobject-3.0)
BuildRequires: python3-devel

Requires:      mate-menus

BuildArch:     noarch

%description
MATE Desktop menu editor

%prep
%autosetup -p1

%build
%configure

make %{?_smp_mflags} V=1

%install
%{make_install}

desktop-file-install                                  \
        --dir=%{buildroot}%{_datadir}/applications    \
%{buildroot}%{_datadir}/applications/mozo.desktop

%find_lang %{name} --with-gnome --all-name


%files -f %{name}.lang
%doc AUTHORS COPYING README
%{_bindir}/mozo
%{_datadir}/icons/hicolor/*x*/apps/mozo.png
%{_datadir}/mozo/
%{_datadir}/applications/mozo.desktop
%{_mandir}/man1/mozo.1.*
%dir %{python3_sitelib}/Mozo
%{python3_sitelib}/Mozo/*


%changelog
* Sun Dec 01 2024 sqfu <dev01203@linx-info.com> - 1.28.0-1
- package init.