5337959
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
5337959
5337959
Name:           alacarte
2b847fc
Version:        0.13.1
2b847fc
Release:        1%{?dist}
b0e0b1c
Summary:        Menu editor for the GNOME desktop
5337959
5337959
Group:          Applications/System
6686ed9
License:        LGPLv2+
e0bb72d
URL:            http://www.gnome.org
3437a75
#VCS: git:git://git.gnome.org/alacarte
2b847fc
Source0:        http://download.gnome.org/sources/alacarte/0.13/%{name}-%{version}.tar.bz2
3437a75
5337959
BuildArch:      noarch
5337959
3c5e8ef
BuildRequires:  python, python-devel, gettext
e2b7719
BuildRequires:  pygtk2-devel
cfd1274
BuildRequires:  pkgconfig
dcbb36c
BuildRequires:  gnome-menus-devel >= 2.27.92
a76663b
BuildRequires:  intltool
9f2ff0f
BuildRequires:  desktop-file-utils
fd52310
Requires:       pygtk2, gnome-python2-gconf
90da795
Requires:       gnome-menus >= 2.27.92
f7d2cc2
3437a75
Patch0:         undo-delete.patch
3437a75
# https://bugzilla.gnome.org/show_bug.cgi?id=612895
3437a75
Patch1:         startup-notify.patch
c4de109
5337959
%description
aa8237c
Alacarte is a graphical menu editor that lets you edit, add, and delete
aa8237c
menu entries. It follows the freedesktop.org menu specification and
b0e0b1c
should work with any desktop environment that uses this specification.
5337959
5337959
%prep
fd52310
%setup -q
c4de109
%patch0 -p1 -b .undo-delete
3437a75
%patch1 -p1 -b .startup-notify
5337959
5337959
%build
db56340
%configure
0068bb1
make
5337959
5337959
%install
5337959
rm -rf $RPM_BUILD_ROOT
0068bb1
make install DESTDIR=$RPM_BUILD_ROOT
5337959
95ced38
# desktop-file-install can't manipulate NotShowIn
95ced38
sed -i -e 's/NotShowIn=KDE;/OnlyShowIn=GNOME;/' \
95ced38
  $RPM_BUILD_ROOT%{_datadir}/applications/alacarte.desktop
95ced38
desktop-file-validate \
9f2ff0f
  $RPM_BUILD_ROOT%{_datadir}/applications/alacarte.desktop
