%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: alacarte Version: 0.8 Release: 8%{?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/%{version}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel, intltool, gettext Requires: pyxdg >= 0.14 Requires: pygtk2, gnome-python2-gconf 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 %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install --skip-build --root=$RPM_BUILD_ROOT %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc README AUTHORS COPYING %{python_sitelib}/Alacarte %{_bindir}/* %{_datadir}/applications/* %changelog * 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