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: e4dc193d36c76b974e66e517e9c7ea33
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.22.0
15 BuildRequires: intltool >= 0.37.0
16 BuildRequires: pkgconfig >= 1:0.21
17 BuildRequires: python-pygtk-devel >= 2:2.12.0
18 BuildRequires: rpmbuild(macros) >= 1.311
19 BuildRequires: sed >= 4.0
20 Requires(post,postun): gtk+2
21 Requires(post,postun): hicolor-icon-theme
22 Requires: gnome-menus-editor >= 2.22.0
23 Requires: python-gnome-ui
24 %pyrequires_eq python-modules
25 Requires: python-pygtk-glade >= 2:2.12.0
27 Suggests: gnome-user-docs >= 2.22.0
28 # sr@Latn vs. sr@latin
29 Conflicts: glibc-misc < 6:2.7
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Alacarte is a simple freedesktop.org compliant menu editor for GNOME
34 that lets you change your menus, simply and quickly.
36 %description -l pl.UTF-8
37 Alacarte jest prostym, zgodnym z freedesktop.org edytorem menu dla
38 GNOME pozwalającym w szybki i łatwy sposób dostosować menu do własnych
44 sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
45 mv po/sr@{Latn,latin}.po
53 PYTHON="/usr/bin/python"
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
64 # not supported by glibc
65 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/io
70 rm -rf $RPM_BUILD_ROOT
73 %update_icon_cache hicolor
76 %update_icon_cache hicolor
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog NEWS README
81 %attr(755,root,root) %{_bindir}/alacarte
82 %dir %{py_sitescriptdir}/Alacarte
83 %{py_sitescriptdir}/Alacarte/*.py[co]
85 %{_desktopdir}/alacarte.desktop
86 %{_iconsdir}/hicolor/*/*/*