1 Summary: Menu editor for the GNOME desktop
2 Summary(pl.UTF-8): Edytor menu dla GNOME
7 Group: X11/Applications
8 Source0: https://download.gnome.org/sources/alacarte/3.50/%{name}-%{version}.tar.xz
9 # Source0-md5: 78fc3df95d494822e3e3f8ea33a9972a
10 URL: https://gitlab.gnome.org/GNOME/alacarte
11 BuildRequires: autoconf >= 2.53
12 BuildRequires: automake >= 1:1.16.4
13 BuildRequires: gettext-tools >= 0.19.8
14 BuildRequires: gnome-menus-devel >= 3.5.3
15 BuildRequires: libxslt-progs
16 BuildRequires: pkgconfig >= 1:0.21
17 BuildRequires: python3 >= 1:3.7
18 BuildRequires: python3-pygobject3-devel >= 3.0
19 BuildRequires: rpm-pythonprov
20 BuildRequires: rpmbuild(macros) >= 1.311
21 BuildRequires: sed >= 4.0
22 BuildRequires: tar >= 1:1.22
24 Requires(post,postun): gtk-update-icon-cache
25 Requires(post,postun): hicolor-icon-theme >= 0.10-3
26 Requires: gnome-menus >= 3.5.3
27 Requires: gtk+3 >= 3.0
28 Requires: python-pygobject3 >= 3.0
30 Suggests: gnome-user-docs >= 3.36
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Alacarte is a simple freedesktop.org compliant menu editor for GNOME
36 that lets you change your menus, simply and quickly.
38 %description -l pl.UTF-8
39 Alacarte jest prostym, zgodnym z freedesktop.org edytorem menu dla
40 GNOME pozwalającym w szybki i łatwy sposób dostosować menu do własnych
52 %if "%{_host_cpu}" != "x32"
56 --disable-silent-rules
61 rm -rf $RPM_BUILD_ROOT
64 DESTDIR=$RPM_BUILD_ROOT
68 # not supported by glibc
69 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{ie,io}
74 rm -rf $RPM_BUILD_ROOT
77 %update_icon_cache hicolor
80 %update_icon_cache hicolor
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog NEWS README.md
85 %attr(755,root,root) %{_bindir}/alacarte
86 %{py3_sitescriptdir}/Alacarte
88 %{_desktopdir}/alacarte.desktop
89 %{_iconsdir}/hicolor/*x*/apps/alacarte.png
90 %{_mandir}/man1/alacarte.1*