/[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 236006 - (show annotations) (download)
Wed May 23 19:55:49 2012 UTC (11 years, 10 months ago) by ovitters
File size: 1778 byte(s)
- use xz tarball
- new version 0.13.3
1 %define gnome_menus 2.27.92
2
3 %define url_ver %(echo %{version}|cut -d. -f1,2)
4
5 Summary: Simple menu editor for Gnome
6 Name: alacarte
7 Version: 0.13.3
8 Release: %mkrel 1
9 Group: System/Configuration/Other
10 License: LGPLv2+
11 URL: http://www.realistanew.com/projects/alacarte/
12 Source0: http://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: gnome-menus-devel >= %gnome_menus
18 BuildRequires: intltool
19 BuildRequires: pygtk2.0-devel >= 2.8.0
20 Requires: pygtk2.0 >= 2.8.0
21 Requires: gnome-python-gconf
22 Requires: gnome-python
23 Requires: python-gnome-menus >= %gnome_menus
24 Obsoletes: smeg
25 Provides: smeg = %{version}-%{release}
26
27 %description
28 Alacarte is a menu editor for GNOME that lets you get things done,
29 simply and quickly.
30
31 Just click and type to edit, add, and delete any menu entry.
32
33 %prep
34 %setup -q -a1
35
36 %build
37 %configure2_5x -prefix=%_prefix --libdir=%_prefix/lib
38 #./configure --prefix=%_prefix --libdir=%_prefix/lib
39 %make
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 %makeinstall_std
44
45 %find_lang %name --with-gnome
46
47 desktop-file-install --vendor="" \
48 --add-category="GNOME" \
49 --add-category="X-MandrivaLinux-System-Configuration-Other" \
50 --dir $RPM_BUILD_ROOT%{_datadir}/applications $RPM_BUILD_ROOT%{_datadir}/applications/*
51
52 %__install -D -m 644 %{name}48.png %buildroot/%_liconsdir/%name.png
53 %__install -D -m 644 %{name}32.png %buildroot/%_iconsdir/%name.png
54 %__install -D -m 644 %{name}16.png %buildroot/%_miconsdir/%name.png
55
56 %files -f %{name}.lang
57 %doc README AUTHORS COPYING
58 %py_puresitedir/*
59 %{_bindir}/*
60 %{_datadir}/applications/*
61 %{_datadir}/%name
62 %{_iconsdir}/hicolor/*/apps/%name.png
63 %{_iconsdir}/*/%name.png
64 %{_iconsdir}/%name.png
65
66

  ViewVC Help
Powered by ViewVC 1.1.30