5337959
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
5337959
5337959
Name:           alacarte
Richard Hughes c0ef57e
Version:        3.11.91
bc5c0ce
Release:        6%{?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
Richard Hughes c0ef57e
Source0:        http://download.gnome.org/sources/alacarte/3.11/%{name}-%{version}.tar.xz
3437a75
5337959
BuildArch:      noarch
5337959
3c5e8ef
BuildRequires:  python, python-devel, gettext
Jasper St. Pierre 4e78170
BuildRequires:  pygobject3-devel
cfd1274
BuildRequires:  pkgconfig
dcbb36c
BuildRequires:  gnome-menus-devel >= 2.27.92
a76663b
BuildRequires:  intltool
9f2ff0f
BuildRequires:  desktop-file-utils
52ed273
BuildRequires:  autoconf
3a55a41
BuildRequires:  automake
Richard Hughes 3f39c0d
BuildRequires:  libxslt
Richard Hughes 99ad4ab
BuildRequires:  docbook-style-xsl
1eb9bcd
Requires:       gnome-menus >= 3.2.0.1
1eb9bcd
Requires:       gtk3
6063b5c
Requires:       pygobject3
1eb9bcd
f7d2cc2
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
1eb9bcd
5337959
%prep
fd52310
%setup -q
1eb9bcd
3a55a41
autoreconf -i -f
3a55a41
5337959
%build
db56340
%configure
8de7d3d
make %{?_smp_mflags}
5337959
Jasper St. Pierre 4e78170
5337959
%install
8de7d3d
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
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
5337959
%find_lang %{name}
5337959
5337959
0068bb1
%post
8de7d3d
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
0068bb1
1eb9bcd
0068bb1
%postun
8de7d3d
if [ $1 -eq 0 ] ; then
8de7d3d
  touch --no-create %{_datadir}/icons/hicolor &>/dev/null
8de7d3d
  gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
0068bb1
fi
0068bb1
1eb9bcd
8de7d3d
%posttrans
8de7d3d
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
8de7d3d
1eb9bcd
5337959
%files -f %{name}.lang
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
Richard Hughes 2b62bd2
%{_mandir}/man1/alacarte.1.gz
5337959
1eb9bcd
5337959
%changelog
bc5c0ce
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.91-6
bc5c0ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bc5c0ce
b3a6fc9
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.91-5
b3a6fc9
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
b3a6fc9
1c5c218
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.91-4
1c5c218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1c5c218
341ada3
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.91-3
341ada3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
341ada3
883b7b2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.91-2
883b7b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
883b7b2
Richard Hughes c0ef57e
* Tue Mar 04 2014 Richard Hughes <rhughes@redhat.com> - 3.11.91-1
Richard Hughes c0ef57e
- Update to 3.11.91
Richard Hughes c0ef57e
b7b821c
* Wed Sep 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.10.0-1
b7b821c
- Update to 3.10.0
b7b821c
d9bed61
* Wed Sep 04 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.91-1
d9bed61
- Update to 3.9.91
d9bed61
796d724
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.90-2
796d724
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
796d724
Jasper St. Pierre 275d215
* Thu Feb 28 2013 Jasper St. Pierre <jstpierre@mecheye.net> - 3.7.90-1
Jasper St. Pierre 275d215
- Update to 3.7.90
Jasper St. Pierre 275d215
5878235
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.3-2
5878235
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5878235
c17f5fc
* Thu Jan 17 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.3-1
c17f5fc
- Update to 3.7.3
c17f5fc
3b3819f
* Wed Oct 17 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.1-1
3b3819f
- Update to 3.6.1
3b3819f
5529ed4
* Wed Sep 19 2012 Matthias Clasen <mclasen@redhat.com> - 3.5.5-1
5529ed4
- Update to 3.5.5
5529ed4
b4bf1d3
* Wed Jul 18 2012 Kalev Lember <kalevlember@gmail.com> - 3.5.4-1
b4bf1d3
- Update to 3.5.4
b4bf1d3
71a0be6
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.4-7
71a0be6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
71a0be6
6063b5c
* Wed Jun 27 2012 Matthias Clasen <mclasen@redhat.com> - 0.13.4-6
6063b5c
- Fix requires
6063b5c
1eb9bcd
* Tue Jun 26 2012 Matthias Clasen <mclasen@redhat.com> - 0.13.4-5
1eb9bcd
- Spec file cleanups
1eb9bcd
- Drop gnome-panel dep
1eb9bcd
1eb9bcd
* Fri Jun 01 2012 Jasper St. Pierre <jstpierre@mecheye.net> - 0.13.4-5
Jasper St. Pierre 4e78170
- Update to 0.13.4. Resolves: #734442
Jasper St. Pierre 4e78170
d1a77c7
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.2-4
d1a77c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d1a77c7
8de7d3d
* Mon Mar 14 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.13.2-3
8de7d3d
- Require gnome-panel (#684927)
8de7d3d
- Compile with %%{?_smp_mflags}
8de7d3d
- Update icon-cache scriptlets
8de7d3d
5f4657a
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.2-2
5f4657a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5f4657a
76e6d1a
* Wed Sep 29 2010 Matthias Clasen <mclasen@redhat.com> - 0.13.2-1
76e6d1a
- Update to 0.13.2
76e6d1a
52ed273
* Tue Jul 27 2010 David Malcolm <dmalcolm@redhat.com> - 0.13.1-3
52ed273
- patch configure.ac to support python 2.7; regenerate configure script
52ed273
98c431d
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.13.1-2
98c431d
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
98c431d
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
Jasper St. Pierre 9471923
* Mon 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
Jasper St. Pierre 9471923
* Sun 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