5337959
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
5337959
5337959
Name:           alacarte
70a46cb
Version:        0.10.2
70a46cb
Release: 	1%{?dist}
5337959
Summary:        Simple menu editor for GNOME
5337959
5337959
Group:          Applications/System
5337959
License:        GPL
5337959
URL:            http://www.realistanew.com/projects/alacarte/
70a46cb
Source0:        http://dev.realistanew.com/alacarte/releases/0.10/%{name}-%{version}.tar.bz2
5337959
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
5337959
BuildArch:      noarch
5337959
a841680
BuildRequires:  python, python-devel, intltool, gettext
e2b7719
BuildRequires:  pygtk2-devel
cfd1274
BuildRequires:  pkgconfig
7cdb140
BuildRequires:	gnome-menus-devel >= 2.15.4
f7d2cc2
BuildRequires:	autoconf
5337959
Requires: 	pygtk2, gnome-python2-gconf 
f4f3660
Requires:	gnome-menus >= 2.15.4
5337959
Obsoletes:      smeg
5337959
Provides:       smeg %{version}-%{release}
f7d2cc2
f7d2cc2
Patch0: 	python25.patch
f7d2cc2
5337959
%description
5337959
Alacarte is a menu editor for GNOME that lets you get things done,
5337959
simply and quickly. 
5337959
5337959
Just click and type to edit, add, and delete any menu entry.
5337959
5337959
%prep
5337959
%setup -q -n %{name}-%{version}
f7d2cc2
%patch0 -p1 -b .python25
5337959
5337959
%build
f7d2cc2
autoconf
0068bb1
%{configure}
0068bb1
make
5337959
5337959
%install
5337959
rm -rf $RPM_BUILD_ROOT
0068bb1
make install DESTDIR=$RPM_BUILD_ROOT
5337959
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
5337959
%{_bindir}/*
5337959
%{_datadir}/applications/*
0068bb1
%{_datadir}/alacarte
0068bb1
%{_datadir}/icons/hicolor/22x22/apps/alacarte.png
0068bb1
%{_datadir}/icons/hicolor/scalable/apps/alacarte.svg
5337959
5337959
%changelog
70a46cb
* Wed Dec 20 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.2-1
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
5337959
- 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
5337959
- 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