9f2ff0f
9f2ff0f
5337959
%find_lang %{name}
5337959
5337959
%clean
5337959
rm -rf $RPM_BUILD_ROOT
5337959
0068bb1
%post
0068bb1
touch --no-create %{_datadir}/icons/hicolor
0068bb1
if [ -x /usr/bin/gtk-update-icon-cache ]; then
0068bb1
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
0068bb1
fi
0068bb1
0068bb1
%postun
0068bb1
touch --no-create %{_datadir}/icons/hicolor
0068bb1
if [ -x /usr/bin/gtk-update-icon-cache ]; then
0068bb1
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
0068bb1
fi
0068bb1
5337959
%files -f %{name}.lang
5337959
%defattr(-,root,root,-)
5337959
%doc README AUTHORS COPYING
5337959
%{python_sitelib}/Alacarte
9f2ff0f
%{_bindir}/alacarte
9f2ff0f
%{_datadir}/applications/alacarte.desktop
0068bb1
%{_datadir}/alacarte
d450c39
%{_datadir}/icons/hicolor/16x16/apps/alacarte.png
0068bb1
%{_datadir}/icons/hicolor/22x22/apps/alacarte.png
d450c39
%{_datadir}/icons/hicolor/24x24/apps/alacarte.png
d450c39
%{_datadir}/icons/hicolor/32x32/apps/alacarte.png
d450c39
%{_datadir}/icons/hicolor/48x48/apps/alacarte.png
d450c39
%{_datadir}/icons/hicolor/256x256/apps/alacarte.png
5337959
5337959
%changelog
2b847fc
* Mon Mar 29 2010 Matthias Clasen <mclasen@redhat.com> - 0.13.1-1
2b847fc
- Update to 0.13.1
2b847fc
3437a75
* Sun Mar 14 2010 Matthias Clasen <mclasen@redhat.com> - 0.12.4-2
3437a75
- Use startup notification
3437a75
0ea1df1
* Mon Sep 21 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.4-1
0ea1df1
- Update to 0.12.4
0ea1df1
90da795
* Sat Sep 12 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.3-2
90da795
- Bump the gnome-menus requires
90da795
161d17a
* Tue Sep  8 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.3-1
161d17a
- Update to 0.12.3
161d17a
62aec4e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.1-2
62aec4e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
62aec4e
25af9a8
* Sat May 16 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.1-1
25af9a8
- Update to 0.12.1
25af9a8
aa8237c
* Tue Mar 17 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.10-1
aa8237c
- Update to 0.11.10
aa8237c
aa727bf
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.9-3
aa727bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
aa727bf
9f2ff0f
* Mon Feb 23 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.9-2
9f2ff0f
- Only show in GNOME (#486887)
9f2ff0f
09cce4e
* Tue Feb 17 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.9-1
09cce4e
- Update to 0.11.9
09cce4e
3bb89b7
* Tue Feb  3 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.8-1
3bb89b7
- Update to 0.11.8
3bb89b7
3c5e8ef
* Tue Jan 20 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.7-1
3c5e8ef
- Update to 0.11.7
3c5e8ef
8fb2fc7
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.11.6-6
8fb2fc7
- Rebuild for Python 2.6
8fb2fc7
b0e0b1c
* Fri Nov 21 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-5
b0e0b1c
- Tweak %%summary and %%description
b0e0b1c
c4de109
* Fri Oct 17 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-4
c4de109
- Make undoing of deletion work
c4de109
3c42fca
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-3
6afb851
- Update to 0.11.6
6afb851
ead189b
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.5-1
ead189b
- Update to 0.11.5
ead189b
caf3ae7
* Thu Feb 21 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.4-1
caf3ae7
- Update to 0.11.4
caf3ae7
fd52310
* Sun Dec 02 2007 Todd Zullinger <tmz@pobox.com> - 0.11.3-5
fd52310
- put the python scripts in sitelib, not sitearch
fd52310
- remove autoconf, automake, and intltool BRs
fd52310
- don't run autoconf/automake in %%build
fd52310
- BR perl(XML::Parser)
fd52310
- remove smeg Obsoletes and Provides
fd52310
- minor rpmlint cleanups
fd52310
6686ed9
* Sat Aug 11 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.3-4
6686ed9
- Fix the build with intltool 0.36
6686ed9
- Update the license field
6686ed9
e0bb72d
* Fri Mar 23 2007 Ray Strode <rstrode@redhat.com> - 0.11.3-3
e0bb72d
- change url to gnome.org (bug 233237)
e0bb72d
5cc98d6
* Tue Feb 13 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.3-2
db56340
- Update to 0.11.3
db56340
8709441
* Mon Feb 12 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.2-1.svn20070212
8709441
- Bring back editing of the System menu
8709441
cce8818
* Fri Jan 26 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.1.1-2
cce8818
- Fix the Provides: line
cce8818
a0450af
* Thu Jan 11 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.1.1-1
a0450af
- Update to 0.11.1.1
a0450af
0f1497b
* Wed Dec 20 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.2-2
70a46cb
- Update to 0.10.2
70a46cb
f31c101
* Sat Dec  9 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.1-4
f7d2cc2
- try again 
f7d2cc2
49c5054
* Wed Dec  6 2006 Jeremy Katz <katzj@redhat.com> - 0.10.1-2
49c5054
- build against python 2.5 
49c5054
ef3daef
* Sat Oct 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.1-1
ef3daef
- Update to 0.10.1
fa95d7b
* Mon Sep  4 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.0-1.fc6
fa95d7b
- Update to 0.10.0
fa95d7b
f1abcd6
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-7.fc6
351bb78
- Fix more build requires
351bb78
4f386f4
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-3.fc6
cfd1274
- Add BR for pkgconfig
cfd1274
c9e297d
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-1.fc6
c9e297d
- Update to 0.9.90
c9e297d
5337959
* Thu Aug 17 2006 Ray Strode <rstrode@redhat.com> - 0.8-8
5337959
- initial build for Fedora Core
5337959
5337959
* Wed Feb 15 2006 John Mahowald <jpmahowald@gmail.com> - 0.8-7
5337959
- Rebuild for Fedora Extras 5
5337959
5337959
* Fri Feb 3 2006  John Mahowald <jpmahowald@gmail.com> - 0.8-3
5337959
- Fix stray reference to smeg
5337959
- Use python sitearch macro from template
5337959
5337959
* Sat Oct 29 2005  John Mahowald <jpmahowald@gmail.com> - 0.8-2
5337959
- Rebuild
5337959
5337959
* Thu Oct 27 2005  John Mahowald <jpmahowald@gmail.com> - 0.8-1
5337959
- rename to alacarte
5337959
- Update to 0.8
5337959
5337959
* Thu Oct 20 2005  John Mahowald <jpmahowald@gmail.com> - 0.7.5-4
5337959
- remove requires gnome-menus
5337959
5337959
* Tue Aug 30 2005 John Mahowald <jpmahowald@gmail.com> - 0.7.5-3
5337959
- Move to /usr/share
5337959
5337959
* Tue Jun 28 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.5-2
5337959
- Desktop-file-utils for kde desktop entry as well as default one.
5337959
5337959
* Wed Jun 08 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.5-1
5337959
- Rebuilt for 0.7.5
5337959
5337959
* Sun Jun 06 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.4-1
5337959
- Rebuilt for 0.7.4
5337959
5337959
* Wed Jun 01 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.1-1
5337959
- Rebuilt for 0.7.1
fd52310
- Smeg now use the stock gnome menu icon, removed pixmaps from %%files
5337959
5337959
* Wed Jun 01 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7-2
5337959
- Added missing dependency gnome-python2-gconf
5337959
5337959
* Tue May 31 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7-1
5337959
- Rebuilt for 0.7
5337959
5337959
* Mon May 30 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.6.2-2
5337959
- Added desktop-file-utils to Buildrequires
fd52310
- Addded desktop-file-utils %%post and %%postun
5337959
5337959
* Sat May 29 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.6.2-1
5337959
- Rebuilt for 0.6.2
5337959
5337959
* Mon May 23 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.5-1
5337959
- Initial build