/[packages]/cauldron/alacarte/current/SPECS/alacarte.spec
ViewVC logotype

Contents of /cauldron/alacarte/current/SPECS/alacarte.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 598836 - (show annotations) (download)
Mon Mar 3 15:30:20 2014 UTC (7 years, 6 months ago) by ovitters
File size: 1669 byte(s)
new version 3.11.91
1 %define gnome_menus 3.2.0.1
2
3 %define url_ver %(echo %{version}|cut -d. -f1,2)
4
5 Summary: Simple menu editor for Gnome
6 Name: alacarte
7 Version: 3.11.91
8 Release: %mkrel 1
9 Group: System/Configuration
10 License: LGPLv2+
11 URL: http://www.realistanew.com/projects/alacarte/
12 Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
13 Source1: %{name}-icons.tar.bz2
14 BuildArch: noarch
15 BuildRequires: desktop-file-utils
16 BuildRequires: gettext
17 BuildRequires: pkgconfig(libgnome-menu-3.0) >= %gnome_menus
18 BuildRequires: intltool
19 BuildRequires: pkgconfig(pygobject-3.0)
20 Provides: smeg = %{version}-%{release}
21 Requires: python-gi
22
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 %configure2_5x -prefix=%{_prefix} --libdir=%{_prefix}/lib
34 #./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 %__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
51 %files -f %{name}.lang
52 %doc README AUTHORS COPYING
53 %py_puresitedir/*
54 %{_bindir}/*
55 %{_datadir}/applications/*
56 %{_datadir}/%{name}
57 %{_iconsdir}/hicolor/*/apps/%{name}.png
58 %{_iconsdir}/*/%{name}.png
59 %{_iconsdir}/%{name}.png

  ViewVC Help
Powered by ViewVC 1.1.28