]>
Commit | Line | Data |
---|---|---|
1 | Summary: Menu editor for the GNOME desktop | |
2 | Summary(pl.UTF-8): Edytor menu dla GNOME | |
3 | Name: alacarte | |
4 | Version: 3.44.2 | |
5 | Release: 2 | |
6 | License: LGPL v2+ | |
7 | Group: X11/Applications | |
8 | Source0: https://download.gnome.org/sources/alacarte/3.44/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: fddf75e33bb43feca0049c3ee4588fb6 | |
10 | URL: https://gitlab.gnome.org/GNOME/alacarte | |
11 | BuildRequires: autoconf >= 2.53 | |
12 | BuildRequires: automake >= 1:1.7 | |
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 | |
23 | BuildRequires: xz | |
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 | |
29 | # for help | |
30 | Suggests: gnome-user-docs >= 3.36 | |
31 | BuildArch: noarch | |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | %description | |
35 | Alacarte is a simple freedesktop.org compliant menu editor for GNOME | |
36 | that lets you change your menus, simply and quickly. | |
37 | ||
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 | |
41 | potrzeb. | |
42 | ||
43 | %prep | |
44 | %setup -q | |
45 | ||
46 | %build | |
47 | %{__aclocal} | |
48 | %{__autoconf} | |
49 | %{__autoheader} | |
50 | %{__automake} | |
51 | %configure \ | |
52 | %if "%{_host_cpu}" != "x32" | |
53 | --build=%{_host} \ | |
54 | --host=%{_host} \ | |
55 | %endif | |
56 | --disable-silent-rules | |
57 | ||
58 | %{__make} | |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %{__make} install \ | |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
66 | %py_postclean | |
67 | ||
68 | # not supported by glibc | |
69 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/io | |
70 | ||
71 | %find_lang %{name} | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post | |
77 | %update_icon_cache hicolor | |
78 | ||
79 | %postun | |
80 | %update_icon_cache hicolor | |
81 | ||
82 | %files -f %{name}.lang | |
83 | %defattr(644,root,root,755) | |
84 | %doc AUTHORS ChangeLog NEWS README | |
85 | %attr(755,root,root) %{_bindir}/alacarte | |
86 | %{py3_sitescriptdir}/Alacarte | |
87 | %{_datadir}/alacarte | |
88 | %{_desktopdir}/alacarte.desktop | |
89 | %{_iconsdir}/hicolor/*x*/apps/alacarte.png | |
90 | %{_mandir}/man1/alacarte.1* |