Blame SPECS/alacarte.spec

e6fafb
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
e6fafb
e6fafb
Name:           alacarte
e6fafb
Version:        3.11.91
e6fafb
Release:        1%{?dist}
e6fafb
Summary:        Menu editor for the GNOME desktop
e6fafb
e6fafb
Group:          Applications/System
e6fafb
License:        LGPLv2+
e6fafb
URL:            http://www.gnome.org
e6fafb
#VCS: git:git://git.gnome.org/alacarte
e6fafb
Source0:        http://download.gnome.org/sources/alacarte/3.11/%{name}-%{version}.tar.xz
e6fafb
e6fafb
BuildArch:      noarch
e6fafb
e6fafb
BuildRequires:  python, python-devel, gettext
e6fafb
BuildRequires:  pygobject3-devel
e6fafb
BuildRequires:  pkgconfig
e6fafb
BuildRequires:  gnome-menus-devel >= 2.27.92
e6fafb
BuildRequires:  intltool
e6fafb
BuildRequires:  desktop-file-utils
e6fafb
BuildRequires:  autoconf
e6fafb
BuildRequires:  automake
e6fafb
BuildRequires:  libxslt
e6fafb
BuildRequires:  docbook-style-xsl
e6fafb
Requires:       gnome-menus >= 3.2.0.1
e6fafb
Requires:       gtk3
e6fafb
Requires:       pygobject3
e6fafb
e6fafb
e6fafb
%description
e6fafb
Alacarte is a graphical menu editor that lets you edit, add, and delete
e6fafb
menu entries. It follows the freedesktop.org menu specification and
e6fafb
should work with any desktop environment that uses this specification.
e6fafb
e6fafb
e6fafb
%prep
e6fafb
%setup -q
e6fafb
e6fafb
autoreconf -i -f
e6fafb
e6fafb
%build
e6fafb
%configure
e6fafb
make %{?_smp_mflags}
e6fafb
e6fafb
e6fafb
%install
e6fafb
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
e6fafb
e6fafb
# desktop-file-install can't manipulate NotShowIn
e6fafb
sed -i -e 's/NotShowIn=KDE;/OnlyShowIn=GNOME;/' \
e6fafb
  $RPM_BUILD_ROOT%{_datadir}/applications/alacarte.desktop
e6fafb
desktop-file-validate \
e6fafb
  $RPM_BUILD_ROOT%{_datadir}/applications/alacarte.desktop
e6fafb
e6fafb
%find_lang %{name}
e6fafb
e6fafb
e6fafb
%post
e6fafb
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
e6fafb
e6fafb
e6fafb
%postun
e6fafb
if [ $1 -eq 0 ] ; then
e6fafb
  touch --no-create %{_datadir}/icons/hicolor &>/dev/null
e6fafb
  gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
