]> git.pld-linux.org Git - packages/mozo.git/blob - mozo.spec
- updated to 1.14.1
[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.14.1
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://pub.mate-desktop.org/releases/1.14/%{name}-%{version}.tar.xz
9 # Source0-md5:  573bf9df46e7d42e0f0f615e90bad0dc
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.1.0
16 BuildRequires:  pkgconfig >= 1:0.21
17 BuildRequires:  python >= 1:2.7
18 BuildRequires:  python-pygobject3 >= 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:       python-pygobject3 >= 3.0
29 Requires:       python-matemenu >= 1.1.0
30 Obsoletes:      mate-menu-editor
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 Mozo is a menu editor for MATE using the freedesktop.org menu
35 specification.
36
37 Mozo is a fork of Alacarte.
38
39 %description -l pl.UTF-8
40 Mozo to edytor menu dla środowiska MATE, wykorzystujący specyfikację
41 menu freedesktop.org.
42
43 Mozo to odgałęzienie projektu Alacarte.
44
45 %prep
46 %setup -q
47
48 %build
49 %{__intltoolize}
50 %{__aclocal}
51 %{__autoconf}
52 %{__autoheader}
53 %{__automake}
54 %configure \
55         PYTHON=/usr/bin/python \
56         am_cv_python_pythondir=%{py_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 %py_postclean
68
69 # not supported by glibc
70 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{frp,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 %{py_sitescriptdir}/Mozo
88 %{py_sitescriptdir}/Mozo/*.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.077417 seconds and 3 git commands to generate.