%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: alacarte Version: 3.11.91 Release: 1%{?dist} Summary: Menu editor for the GNOME desktop Group: Applications/System License: LGPLv2+ URL: http://www.gnome.org #VCS: git:git://git.gnome.org/alacarte Source0: http://download.gnome.org/sources/alacarte/3.11/%{name}-%{version}.tar.xz BuildArch: noarch BuildRequires: python, python-devel, gettext BuildRequires: pygobject3-devel BuildRequires: pkgconfig BuildRequires: gnome-menus-devel >= 2.27.92 BuildRequires: intltool BuildRequires: desktop-file-utils BuildRequires: autoconf BuildRequires: automake BuildRequires: libxslt BuildRequires: docbook-style-xsl Requires: gnome-menus >= 3.2.0.1 Requires: gtk3 Requires: pygobject3 %description Alacarte is a graphical menu editor that lets you edit, add, and delete menu entries. It follows the freedesktop.org menu specification and should work with any desktop environment that uses this specification. %prep %setup -q autoreconf -i -f %build %configure make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' # desktop-file-install can't manipulate NotShowIn sed -i -e 's/NotShowIn=KDE;/OnlyShowIn=GNOME;/' \ $RPM_BUILD_ROOT%{_datadir}/applications/alacarte.desktop desktop-file-validate \ $RPM_BUILD_ROOT%{_datadir}/applications/alacarte.desktop %find_lang %{name} %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %doc README AUTHORS COPYING %{python_sitelib}/Alacarte %{_bindir}/alacarte %{_datadir}/applications/alacarte.desktop %{_datadir}/alacarte %{_datadir}/icons/hicolor/16x16/apps/alacarte.png %{_datadir}/icons/hicolor/22x22/apps/alacarte.png %{_datadir}/icons/hicolor/24x24/apps/alacarte.png %{_datadir}/icons/hicolor/32x32/apps/alacarte.png %{_datadir}/icons/hicolor/48x48/apps/alacarte.png %{_datadir}/icons/hicolor/256x256/apps/alacarte.png %{_mandir}/man1/alacarte.1.gz %changelog * Thu Nov 24 2016 Kalev Lember - 3.11.91-1 - Update to 3.11.91 - Resolves: #1386773 * Fri Feb 28 2014 Matthias Clasen - 3.7.90-8 - Put new items in the correct menu Resolves: #1040403 * Wed Feb 26 2014 Matthias Clasen - 3.7.90-7 - Make adding menus and items work Resolves: #1070228 Resolves: #1070229 * Mon Feb 17 2014 Matthias Clasen - 3.7.90-6 - Make the restore button work Resolves: #1040491 * Fri Feb 7 2014 Matthias Clasen - 3.7.90-5 - Add a man page * Fri Dec 27 2013 Daniel Mach - 3.7.90-4 - Mass rebuild 2013-12-27 * Thu Dec 12 2013 Matthias Clasen - 3.7.90-3 - Remove the non-functional help button - Resolves: #1040398 * Thu Dec 12 2013 Matthias Clasen - 3.7.90-2 - Backport some upstream fixes - Resolves: #1036849 - Resolves: #1036864 * Thu Feb 28 2013 Jasper St. Pierre - 3.7.90-1 - Update to 3.7.90 * Wed Feb 13 2013 Fedora Release Engineering - 3.7.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jan 17 2013 Matthias Clasen - 3.7.3-1 - Update to 3.7.3 * Wed Oct 17 2012 Kalev Lember - 3.6.1-1 - Update to 3.6.1 * Wed Sep 19 2012 Matthias Clasen - 3.5.5-1 - Update to 3.5.5 * Wed Jul 18 2012 Kalev Lember - 3.5.4-1 - Update to 3.5.4 * Wed Jul 18 2012 Fedora Release Engineering - 0.13.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 27 2012 Matthias Clasen - 0.13.4-6 - Fix requires * Tue Jun 26 2012 Matthias Clasen - 0.13.4-5 - Spec file cleanups - Drop gnome-panel dep * Fri Jun 01 2012 Jasper St. Pierre - 0.13.4-5 - Update to 0.13.4. Resolves: #734442 * Thu Jan 12 2012 Fedora Release Engineering - 0.13.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Mar 14 2011 Christoph Wickert - 0.13.2-3 - Require gnome-panel (#684927) - Compile with %%{?_smp_mflags} - Update icon-cache scriptlets * Mon Feb 07 2011 Fedora Release Engineering - 0.13.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Sep 29 2010 Matthias Clasen - 0.13.2-1 - Update to 0.13.2 * Tue Jul 27 2010 David Malcolm - 0.13.1-3 - patch configure.ac to support python 2.7; regenerate configure script * Wed Jul 21 2010 David Malcolm - 0.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Mon Mar 29 2010 Matthias Clasen - 0.13.1-1 - Update to 0.13.1 * Sun Mar 14 2010 Matthias Clasen - 0.12.4-2 - Use startup notification * Mon Sep 21 2009 Matthias Clasen - 0.12.4-1 - Update to 0.12.4 * Sat Sep 12 2009 Matthias Clasen - 0.12.3-2 - Bump the gnome-menus requires * Tue Sep 8 2009 Matthias Clasen - 0.12.3-1 - Update to 0.12.3 * Fri Jul 24 2009 Fedora Release Engineering - 0.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat May 16 2009 Matthias Clasen - 0.12.1-1 - Update to 0.12.1 * Tue Mar 17 2009 Matthias Clasen - 0.11.10-1 - Update to 0.11.10 * Mon Feb 23 2009 Fedora Release Engineering - 0.11.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 23 2009 Matthias Clasen - 0.11.9-2 - Only show in GNOME (#486887) * Tue Feb 17 2009 Matthias Clasen - 0.11.9-1 - Update to 0.11.9 * Tue Feb 3 2009 Matthias Clasen - 0.11.8-1 - Update to 0.11.8 * Tue Jan 20 2009 Matthias Clasen - 0.11.7-1 - Update to 0.11.7 * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.11.6-6 - Rebuild for Python 2.6 * Fri Nov 21 2008 Matthias Clasen - 0.11.6-5 - Tweak %%summary and %%description * Fri Oct 17 2008 Matthias Clasen - 0.11.6-4 - Make undoing of deletion work * Mon Sep 22 2008 Matthias Clasen - 0.11.6-3 - Update to 0.11.6 * 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 * Mon 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 * Sun 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