]> git.pld-linux.org Git - packages/mozo.git/blob - mozo.spec
b22b74b5a15496f69cfc7ea7d7ddbfad526a4f91
[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.22.1
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://pub.mate-desktop.org/releases/1.22/%{name}-%{version}.tar.xz
9 # Source0-md5:  f100f845b87921c0798c9fc40b4c2034
10 URL:            http://mate-desktop.org/
11 BuildRequires:  autoconf >= 2.53
12 BuildRequires:  automake >= 1:1.7
13 BuildRequires:  gettext-tools
14 BuildRequires:  intltool >= 0.40.0
15 BuildRequires:  mate-menus-devel >= 1.21.0
16 BuildRequires:  pkgconfig >= 1:0.21
17 BuildRequires:  python3 >= 1:3.5
18 BuildRequires:  python3-pygobject3 >= 3.0
19 BuildRequires:  python-pygobject3-common-devel >= 3.0
20 BuildRequires:  rpm-pythonprov
21 BuildRequires:  rpmbuild(macros) >= 1.311
22 BuildRequires:  tar >= 1:1.22
23 BuildRequires:  xz
24 Requires(post,postun):  gtk-update-icon-cache
25 Requires(post,postun):  hicolor-icon-theme >= 0.10-3
26 Requires:       gdk-pixbuf2
27 Requires:       gobject-introspection
28 Requires:       gtk+3 >= 3.0
29 Requires:       mate-menus-libs >= 1.21.0
30 Requires:       python3 >= 1:3.5
31 Requires:       python3-pygobject3 >= 3.0
32 Obsoletes:      mate-menu-editor
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 %{__intltoolize}
52 %{__aclocal}
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 %configure \
57         PYTHON=/usr/bin/python3 \
58         am_cv_python_pythondir=%{py3_sitescriptdir} \
59         --disable-icon-update \
60         --disable-silent-rules
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 # not supported by glibc
70 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{es_ES,frp,kab,ku_IQ,pms}
71
72 %find_lang mozo
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post
78 %update_icon_cache hicolor
79
80 %postun
81 %update_icon_cache hicolor
82
83 %files -f mozo.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog NEWS README
86 %attr(755,root,root) %{_bindir}/mozo
87 %dir %{py3_sitescriptdir}/Mozo
88 %{py3_sitescriptdir}/Mozo/*.py
89 %dir %{py3_sitescriptdir}/Mozo/__pycache__
90 %{py3_sitescriptdir}/Mozo/__pycache__/*.py[co]
91 %{_datadir}/mozo
92 %{_desktopdir}/mozo.desktop
93 %{_iconsdir}/hicolor/*x*/apps/mozo.png
94 %{_mandir}/man1/mozo.1*
This page took 0.139329 seconds and 2 git commands to generate.