1 |
ovitters |
253426 |
%define gnome_menus 3.2.0.1 |
2 |
ovitters |
209253 |
|
3 |
|
|
%define url_ver %(echo %{version}|cut -d. -f1,2) |
4 |
|
|
|
5 |
blino |
32665 |
Summary: Simple menu editor for Gnome |
6 |
|
|
Name: alacarte |
7 |
ovitters |
598836 |
Version: 3.11.91 |
8 |
|
|
Release: %mkrel 1 |
9 |
fwang |
391389 |
Group: System/Configuration |
10 |
blino |
32665 |
License: LGPLv2+ |
11 |
|
|
URL: http://www.realistanew.com/projects/alacarte/ |
12 |
ovitters |
484894 |
Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz |
13 |
dams |
426199 |
Source1: %{name}-icons.tar.bz2 |
14 |
blino |
32665 |
BuildArch: noarch |
15 |
|
|
BuildRequires: desktop-file-utils |
16 |
|
|
BuildRequires: gettext |
17 |
ovitters |
253426 |
BuildRequires: pkgconfig(libgnome-menu-3.0) >= %gnome_menus |
18 |
blino |
32665 |
BuildRequires: intltool |
19 |
ovitters |
253426 |
BuildRequires: pkgconfig(pygobject-3.0) |
20 |
blino |
32665 |
Provides: smeg = %{version}-%{release} |
21 |
fwang |
548850 |
Requires: python-gi |
22 |
blino |
32665 |
|
23 |
|
|
%description |
24 |
|
|
Alacarte is a menu editor for GNOME that lets you get things done, |
25 |
|
|
simply and quickly. |
26 |
|
|
|
27 |
|
|
Just click and type to edit, add, and delete any menu entry. |
28 |
|
|
|
29 |
|
|
%prep |
30 |
|
|
%setup -q -a1 |
31 |
|
|
|
32 |
|
|
%build |
33 |
dams |
426199 |
%configure2_5x -prefix=%{_prefix} --libdir=%{_prefix}/lib |
34 |
blino |
32665 |
#./configure --prefix=%_prefix --libdir=%_prefix/lib |
35 |
|
|
%make |
36 |
|
|
|
37 |
|
|
%install |
38 |
|
|
%makeinstall_std |
39 |
|
|
|
40 |
|
|
%find_lang %name --with-gnome |
41 |
|
|
|
42 |
|
|
desktop-file-install --vendor="" \ |
43 |
|
|
--add-category="GNOME" \ |
44 |
|
|
--add-category="X-MandrivaLinux-System-Configuration-Other" \ |
45 |
|
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications $RPM_BUILD_ROOT%{_datadir}/applications/* |
46 |
|
|
|
47 |
dams |
426199 |
%__install -D -m 644 %{name}48.png %{buildroot}%{_liconsdir}/%{name}.png |
48 |
|
|
%__install -D -m 644 %{name}32.png %{buildroot}%{_iconsdir}/%{name}.png |
49 |
|
|
%__install -D -m 644 %{name}16.png %{buildroot}%{_miconsdir}/%{name}.png |
50 |
blino |
32665 |
|
51 |
|
|
%files -f %{name}.lang |
52 |
|
|
%doc README AUTHORS COPYING |
53 |
|
|
%py_puresitedir/* |
54 |
|
|
%{_bindir}/* |
55 |
|
|
%{_datadir}/applications/* |
56 |
dams |
426199 |
%{_datadir}/%{name} |
57 |
|
|
%{_iconsdir}/hicolor/*/apps/%{name}.png |
58 |
|
|
%{_iconsdir}/*/%{name}.png |
59 |
|
|
%{_iconsdir}/%{name}.png |