]>
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.42.0 | |
5 | Release: 2 | |
6 | License: LGPL v2+ | |
7 | Group: X11/Applications | |
8 | Source0: https://download.gnome.org/sources/alacarte/3.42/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: d33d6689bd670f16c1fafd1774b369e9 | |
10 | URL: https://gitlab.gnome.org/GNOME/alacarte | |
11 | BuildRequires: autoconf >= 2.53 | |
12 | BuildRequires: automake >= 1:1.7 | |
13 | BuildRequires: gettext-tools | |
14 | BuildRequires: gnome-menus-devel >= 3.5.3 | |
15 | BuildRequires: intltool >= 0.40.0 | |
16 | BuildRequires: libxslt-progs | |
17 | BuildRequires: pkgconfig >= 1:0.21 | |
18 | BuildRequires: python3 >= 1:3.3 | |
19 | BuildRequires: python3-pygobject3-devel >= 3.0 | |
20 | BuildRequires: rpm-pythonprov | |
21 | BuildRequires: rpmbuild(macros) >= 1.311 | |
22 | BuildRequires: sed >= 4.0 | |
23 | BuildRequires: tar >= 1:1.22 | |
24 | BuildRequires: xz | |
25 | Requires(post,postun): gtk-update-icon-cache | |
26 | Requires(post,postun): hicolor-icon-theme >= 0.10-3 | |
27 | Requires: gnome-menus >= 3.5.3 | |
28 | Requires: gtk+3 >= 3.0 | |
29 | Requires: python-pygobject3 >= 3.0 | |
30 | # for help | |
31 | Suggests: gnome-user-docs >= 3.36 | |
32 | BuildArch: noarch | |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
36 | Alacarte is a simple freedesktop.org compliant menu editor for GNOME | |
37 | that lets you change your menus, simply and quickly. | |
38 | ||
39 | %description -l pl.UTF-8 | |
40 | Alacarte jest prostym, zgodnym z freedesktop.org edytorem menu dla | |
41 | GNOME pozwalającym w szybki i łatwy sposób dostosować menu do własnych | |
42 | potrzeb. | |
43 | ||
44 | %prep | |
45 | %setup -q | |
46 | ||
47 | %build | |
48 | %{__intltoolize} | |
49 | %{__aclocal} | |
50 | %{__autoconf} | |
51 | %{__autoheader} | |
52 | %{__automake} | |
53 | %configure | |
54 | ||
55 | %{__make} | |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %{__make} install \ | |
61 | DESTDIR=$RPM_BUILD_ROOT | |
62 | ||
63 | %py_postclean | |
64 | ||
65 | # not supported by glibc | |
66 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/io | |
67 | ||
68 | %find_lang %{name} | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post | |
74 | %update_icon_cache hicolor | |
75 | ||
76 | %postun | |
77 | %update_icon_cache hicolor | |
78 | ||
79 | %files -f %{name}.lang | |
80 | %defattr(644,root,root,755) | |
81 | %doc AUTHORS ChangeLog NEWS README | |
82 | %attr(755,root,root) %{_bindir}/alacarte | |
83 | %{py3_sitescriptdir}/Alacarte | |
84 | %{_datadir}/alacarte | |
85 | %{_desktopdir}/alacarte.desktop | |
86 | %{_iconsdir}/hicolor/*x*/apps/alacarte.png | |
87 | %{_mandir}/man1/alacarte.1* |