1 Summary: Menu editor for the GNOME desktop
2 Summary(pl.UTF-8): Edytor menu dla GNOME
7 Group: X11/Applications
8 Source0: http://ftp.gnome.org/pub/gnome/sources/alacarte/0.11/%{name}-%{version}.tar.bz2
9 # Source0-md5: 13552666ac84759bb42689ebe3708b26
10 URL: http://www.realistanew.com/projects/alacarte/
11 BuildRequires: autoconf >= 2.53
12 BuildRequires: automake >= 1:1.7
13 BuildRequires: gettext-devel
14 BuildRequires: gnome-menus-devel >= 2.16.1
15 BuildRequires: intltool >= 0.35.0
16 BuildRequires: pkgconfig >= 1:0.21
17 BuildRequires: python-pygtk-devel >= 2:2.10.3
18 BuildRequires: rpmbuild(macros) >= 1.311
19 Requires(post,postun): gtk+2 >= 2:2.10.6
20 Requires(post,postun): hicolor-icon-theme
21 Requires: gnome-menus-editor >= 2.16.1
22 %pyrequires_eq python-modules
23 Requires: python-pygtk-glade >= 2:2.10.3
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Alacarte is a simple freedesktop.org compliant menu editor for GNOME
28 that lets you change your menus, simply and quickly.
30 %description -l pl.UTF-8
31 Alacarte jest prostym, zgodnym z freedesktop.org edytorem menu dla
32 GNOME pozwalającym w szybki i łatwy sposób dostosować menu do własnych
44 PYTHON="/usr/bin/python"
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
53 rm -f $RPM_BUILD_ROOT%{py_sitedir}/Alacarte/*.py
55 %find_lang %{name} --with-gnome
58 rm -rf $RPM_BUILD_ROOT
61 %update_icon_cache hicolor
64 %update_icon_cache hicolor
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %doc AUTHORS ChangeLog NEWS README
69 %attr(755,root,root) %{_bindir}/*
70 %dir %{py_sitedir}/Alacarte
71 %{py_sitedir}/Alacarte/*.py[co]
73 %{_desktopdir}/*.desktop
74 %{_iconsdir}/hicolor/*/*/*