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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32665 - (hide annotations) (download)
Sat Jan 22 13:09:56 2011 UTC (13 years, 2 months ago) by blino
File size: 1936 byte(s)
imported package alacarte
1 blino 32665 %define gnome_menus 2.27.92
2     Summary: Simple menu editor for Gnome
3     Name: alacarte
4     Version: 0.13.2
5     Release: %mkrel 3
6     Group: System/Configuration/Other
7     License: LGPLv2+
8     URL: http://www.realistanew.com/projects/alacarte/
9     Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2
10     Source1: %name-icons.tar.bz2
11     BuildArch: noarch
12     BuildRequires: desktop-file-utils
13     BuildRequires: gettext
14     BuildRequires: gnome-menus-devel >= %gnome_menus
15     BuildRequires: intltool
16     BuildRequires: pygtk2.0-devel >= 2.8.0
17     Requires: pygtk2.0 >= 2.8.0
18     Requires: gnome-python-gconf
19     Requires: gnome-python
20     Requires: python-gnome-menus >= %gnome_menus
21     Obsoletes: smeg
22     Provides: smeg = %{version}-%{release}
23     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
24    
25     %description
26     Alacarte is a menu editor for GNOME that lets you get things done,
27     simply and quickly.
28    
29     Just click and type to edit, add, and delete any menu entry.
30    
31     %prep
32     %setup -q -a1
33    
34     %build
35     %configure2_5x -prefix=%_prefix --libdir=%_prefix/lib
36     #./configure --prefix=%_prefix --libdir=%_prefix/lib
37     %make
38    
39     %install
40     rm -rf $RPM_BUILD_ROOT
41     %makeinstall_std
42    
43     %find_lang %name --with-gnome
44    
45     desktop-file-install --vendor="" \
46     --add-category="GNOME" \
47     --add-category="X-MandrivaLinux-System-Configuration-Other" \
48     --dir $RPM_BUILD_ROOT%{_datadir}/applications $RPM_BUILD_ROOT%{_datadir}/applications/*
49    
50     %__install -D -m 644 %{name}48.png %buildroot/%_liconsdir/%name.png
51     %__install -D -m 644 %{name}32.png %buildroot/%_iconsdir/%name.png
52     %__install -D -m 644 %{name}16.png %buildroot/%_miconsdir/%name.png
53    
54     %post
55     %update_menus
56     %update_icon_cache hicolor
57    
58     %postun
59     %clean_menus
60     %clean_icon_cache hicolor
61    
62     %clean
63     rm -rf $RPM_BUILD_ROOT
64    
65     %files -f %{name}.lang
66     %defattr(-,root,root,-)
67     %doc README AUTHORS COPYING
68     %py_puresitedir/*
69     %{_bindir}/*
70     %{_datadir}/applications/*
71     %{_datadir}/%name
72     %{_iconsdir}/hicolor/*/apps/%name.png
73     %{_iconsdir}/*/%name.png
74     %{_iconsdir}/%name.png
75    
76    

  ViewVC Help
Powered by ViewVC 1.1.30