]> git.pld-linux.org Git - packages/alacarte.git/blob - alacarte.spec
- updated to 3.50.0
[packages/alacarte.git] / alacarte.spec
1 Summary:        Menu editor for the GNOME desktop
2 Summary(pl.UTF-8):      Edytor menu dla GNOME
3 Name:           alacarte
4 Version:        3.50.0
5 Release:        1
6 License:        LGPL v2+
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
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/{ie,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.md
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.053919 seconds and 4 git commands to generate.