e6fafb
fi
e6fafb
e6fafb
e6fafb
%posttrans
e6fafb
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
e6fafb
e6fafb
e6fafb
%files -f %{name}.lang
e6fafb
%doc README AUTHORS COPYING
e6fafb
%{python_sitelib}/Alacarte
e6fafb
%{_bindir}/alacarte
e6fafb
%{_datadir}/applications/alacarte.desktop
e6fafb
%{_datadir}/alacarte
e6fafb
%{_datadir}/icons/hicolor/16x16/apps/alacarte.png
e6fafb
%{_datadir}/icons/hicolor/22x22/apps/alacarte.png
e6fafb
%{_datadir}/icons/hicolor/24x24/apps/alacarte.png
e6fafb
%{_datadir}/icons/hicolor/32x32/apps/alacarte.png
e6fafb
%{_datadir}/icons/hicolor/48x48/apps/alacarte.png
e6fafb
%{_datadir}/icons/hicolor/256x256/apps/alacarte.png
e6fafb
%{_mandir}/man1/alacarte.1.gz
e6fafb
e6fafb
e6fafb
%changelog
e6fafb
* Thu Nov 24 2016 Kalev Lember <klember@redhat.com> - 3.11.91-1
e6fafb
- Update to 3.11.91
e6fafb
- Resolves: #1386773
e6fafb
e6fafb
* Fri Feb 28 2014 Matthias Clasen <mclasen@redhat.com> - 3.7.90-8
e6fafb
- Put new items in the correct menu
e6fafb
Resolves: #1040403 
e6fafb
e6fafb
* Wed Feb 26 2014 Matthias Clasen <mclasen@redhat.com> - 3.7.90-7
e6fafb
- Make adding menus and items work
e6fafb
Resolves: #1070228
e6fafb
Resolves: #1070229
e6fafb
e6fafb
* Mon Feb 17 2014 Matthias Clasen <mclasen@redhat.com> - 3.7.90-6
e6fafb
- Make the restore button work
e6fafb
Resolves: #1040491
e6fafb
e6fafb
* Fri Feb  7 2014 Matthias Clasen <mclasen@redhat.com> - 3.7.90-5
e6fafb
- Add a man page
e6fafb
e6fafb
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.7.90-4
e6fafb
- Mass rebuild 2013-12-27
e6fafb
e6fafb
* Thu Dec 12 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.90-3
e6fafb
- Remove the non-functional help button
e6fafb
- Resolves: #1040398 
e6fafb
e6fafb
* Thu Dec 12 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.90-2
e6fafb
- Backport some upstream fixes
e6fafb
- Resolves: #1036849 
e6fafb
- Resolves: #1036864 
e6fafb
e6fafb
* Thu Feb 28 2013 Jasper St. Pierre <jstpierre@mecheye.net> - 3.7.90-1
e6fafb
- Update to 3.7.90
e6fafb
e6fafb
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.3-2
e6fafb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e6fafb
e6fafb
* Thu Jan 17 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.3-1
e6fafb
- Update to 3.7.3
e6fafb
e6fafb
* Wed Oct 17 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.1-1
e6fafb
- Update to 3.6.1
e6fafb
e6fafb
* Wed Sep 19 2012 Matthias Clasen <mclasen@redhat.com> - 3.5.5-1
e6fafb
- Update to 3.5.5
e6fafb
e6fafb
* Wed Jul 18 2012 Kalev Lember <kalevlember@gmail.com> - 3.5.4-1
e6fafb
- Update to 3.5.4
e6fafb
e6fafb
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.4-7
e6fafb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e6fafb
e6fafb
* Wed Jun 27 2012 Matthias Clasen <mclasen@redhat.com> - 0.13.4-6
e6fafb
- Fix requires
e6fafb
e6fafb
* Tue Jun 26 2012 Matthias Clasen <mclasen@redhat.com> - 0.13.4-5
e6fafb
- Spec file cleanups
e6fafb
- Drop gnome-panel dep
e6fafb
e6fafb
* Fri Jun 01 2012 Jasper St. Pierre <jstpierre@mecheye.net> - 0.13.4-5
e6fafb
- Update to 0.13.4. Resolves: #734442
e6fafb
e6fafb
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.2-4
e6fafb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e6fafb
e6fafb
* Mon Mar 14 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.13.2-3
e6fafb
- Require gnome-panel (#684927)
e6fafb
- Compile with %%{?_smp_mflags}
e6fafb
- Update icon-cache scriptlets
e6fafb
e6fafb
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.2-2
e6fafb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e6fafb
e6fafb
* Wed Sep 29 2010 Matthias Clasen <mclasen@redhat.com> - 0.13.2-1
e6fafb
- Update to 0.13.2
e6fafb
e6fafb
* Tue Jul 27 2010 David Malcolm <dmalcolm@redhat.com> - 0.13.1-3
e6fafb
- patch configure.ac to support python 2.7; regenerate configure script
e6fafb
e6fafb
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.13.1-2
e6fafb
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
e6fafb
e6fafb
* Mon Mar 29 2010 Matthias Clasen <mclasen@redhat.com> - 0.13.1-1
e6fafb
- Update to 0.13.1
e6fafb
e6fafb
* Sun Mar 14 2010 Matthias Clasen <mclasen@redhat.com> - 0.12.4-2
e6fafb
- Use startup notification
e6fafb
e6fafb
* Mon Sep 21 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.4-1
e6fafb
- Update to 0.12.4
e6fafb
e6fafb
* Sat Sep 12 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.3-2
e6fafb
- Bump the gnome-menus requires
e6fafb
e6fafb
* Tue Sep  8 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.3-1
e6fafb
- Update to 0.12.3
e6fafb
e6fafb
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.1-2
e6fafb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e6fafb
e6fafb
* Sat May 16 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.1-1
e6fafb
- Update to 0.12.1
e6fafb
e6fafb
* Tue Mar 17 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.10-1
e6fafb
- Update to 0.11.10
e6fafb
e6fafb
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.9-3
e6fafb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e6fafb
e6fafb
* Mon Feb 23 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.9-2
e6fafb
- Only show in GNOME (#486887)
e6fafb
e6fafb
* Tue Feb 17 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.9-1
e6fafb
- Update to 0.11.9
e6fafb
e6fafb
* Tue Feb  3 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.8-1
e6fafb
- Update to 0.11.8
e6fafb
e6fafb
* Tue Jan 20 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.7-1
e6fafb
- Update to 0.11.7
e6fafb
e6fafb
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.11.6-6
e6fafb
- Rebuild for Python 2.6
e6fafb
e6fafb
* Fri Nov 21 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-5
e6fafb
- Tweak %%summary and %%description
e6fafb
e6fafb
* Fri Oct 17 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-4
e6fafb
- Make undoing of deletion work
e6fafb
e6fafb
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-3
e6fafb
- Update to 0.11.6
e6fafb
e6fafb
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.5-1
e6fafb
- Update to 0.11.5
e6fafb
e6fafb
* Thu Feb 21 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.4-1
e6fafb
- Update to 0.11.4
e6fafb
e6fafb
* Sun Dec 02 2007 Todd Zullinger <tmz@pobox.com> - 0.11.3-5
e6fafb
- put the python scripts in sitelib, not sitearch
e6fafb
- remove autoconf, automake, and intltool BRs
e6fafb
- don't run autoconf/automake in %%build
e6fafb
- BR perl(XML::Parser)
e6fafb
- remove smeg Obsoletes and Provides
e6fafb
- minor rpmlint cleanups
e6fafb
e6fafb
* Sat Aug 11 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.3-4
e6fafb
- Fix the build with intltool 0.36
e6fafb
- Update the license field
e6fafb
e6fafb
* Fri Mar 23 2007 Ray Strode <rstrode@redhat.com> - 0.11.3-3
e6fafb
- change url to gnome.org (bug 233237)
e6fafb
e6fafb
* Tue Feb 13 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.3-2
e6fafb
- Update to 0.11.3
e6fafb
e6fafb
* Mon Feb 12 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.2-1.svn20070212
e6fafb
- Bring back editing of the System menu
e6fafb
e6fafb
* Fri Jan 26 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.1.1-2
e6fafb
- Fix the Provides: line
e6fafb
e6fafb
* Thu Jan 11 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.1.1-1
e6fafb
- Update to 0.11.1.1
e6fafb
e6fafb
* Wed Dec 20 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.2-2
e6fafb
- Update to 0.10.2
e6fafb
e6fafb
* Sat Dec  9 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.1-4
e6fafb
- try again 
e6fafb
e6fafb
* Wed Dec  6 2006 Jeremy Katz <katzj@redhat.com> - 0.10.1-2
e6fafb
- build against python 2.5 
e6fafb
e6fafb
* Sat Oct 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.1-1
e6fafb
- Update to 0.10.1
e6fafb
* Mon Sep  4 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.0-1.fc6
e6fafb
- Update to 0.10.0
e6fafb
e6fafb
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-7.fc6
e6fafb
- Fix more build requires
e6fafb
e6fafb
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-3.fc6
e6fafb
- Add BR for pkgconfig
e6fafb
e6fafb
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-1.fc6
e6fafb
- Update to 0.9.90
e6fafb
e6fafb
* Thu Aug 17 2006 Ray Strode <rstrode@redhat.com> - 0.8-8
e6fafb
- initial build for Fedora Core
e6fafb
e6fafb
* Wed Feb 15 2006 John Mahowald <jpmahowald@gmail.com> - 0.8-7
e6fafb
- Rebuild for Fedora Extras 5
e6fafb
e6fafb
* Fri Feb 3 2006  John Mahowald <jpmahowald@gmail.com> - 0.8-3
e6fafb
- Fix stray reference to smeg
e6fafb
- Use python sitearch macro from template
e6fafb
e6fafb
* Sat Oct 29 2005  John Mahowald <jpmahowald@gmail.com> - 0.8-2
e6fafb
- Rebuild
e6fafb
e6fafb
* Thu Oct 27 2005  John Mahowald <jpmahowald@gmail.com> - 0.8-1
e6fafb
- rename to alacarte
e6fafb
- Update to 0.8
e6fafb
e6fafb
* Thu Oct 20 2005  John Mahowald <jpmahowald@gmail.com> - 0.7.5-4
e6fafb
- remove requires gnome-menus
e6fafb
e6fafb
* Tue Aug 30 2005 John Mahowald <jpmahowald@gmail.com> - 0.7.5-3
e6fafb
- Move to /usr/share
e6fafb
e6fafb
* Tue Jun 28 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.5-2
e6fafb
- Desktop-file-utils for kde desktop entry as well as default one.
e6fafb
e6fafb
* Wed Jun 08 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.5-1
e6fafb
- Rebuilt for 0.7.5
e6fafb
e6fafb
* Mon Jun 06 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.4-1
e6fafb
- Rebuilt for 0.7.4
e6fafb
e6fafb
* Wed Jun 01 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.1-1
e6fafb
- Rebuilt for 0.7.1
e6fafb
- Smeg now use the stock gnome menu icon, removed pixmaps from %%files
e6fafb
e6fafb
* Wed Jun 01 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7-2
e6fafb
- Added missing dependency gnome-python2-gconf
e6fafb
e6fafb
* Tue May 31 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7-1
e6fafb
- Rebuilt for 0.7
e6fafb
e6fafb
* Mon May 30 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.6.2-2
e6fafb
- Added desktop-file-utils to Buildrequires
e6fafb
- Addded desktop-file-utils %%post and %%postun
e6fafb
e6fafb
* Sun May 29 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.6.2-1
e6fafb
- Rebuilt for 0.6.2
e6fafb
e6fafb
* Mon May 23 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.5-1
e6fafb
- Initial build