]> git.pld-linux.org Git - packages/mozo.git/blob - mozo.spec
89332ea54075a8463f61360a7cabcdbdf23e4c99
[packages/mozo.git] / mozo.spec
1 Summary:        Mozo - menu editor for MATE desktop
2 Summary(pl.UTF-8):      Mozo - edytor menu dla środowiska MATE
3 Name:           mozo
4 Version:        1.24.0
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://pub.mate-desktop.org/releases/1.24/%{name}-%{version}.tar.xz
9 # Source0-md5:  78b9b8d4cb85856d814649b3e5ad1fbc
10 URL:            http://mate-desktop.org/
11 BuildRequires:  autoconf >= 2.53
12 BuildRequires:  automake >= 1:1.7
13 BuildRequires:  gettext-tools >= 0.19.8
14 BuildRequires:  mate-menus-devel >= 1.21.0
15 BuildRequires:  pkgconfig >= 1:0.21
16 BuildRequires:  python3 >= 1:3.5
17 BuildRequires:  python3-pygobject3 >= 3.0
18 BuildRequires:  python-pygobject3-common-devel >= 3.0
19 BuildRequires:  rpm-pythonprov
20 BuildRequires:  rpmbuild(macros) >= 1.752
21 BuildRequires:  tar >= 1:1.22
22 BuildRequires:  xz
23 Requires(post,postun):  gtk-update-icon-cache
24 Requires(post,postun):  hicolor-icon-theme >= 0.10-3
25 Requires:       gdk-pixbuf2
26 Requires:       gobject-introspection
27 Requires:       gtk+3 >= 3.0
28 Requires:       mate-menus-libs >= 1.21.0
29 Requires:       python3 >= 1:3.5
30 Requires:       python3-pygobject3 >= 3.0
31 Obsoletes:      mate-menu-editor
32 %{?noarchpackage}
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 Mozo is a menu editor for MATE using the freedesktop.org menu
37 specification.
38
39 Mozo is a fork of Alacarte.
40
41 %description -l pl.UTF-8
42 Mozo to edytor menu dla środowiska MATE, wykorzystujący specyfikację
43 menu freedesktop.org.
44
45 Mozo to odgałęzienie projektu Alacarte.
46
47 %prep
48 %setup -q
49
50 %build
51 %{__aclocal}
52 %{__autoconf}
53 %{__autoheader}
54 %{__automake}
55 %configure \
56         PYTHON=/usr/bin/python3 \
57         am_cv_python_pythondir=%{py3_sitescriptdir} \
58         --disable-icon-update \
59         --disable-silent-rules
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 # not supported by glibc
69 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{es_ES,frp,ie,ku_IQ,pms}
70
71 %find_lang mozo
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post
77 %update_icon_cache hicolor
78
79 %postun
80 %update_icon_cache hicolor
81
82 %files -f mozo.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog NEWS README
85 %attr(755,root,root) %{_bindir}/mozo
86 %dir %{py3_sitescriptdir}/Mozo
87 %{py3_sitescriptdir}/Mozo/*.py
88 %dir %{py3_sitescriptdir}/Mozo/__pycache__
89 %{py3_sitescriptdir}/Mozo/__pycache__/*.py[co]
90 %{_datadir}/mozo
91 %{_desktopdir}/mozo.desktop
92 %{_iconsdir}/hicolor/*x*/apps/mozo.png
93 %{_mandir}/man1/mozo.1*
This page took 0.04932 seconds and 2 git commands to generate.