Blame SPECS/alacarte.spec

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