]> git.pld-linux.org Git - packages/mozo.git/blob - mozo.spec
8f853f6cb462d94d2cec6f4830339ce3aa441e77
[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.311
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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 Mozo is a menu editor for MATE using the freedesktop.org menu
36 specification.
37
38 Mozo is a fork of Alacarte.
39
40 %description -l pl.UTF-8
41 Mozo to edytor menu dla środowiska MATE, wykorzystujący specyfikację
42 menu freedesktop.org.
43
44 Mozo to odgałęzienie projektu Alacarte.
45
46 %prep
47 %setup -q
48
49 %build
50 %{__aclocal}
51 %{__autoconf}
52 %{__autoheader}
53 %{__automake}
54 %configure \
55         PYTHON=/usr/bin/python3 \
56         am_cv_python_pythondir=%{py3_sitescriptdir} \
57         --disable-icon-update \
58         --disable-silent-rules
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 # not supported by glibc
68 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{es_ES,frp,ie,ku_IQ,pms}
69
70 %find_lang mozo
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post
76 %update_icon_cache hicolor
77
78 %postun
79 %update_icon_cache hicolor
80
81 %files -f mozo.lang
82 %defattr(644,root,root,755)
83 %doc AUTHORS ChangeLog NEWS README
84 %attr(755,root,root) %{_bindir}/mozo
85 %dir %{py3_sitescriptdir}/Mozo
86 %{py3_sitescriptdir}/Mozo/*.py
87 %dir %{py3_sitescriptdir}/Mozo/__pycache__
88 %{py3_sitescriptdir}/Mozo/__pycache__/*.py[co]
89 %{_datadir}/mozo
90 %{_desktopdir}/mozo.desktop
91 %{_iconsdir}/hicolor/*x*/apps/mozo.png
92 %{_mandir}/man1/mozo.1*
This page took 0.066063 seconds and 2 git commands to generate.