blob: 8586e0d7bae90fccb24863ddfe6946f378b4c3fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
Summary: Mozo - menu editor for MATE desktop
Summary(pl.UTF-8): Mozo - edytor menu dla środowiska MATE
Name: mozo
Version: 1.8.0
Release: 1
License: GPL v2
Group: X11/Applications
Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
# Source0-md5: 1caaf6061d81d01fb85c6023ea43c25a
URL: http://mate-desktop.org/
BuildRequires: autoconf >= 2.53
BuildRequires: automake >= 1:1.7
BuildRequires: gettext-devel
BuildRequires: intltool >= 0.40.0
BuildRequires: mate-menus-devel >= 1.1.0
BuildRequires: pkgconfig >= 1:0.21
BuildRequires: python >= 1:2.4
BuildRequires: python-pygobject >= 2.16.0
BuildRequires: python-pygtk-devel >= 2:2.14.0
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: tar >= 1:1.22
BuildRequires: xz
Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): hicolor-icon-theme >= 0.10-3
Requires: python-pygobject >= 2.16.0
Requires: python-pygtk-glade >= 2:2.14.0
Requires: python-matemenu >= 1.1.0
Obsoletes: mate-menu-editor
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Mozo is a menu editor for MATE using the freedesktop.org menu
specification.
Mozo is a fork of Alacarte.
%description -l pl.UTF-8
Mozo to edytor menu dla środowiska MATE, wykorzystujący specyfikację
menu freedesktop.org.
Mozo to odgałęzienie projektu Alacarte.
%prep
%setup -q
%build
%{__intltoolize}
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
%configure \
PYTHON=/usr/bin/python
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%py_postclean
# not supported by glibc
%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/io
%find_lang mozo
%clean
rm -rf $RPM_BUILD_ROOT
%post
%update_icon_cache hicolor
%postun
%update_icon_cache hicolor
%files -f mozo.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/mozo
%dir %{py_sitescriptdir}/Mozo
%{py_sitescriptdir}/Mozo/*.py[co]
%{_datadir}/mozo
%{_desktopdir}/mozo.desktop
%{_iconsdir}/hicolor/*x*/apps/mozo.png
%{_mandir}/man1/mozo.1*
|