]>
Commit | Line | Data |
---|---|---|
a1238caf JB |
1 | Summary: Mozo - menu editor for MATE desktop |
2 | Summary(pl.UTF-8): Mozo - edytor menu dla środowiska MATE | |
c2f0a71e | 3 | Name: mozo |
6c9b9abb | 4 | Version: 1.22.1 |
c53bacc6 | 5 | Release: 1 |
a1238caf JB |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
ec5246c6 | 8 | Source0: http://pub.mate-desktop.org/releases/1.22/%{name}-%{version}.tar.xz |
6c9b9abb | 9 | # Source0-md5: f100f845b87921c0798c9fc40b4c2034 |
a1238caf JB |
10 | URL: http://mate-desktop.org/ |
11 | BuildRequires: autoconf >= 2.53 | |
12 | BuildRequires: automake >= 1:1.7 | |
f9f848cc | 13 | BuildRequires: gettext-tools |
a1238caf | 14 | BuildRequires: intltool >= 0.40.0 |
ec5246c6 | 15 | BuildRequires: mate-menus-devel >= 1.21.0 |
a1238caf | 16 | BuildRequires: pkgconfig >= 1:0.21 |
ec5246c6 JP |
17 | BuildRequires: python3 >= 1:3.5 |
18 | BuildRequires: python3-pygobject3 >= 3.0 | |
19 | BuildRequires: python-pygobject3-common-devel >= 3.0 | |
a1238caf JB |
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 | |
d03329d3 JB |
26 | Requires: gdk-pixbuf2 |
27 | Requires: gobject-introspection | |
28 | Requires: gtk+3 >= 3.0 | |
ec5246c6 JP |
29 | Requires: mate-menus-libs >= 1.21.0 |
30 | Requires: python3 >= 1:3.5 | |
31 | Requires: python3-pygobject3 >= 3.0 | |
c2f0a71e | 32 | Obsoletes: mate-menu-editor |
a1238caf JB |
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 \ | |
ec5246c6 JP |
57 | PYTHON=/usr/bin/python3 \ |
58 | am_cv_python_pythondir=%{py3_sitescriptdir} \ | |
9f4c4eb4 JB |
59 | --disable-icon-update \ |
60 | --disable-silent-rules | |
a1238caf JB |
61 | %{__make} |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
a1238caf | 69 | # not supported by glibc |
1efc9da8 | 70 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{es_ES,frp,ku_IQ,pms} |
a1238caf JB |
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 | |
ec5246c6 JP |
87 | %dir %{py3_sitescriptdir}/Mozo |
88 | %{py3_sitescriptdir}/Mozo/*.py | |
89 | %dir %{py3_sitescriptdir}/Mozo/__pycache__ | |
90 | %{py3_sitescriptdir}/Mozo/__pycache__/*.py[co] | |
c2f0a71e | 91 | %{_datadir}/mozo |
a1238caf JB |
92 | %{_desktopdir}/mozo.desktop |
93 | %{_iconsdir}/hicolor/*x*/apps/mozo.png | |
9b2eb44a | 94 | %{_mandir}/man1/mozo.1* |