%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: alacarte Version: 0.11.5 Release: 1%{?dist} Summary: Simple menu editor for GNOME Group: Applications/System License: LGPLv2+ URL: http://www.gnome.org Source0: http://download.gnome.org/sources/alacarte/0.11/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python, python-devel, perl(XML::Parser), gettext BuildRequires: pygtk2-devel BuildRequires: pkgconfig BuildRequires: gnome-menus-devel >= 2.15.4 Requires: pygtk2, gnome-python2-gconf Requires: gnome-menus >= 2.15.4 %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 %build %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 * Mon Mar 10 2008 Matthias Clasen - 0.11.5-1 - Update to 0.11.5 * Thu Feb 21 2008 Matthias Clasen - 0.11.4-1 - Update to 0.11.4 * Sun Dec 02 2007 Todd Zullinger - 0.11.3-5 - put the python scripts in sitelib, not sitearch - remove autoconf, automake, and intltool BRs - don't run autoconf/automake in %%build - BR perl(XML::Parser) - remove smeg Obsoletes and Provides - minor rpmlint cleanups * Sat Aug 11 2007 Matthias Clasen - 0.11.3-4 - Fix the build with intltool 0.36 - Update the license field * Fri Mar 23 2007 Ray Strode - 0.11.3-3 - change url to gnome.org (bug 233237) * Tue Feb 13 2007 Matthias Clasen - 0.11.3-2 - Update to 0.11.3 * Mon Feb 12 2007 Matthias Clasen - 0.11.2-1.svn20070212 - Bring back editing of the System menu * 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