]> git.pld-linux.org Git - packages/alacarte.git/blame_incremental - alacarte.spec
- x32 fix, release 2
[packages/alacarte.git] / alacarte.spec
... / ...
CommitLineData
1Summary: Menu editor for the GNOME desktop
2Summary(pl.UTF-8): Edytor menu dla GNOME
3Name: alacarte
4Version: 3.44.2
5Release: 2
6License: LGPL v2+
7Group: X11/Applications
8Source0: https://download.gnome.org/sources/alacarte/3.44/%{name}-%{version}.tar.xz
9# Source0-md5: fddf75e33bb43feca0049c3ee4588fb6
10URL: https://gitlab.gnome.org/GNOME/alacarte
11BuildRequires: autoconf >= 2.53
12BuildRequires: automake >= 1:1.7
13BuildRequires: gettext-tools >= 0.19.8
14BuildRequires: gnome-menus-devel >= 3.5.3
15BuildRequires: libxslt-progs
16BuildRequires: pkgconfig >= 1:0.21
17BuildRequires: python3 >= 1:3.7
18BuildRequires: python3-pygobject3-devel >= 3.0
19BuildRequires: rpm-pythonprov
20BuildRequires: rpmbuild(macros) >= 1.311
21BuildRequires: sed >= 4.0
22BuildRequires: tar >= 1:1.22
23BuildRequires: xz
24Requires(post,postun): gtk-update-icon-cache
25Requires(post,postun): hicolor-icon-theme >= 0.10-3
26Requires: gnome-menus >= 3.5.3
27Requires: gtk+3 >= 3.0
28Requires: python-pygobject3 >= 3.0
29# for help
30Suggests: gnome-user-docs >= 3.36
31BuildArch: noarch
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35Alacarte is a simple freedesktop.org compliant menu editor for GNOME
36that lets you change your menus, simply and quickly.
37
38%description -l pl.UTF-8
39Alacarte jest prostym, zgodnym z freedesktop.org edytorem menu dla
40GNOME pozwalającym w szybki i łatwy sposób dostosować menu do własnych
41potrzeb.
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
61rm -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
74rm -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*
This page took 0.05753 seconds and 4 git commands to generate.