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 |
474842 |
Version: 3.9.91 |
8 |
dams |
426199 |
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 |
|
|
|
22 |
|
|
%description |
23 |
|
|
Alacarte is a menu editor for GNOME that lets you get things done, |
24 |
|
|
simply and quickly. |
25 |
|
|
|
26 |
|
|
Just click and type to edit, add, and delete any menu entry. |
27 |
|
|
|
28 |
|
|
%prep |
29 |
|
|
%setup -q -a1 |
30 |
|
|
|
31 |
|
|
%build |
32 |
dams |
426199 |
%configure2_5x -prefix=%{_prefix} --libdir=%{_prefix}/lib |
33 |
blino |
32665 |
#./configure --prefix=%_prefix --libdir=%_prefix/lib |
34 |
|
|
%make |
35 |
|
|
|
36 |
|
|
%install |
37 |
|
|
%makeinstall_std |
38 |
|
|
|
39 |
|
|
%find_lang %name --with-gnome |
40 |
|
|
|
41 |
|
|
desktop-file-install --vendor="" \ |
42 |
|
|
--add-category="GNOME" \ |
43 |
|
|
--add-category="X-MandrivaLinux-System-Configuration-Other" \ |
44 |
|
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications $RPM_BUILD_ROOT%{_datadir}/applications/* |
45 |
|
|
|
46 |
dams |
426199 |
%__install -D -m 644 %{name}48.png %{buildroot}%{_liconsdir}/%{name}.png |
47 |
|
|
%__install -D -m 644 %{name}32.png %{buildroot}%{_iconsdir}/%{name}.png |
48 |
|
|
%__install -D -m 644 %{name}16.png %{buildroot}%{_miconsdir}/%{name}.png |
49 |
blino |
32665 |
|
50 |
|
|
%files -f %{name}.lang |
51 |
|
|
%doc README AUTHORS COPYING |
52 |
|
|
%py_puresitedir/* |
53 |
|
|
%{_bindir}/* |
54 |
|
|
%{_datadir}/applications/* |
55 |
dams |
426199 |
%{_datadir}/%{name} |
56 |
|
|
%{_iconsdir}/hicolor/*/apps/%{name}.png |
57 |
|
|
%{_iconsdir}/*/%{name}.png |
58 |
|
|
%{_iconsdir}/%{name}.png |