%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: alacarte Version: 0.11.1.1 Release: 2%{?dist} Summary: Simple menu editor for GNOME Group: Applications/System License: GPL URL: http://www.realistanew.com/projects/alacarte/ Source0: http://dev.realistanew.com/alacarte/releases/0.10/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python, python-devel, intltool, gettext BuildRequires: pygtk2-devel BuildRequires: pkgconfig BuildRequires: gnome-menus-devel >= 2.15.4 BuildRequires: autoconf Requires: pygtk2, gnome-python2-gconf Requires: gnome-menus >= 2.15.4 Obsoletes: smeg Provides: smeg-%{version}-%{release} %description Alacarte is a menu editor for GNOME that lets you get things done, simply and quickly. Just click and type to edit, add, and delete any menu entry. %prep %setup -q -n %{name}-%{version} %build autoconf %{configure} make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi %postun touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi %files -f %{name}.lang %defattr(-,root,root,-) %doc README AUTHORS COPYING %{python_sitelib}/Alacarte %{_bindir}/* %{_datadir}/applications/* %{_datadir}/alacarte %{_datadir}/icons/hicolor/22x22/apps/alacarte.png %{_datadir}/icons/hicolor/scalable/apps/alacarte.svg %changelog * Fri Jan 26 2007 Matthias Clasen - 0.11.1.1-2 - Fix the Provides: line * Thu Jan 11 2007 Matthias Clasen - 0.11.1.1-1 - Update to 0.11.1.1 * Wed Dec 20 2006 Matthias Clasen - 0.10.2-2 - Update to 0.10.2 * Sat Dec 9 2006 Matthias Clasen - 0.10.1-4 - try again * Wed Dec 6 2006 Jeremy Katz - 0.10.1-2 - build against python 2.5 * Sat Oct 21 2006 Matthias Clasen - 0.10.1-1 - Update to 0.10.1 * Mon Sep 4 2006 Matthias Clasen - 0.10.0-1.fc6 - Update to 0.10.0 * Mon Aug 21 2006 Matthias Clasen - 0.9.90-7.fc6 - Fix more build requires * Mon Aug 21 2006 Matthias Clasen - 0.9.90-3.fc6 - Add BR for pkgconfig * Mon Aug 21 2006 Matthias Clasen - 0.9.90-1.fc6 - Update to 0.9.90 * Thu Aug 17 2006 Ray Strode - 0.8-8 - initial build for Fedora Core * Wed Feb 15 2006 John Mahowald - 0.8-7 - Rebuild for Fedora Extras 5 * Fri Feb 3 2006 John Mahowald - 0.8-3 - Fix stray reference to smeg - Use python sitearch macro from template * Sat Oct 29 2005 John Mahowald - 0.8-2 - Rebuild * Thu Oct 27 2005 John Mahowald - 0.8-1 - rename to alacarte - Update to 0.8 * Thu Oct 20 2005 John Mahowald - 0.7.5-4 - remove requires gnome-menus * Tue Aug 30 2005 John Mahowald - 0.7.5-3 - Move to /usr/share * Tue Jun 28 2005 Sindre Pedersen Bjordal - 0.7.5-2 - Desktop-file-utils for kde desktop entry as well as default one. * Wed Jun 08 2005 Sindre Pedersen Bjordal - 0.7.5-1 - Rebuilt for 0.7.5 * Sun Jun 06 2005 Sindre Pedersen Bjordal - 0.7.4-1 - Rebuilt for 0.7.4 * Wed Jun 01 2005 Sindre Pedersen Bjordal - 0.7.1-1 - Rebuilt for 0.7.1 - Smeg now use the stock gnome menu icon, removed pixmaps from %files * Wed Jun 01 2005 Sindre Pedersen Bjordal - 0.7-2 - Added missing dependency gnome-python2-gconf * Tue May 31 2005 Sindre Pedersen Bjordal - 0.7-1 - Rebuilt for 0.7 * Mon May 30 2005 Sindre Pedersen Bjordal - 0.6.2-2 - Added desktop-file-utils to Buildrequires - Addded desktop-file-utils %post and %postun * Sat May 29 2005 Sindre Pedersen Bjordal - 0.6.2-1 - Rebuilt for 0.6.2 * Mon May 23 2005 Sindre Pedersen Bjordal - 0.5-1 - Initial build