]> git.pld-linux.org Git - packages/mozo.git/blame - mozo.spec
up to 1.14.0
[packages/mozo.git] / mozo.spec
CommitLineData
a1238caf
JB
1Summary: Mozo - menu editor for MATE desktop
2Summary(pl.UTF-8): Mozo - edytor menu dla środowiska MATE
c2f0a71e 3Name: mozo
b82404b1 4Version: 1.14.0
c53bacc6 5Release: 1
a1238caf
JB
6License: GPL v2
7Group: X11/Applications
b82404b1
JP
8Source0: http://pub.mate-desktop.org/releases/1.14/%{name}-%{version}.tar.xz
9# Source0-md5: 4d0dd62dd11c36d94ada9564e0f41c09
a1238caf
JB
10URL: http://mate-desktop.org/
11BuildRequires: autoconf >= 2.53
12BuildRequires: automake >= 1:1.7
f9f848cc 13BuildRequires: gettext-tools
a1238caf
JB
14BuildRequires: intltool >= 0.40.0
15BuildRequires: mate-menus-devel >= 1.1.0
16BuildRequires: pkgconfig >= 1:0.21
b82404b1
JP
17BuildRequires: python >= 1:2.7
18BuildRequires: python-pygobject3
a1238caf
JB
19BuildRequires: rpm-pythonprov
20BuildRequires: rpmbuild(macros) >= 1.311
21BuildRequires: tar >= 1:1.22
22BuildRequires: xz
23Requires(post,postun): gtk-update-icon-cache
24Requires(post,postun): hicolor-icon-theme >= 0.10-3
b82404b1 25Requires: python-pygobject3
a1238caf 26Requires: python-matemenu >= 1.1.0
c2f0a71e 27Obsoletes: mate-menu-editor
a1238caf
JB
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31Mozo is a menu editor for MATE using the freedesktop.org menu
32specification.
33
34Mozo is a fork of Alacarte.
35
36%description -l pl.UTF-8
37Mozo to edytor menu dla środowiska MATE, wykorzystujący specyfikację
38menu freedesktop.org.
39
40Mozo 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
59rm -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
72rm -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*
This page took 0.072345 seconds and 4 git commands to generate.