]>
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 |
b82404b1 | 4 | Version: 1.14.0 |
c53bacc6 | 5 | Release: 1 |
a1238caf JB |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
b82404b1 JP |
8 | Source0: http://pub.mate-desktop.org/releases/1.14/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 4d0dd62dd11c36d94ada9564e0f41c09 | |
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 JB |
14 | BuildRequires: intltool >= 0.40.0 |
15 | BuildRequires: mate-menus-devel >= 1.1.0 | |
16 | BuildRequires: pkgconfig >= 1:0.21 | |
b82404b1 JP |
17 | BuildRequires: python >= 1:2.7 |
18 | BuildRequires: python-pygobject3 | |
a1238caf JB |
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 | |
b82404b1 | 25 | Requires: python-pygobject3 |
a1238caf | 26 | Requires: python-matemenu >= 1.1.0 |
c2f0a71e | 27 | Obsoletes: mate-menu-editor |
a1238caf JB |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
31 | Mozo is a menu editor for MATE using the freedesktop.org menu | |
32 | specification. | |
33 | ||
34 | Mozo is a fork of Alacarte. | |
35 | ||
36 | %description -l pl.UTF-8 | |
37 | Mozo to edytor menu dla środowiska MATE, wykorzystujący specyfikację | |
38 | menu freedesktop.org. | |
39 | ||
40 | Mozo to odgałęzienie projektu Alacarte. | |
41 | ||
42 | %prep | |
43 | %setup -q | |
44 | ||
45 | %build | |
46 | %{__intltoolize} | |
47 | %{__aclocal} | |
48 | %{__autoconf} | |
49 | %{__autoheader} | |
50 | %{__automake} | |
51 | %configure \ | |
9f4c4eb4 | 52 | PYTHON=/usr/bin/python \ |
b82404b1 | 53 | am_cv_python_pythondir=%{py_sitescriptdir} \ |
9f4c4eb4 JB |
54 | --disable-icon-update \ |
55 | --disable-silent-rules | |
a1238caf JB |
56 | %{__make} |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
63 | ||
64 | %py_postclean | |
65 | ||
66 | # not supported by glibc | |
b82404b1 | 67 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{frp,io,ku_IQ} |
a1238caf JB |
68 | |
69 | %find_lang mozo | |
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %post | |
75 | %update_icon_cache hicolor | |
76 | ||
77 | %postun | |
78 | %update_icon_cache hicolor | |
79 | ||
80 | %files -f mozo.lang | |
81 | %defattr(644,root,root,755) | |
82 | %doc AUTHORS ChangeLog NEWS README | |
83 | %attr(755,root,root) %{_bindir}/mozo | |
84 | %dir %{py_sitescriptdir}/Mozo | |
85 | %{py_sitescriptdir}/Mozo/*.py[co] | |
c2f0a71e | 86 | %{_datadir}/mozo |
a1238caf JB |
87 | %{_desktopdir}/mozo.desktop |
88 | %{_iconsdir}/hicolor/*x*/apps/mozo.png | |
9b2eb44a | 89 | %{_mandir}/man1/mozo.1* |