]> git.pld-linux.org Git - packages/mozo.git/blame - mozo.spec
- kab locale is supported now
[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
6c9b9abb 4Version: 1.22.1
c53bacc6 5Release: 1
a1238caf
JB
6License: GPL v2
7Group: X11/Applications
ec5246c6 8Source0: http://pub.mate-desktop.org/releases/1.22/%{name}-%{version}.tar.xz
6c9b9abb 9# Source0-md5: f100f845b87921c0798c9fc40b4c2034
a1238caf
JB
10URL: http://mate-desktop.org/
11BuildRequires: autoconf >= 2.53
12BuildRequires: automake >= 1:1.7
f9f848cc 13BuildRequires: gettext-tools
a1238caf 14BuildRequires: intltool >= 0.40.0
ec5246c6 15BuildRequires: mate-menus-devel >= 1.21.0
a1238caf 16BuildRequires: pkgconfig >= 1:0.21
ec5246c6
JP
17BuildRequires: python3 >= 1:3.5
18BuildRequires: python3-pygobject3 >= 3.0
19BuildRequires: python-pygobject3-common-devel >= 3.0
a1238caf
JB
20BuildRequires: rpm-pythonprov
21BuildRequires: rpmbuild(macros) >= 1.311
22BuildRequires: tar >= 1:1.22
23BuildRequires: xz
24Requires(post,postun): gtk-update-icon-cache
25Requires(post,postun): hicolor-icon-theme >= 0.10-3
d03329d3
JB
26Requires: gdk-pixbuf2
27Requires: gobject-introspection
28Requires: gtk+3 >= 3.0
ec5246c6
JP
29Requires: mate-menus-libs >= 1.21.0
30Requires: python3 >= 1:3.5
31Requires: python3-pygobject3 >= 3.0
c2f0a71e 32Obsoletes: mate-menu-editor
a1238caf
JB
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36Mozo is a menu editor for MATE using the freedesktop.org menu
37specification.
38
39Mozo is a fork of Alacarte.
40
41%description -l pl.UTF-8
42Mozo to edytor menu dla środowiska MATE, wykorzystujący specyfikację
43menu freedesktop.org.
44
45Mozo 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
64rm -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
75rm -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*
This page took 0.134638 seconds and 4 git commands to generate.