Ray Strode 533795
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Ray Strode 533795
Ray Strode 533795
Name:           alacarte
Matthias Clasen 09cce4
Version:        0.11.9
Matthias Clasen 9f2ff0
Release:        2%{?dist}
Matthias Clasen b0e0b1
Summary:        Menu editor for the GNOME desktop
Ray Strode 533795
Ray Strode 533795
Group:          Applications/System
Matthias Clasen 6686ed
License:        LGPLv2+
Ray Strode e0bb72
URL:            http://www.gnome.org
Matthias Clasen ead189
Source0:        http://download.gnome.org/sources/alacarte/0.11/%{name}-%{version}.tar.bz2
Ray Strode 533795
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Ray Strode 533795
BuildArch:      noarch
Ray Strode 533795
Matthias Clasen 3c5e8e
BuildRequires:  python, python-devel, gettext
Matthias Clasen e2b771
BuildRequires:  pygtk2-devel
Matthias Clasen cfd127
BuildRequires:  pkgconfig
Ray Strode fd5231
BuildRequires:  gnome-menus-devel >= 2.15.4
Matthias Clasen a76663
BuildRequires:  intltool
Matthias Clasen 9f2ff0
BuildRequires:  desktop-file-utils
Ray Strode fd5231
Requires:       pygtk2, gnome-python2-gconf
Ray Strode fd5231
Requires:       gnome-menus >= 2.15.4
Matthias Clasen f7d2cc
Matthias Clasen c4de10
Patch0:		undo-delete.patch
Matthias Clasen c4de10
Ray Strode 533795
%description
Matthias Clasen b0e0b1
Alacarte is a graphical menu editor that lets you edit, add, and delete 
Matthias Clasen b0e0b1
menu entries. It follows the freedesktop.org menu specification and 
Matthias Clasen b0e0b1
should work with any desktop environment that uses this specification.
Ray Strode 533795
Ray Strode 533795
%prep
Ray Strode fd5231
%setup -q
Matthias Clasen c4de10
%patch0 -p1 -b .undo-delete
Ray Strode 533795
Ray Strode 533795
%build
Matthias Clasen db5634
%configure
Matthias Clasen 0068bb
make
Ray Strode 533795
Ray Strode 533795
%install
Ray Strode 533795
rm -rf $RPM_BUILD_ROOT
Matthias Clasen 0068bb
make install DESTDIR=$RPM_BUILD_ROOT
Ray Strode 533795
Matthias Clasen 95ced3
# desktop-file-install can't manipulate NotShowIn
Matthias Clasen 95ced3
sed -i -e 's/NotShowIn=KDE;/OnlyShowIn=GNOME;/' \
Matthias Clasen 95ced3
  $RPM_BUILD_ROOT%{_datadir}/applications/alacarte.desktop
Matthias Clasen 95ced3
desktop-file-validate \
Matthias Clasen 9f2ff0
  $RPM_BUILD_ROOT%{_datadir}/applications/alacarte.desktop
Matthias Clasen 9f2ff0
Matthias Clasen 9f2ff0
Ray Strode 533795
%find_lang %{name}
Ray Strode 533795
Ray Strode 533795
%clean
Ray Strode 533795
rm -rf $RPM_BUILD_ROOT
Ray Strode 533795
Matthias Clasen 0068bb
%post
Matthias Clasen 0068bb
touch --no-create %{_datadir}/icons/hicolor
Matthias Clasen 0068bb
if [ -x /usr/bin/gtk-update-icon-cache ]; then
Matthias Clasen 0068bb
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
Matthias Clasen 0068bb
fi
Matthias Clasen 0068bb
Matthias Clasen 0068bb
%postun
Matthias Clasen 0068bb
touch --no-create %{_datadir}/icons/hicolor
Matthias Clasen 0068bb
if [ -x /usr/bin/gtk-update-icon-cache ]; then
Matthias Clasen 0068bb
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
Matthias Clasen 0068bb
fi
Matthias Clasen 0068bb
Ray Strode 533795
%files -f %{name}.lang
Ray Strode 533795
%defattr(-,root,root,-)
Ray Strode 533795
%doc README AUTHORS COPYING
Ray Strode 533795
%{python_sitelib}/Alacarte
Matthias Clasen 9f2ff0
%{_bindir}/alacarte
Matthias Clasen 9f2ff0
%{_datadir}/applications/alacarte.desktop
Matthias Clasen 0068bb
%{_datadir}/alacarte
Matthias Clasen d450c3
%{_datadir}/icons/hicolor/16x16/apps/alacarte.png
Matthias Clasen 0068bb
%{_datadir}/icons/hicolor/22x22/apps/alacarte.png
Matthias Clasen d450c3
%{_datadir}/icons/hicolor/24x24/apps/alacarte.png
Matthias Clasen d450c3
%{_datadir}/icons/hicolor/32x32/apps/alacarte.png
Matthias Clasen d450c3
%{_datadir}/icons/hicolor/48x48/apps/alacarte.png
Matthias Clasen d450c3
%{_datadir}/icons/hicolor/256x256/apps/alacarte.png
Ray Strode 533795
Ray Strode 533795
%changelog
Matthias Clasen 9f2ff0
* Mon Feb 23 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.9-2
Matthias Clasen 9f2ff0
- Only show in GNOME (#486887)
Matthias Clasen 9f2ff0
Matthias Clasen 09cce4
* Tue Feb 17 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.9-1
Matthias Clasen 09cce4
- Update to 0.11.9
Matthias Clasen 09cce4
Matthias Clasen 3bb89b
* Tue Feb  3 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.8-1
Matthias Clasen 3bb89b
- Update to 0.11.8
Matthias Clasen 3bb89b
Matthias Clasen 3c5e8e
* Tue Jan 20 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.7-1
Matthias Clasen 3c5e8e
- Update to 0.11.7
Matthias Clasen 3c5e8e
Ignacio Vazquez-Abrams 8fb2fc
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.11.6-6
Ignacio Vazquez-Abrams 8fb2fc
- Rebuild for Python 2.6
Ignacio Vazquez-Abrams 8fb2fc
Matthias Clasen b0e0b1
* Fri Nov 21 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-5
Matthias Clasen b0e0b1
- Tweak %%summary and %%description
Matthias Clasen b0e0b1
Matthias Clasen c4de10
* Fri Oct 17 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-4
Matthias Clasen c4de10
- Make undoing of deletion work
Matthias Clasen c4de10
Matthias Clasen 3c42fc
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-3
Matthias Clasen 6afb85
- Update to 0.11.6
Matthias Clasen 6afb85
Matthias Clasen ead189
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.5-1
Matthias Clasen ead189
- Update to 0.11.5
Matthias Clasen ead189
Matthias Clasen caf3ae
* Thu Feb 21 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.4-1
Matthias Clasen caf3ae
- Update to 0.11.4
Matthias Clasen caf3ae
Ray Strode fd5231
* Sun Dec 02 2007 Todd Zullinger <tmz@pobox.com> - 0.11.3-5
Ray Strode fd5231
- put the python scripts in sitelib, not sitearch
Ray Strode fd5231
- remove autoconf, automake, and intltool BRs
Ray Strode fd5231
- don't run autoconf/automake in %%build
Ray Strode fd5231
- BR perl(XML::Parser)
Ray Strode fd5231
- remove smeg Obsoletes and Provides
Ray Strode fd5231
- minor rpmlint cleanups
Ray Strode fd5231
Matthias Clasen 6686ed
* Sat Aug 11 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.3-4
Matthias Clasen 6686ed
- Fix the build with intltool 0.36
Matthias Clasen 6686ed
- Update the license field
Matthias Clasen 6686ed
Ray Strode e0bb72
* Fri Mar 23 2007 Ray Strode <rstrode@redhat.com> - 0.11.3-3
Ray Strode e0bb72
- change url to gnome.org (bug 233237)
Ray Strode e0bb72
Matthias Clasen 5cc98d
* Tue Feb 13 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.3-2
Matthias Clasen db5634
- Update to 0.11.3
Matthias Clasen db5634
Matthias Clasen 870944
* Mon Feb 12 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.2-1.svn20070212
Matthias Clasen 870944
- Bring back editing of the System menu
Matthias Clasen 870944
Matthias Clasen cce881
* Fri Jan 26 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.1.1-2
Matthias Clasen cce881
- Fix the Provides: line
Matthias Clasen cce881
Matthias Clasen a0450a
* Thu Jan 11 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.1.1-1
Matthias Clasen a0450a
- Update to 0.11.1.1
Matthias Clasen a0450a
Matthias Clasen 0f1497
* Wed Dec 20 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.2-2
Matthias Clasen 70a46c
- Update to 0.10.2
Matthias Clasen 70a46c
Matthias Clasen f31c10
* Sat Dec  9 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.1-4
Matthias Clasen f7d2cc
- try again 
Matthias Clasen f7d2cc
Jeremy Katz 49c505
* Wed Dec  6 2006 Jeremy Katz <katzj@redhat.com> - 0.10.1-2
Jeremy Katz 49c505
- build against python 2.5 
Jeremy Katz 49c505
Matthias Clasen ef3dae
* Sat Oct 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.1-1
Matthias Clasen ef3dae
- Update to 0.10.1
Matthias Clasen fa95d7
* Mon Sep  4 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.0-1.fc6
Matthias Clasen fa95d7
- Update to 0.10.0
Matthias Clasen fa95d7
Matthias Clasen f1abcd
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-7.fc6
Matthias Clasen 351bb7
- Fix more build requires
Matthias Clasen 351bb7
Matthias Clasen 4f386f
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-3.fc6
Matthias Clasen cfd127
- Add BR for pkgconfig
Matthias Clasen cfd127
Matthias Clasen c9e297
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-1.fc6
Matthias Clasen c9e297
- Update to 0.9.90
Matthias Clasen c9e297
Ray Strode 533795
* Thu Aug 17 2006 Ray Strode <rstrode@redhat.com> - 0.8-8
Ray Strode 533795
- initial build for Fedora Core
Ray Strode 533795
Ray Strode 533795
* Wed Feb 15 2006 John Mahowald <jpmahowald@gmail.com> - 0.8-7
Ray Strode 533795
- Rebuild for Fedora Extras 5
Ray Strode 533795
Ray Strode 533795
* Fri Feb 3 2006  John Mahowald <jpmahowald@gmail.com> - 0.8-3
Ray Strode 533795
- Fix stray reference to smeg
Ray Strode 533795
- Use python sitearch macro from template
Ray Strode 533795
Ray Strode 533795
* Sat Oct 29 2005  John Mahowald <jpmahowald@gmail.com> - 0.8-2
Ray Strode 533795
- Rebuild
Ray Strode 533795
Ray Strode 533795
* Thu Oct 27 2005  John Mahowald <jpmahowald@gmail.com> - 0.8-1
Ray Strode 533795
- rename to alacarte
Ray Strode 533795
- Update to 0.8
Ray Strode 533795
Ray Strode 533795
* Thu Oct 20 2005  John Mahowald <jpmahowald@gmail.com> - 0.7.5-4
Ray Strode 533795
- remove requires gnome-menus
Ray Strode 533795
Ray Strode 533795
* Tue Aug 30 2005 John Mahowald <jpmahowald@gmail.com> - 0.7.5-3
Ray Strode 533795
- Move to /usr/share
Ray Strode 533795
Ray Strode 533795
* Tue Jun 28 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.5-2
Ray Strode 533795
- Desktop-file-utils for kde desktop entry as well as default one.
Ray Strode 533795
Ray Strode 533795
* Wed Jun 08 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.5-1
Ray Strode 533795
- Rebuilt for 0.7.5
Ray Strode 533795
Ray Strode 533795
* Sun Jun 06 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.4-1
Ray Strode 533795
- Rebuilt for 0.7.4
Ray Strode 533795
Ray Strode 533795
* Wed Jun 01 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.1-1
Ray Strode 533795
- Rebuilt for 0.7.1
Ray Strode fd5231
- Smeg now use the stock gnome menu icon, removed pixmaps from %%files
Ray Strode 533795
Ray Strode 533795
* Wed Jun 01 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7-2
Ray Strode 533795
- Added missing dependency gnome-python2-gconf
Ray Strode 533795
Ray Strode 533795
* Tue May 31 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7-1
Ray Strode 533795
- Rebuilt for 0.7
Ray Strode 533795
Ray Strode 533795
* Mon May 30 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.6.2-2
Ray Strode 533795
- Added desktop-file-utils to Buildrequires
Ray Strode fd5231
- Addded desktop-file-utils %%post and %%postun
Ray Strode 533795
Ray Strode 533795
* Sat May 29 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.6.2-1
Ray Strode 533795
- Rebuilt for 0.6.2
Ray Strode 533795
Ray Strode 533795
* Mon May 23 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.5-1
Ray Strode 533795
- Initial build