File alacarte.spec of Package alacarte

#
# spec file for package alacarte (Version 0.11.6)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           alacarte
BuildRequires:  fdupes
BuildRequires:  glib2-devel
BuildRequires:  gnome-common
BuildRequires:  gnome-menus-devel
BuildRequires:  intltool
BuildRequires:  python
BuildRequires:  python-gnome
BuildRequires:  update-desktop-files
Version:        0.11.6
Release:        2
Requires:       %{name}-lang
Url:            http://www.realistanew.com/projects/alacarte
Group:          System/GUI/GNOME
License:        LGPL v2.1 or later
Summary:        Menu editor for GNOME
Source:         %{name}-%{version}.tar.bz2
# PATCH-NEEDS-REBASE alacarte_system_edit_mode.patch sreeves@novell.com -- was: PATCH-FEATURE-OPENSUSE
Patch1:         alacarte_system_edit_mode.patch
AutoReqProv:    on
Requires:       python python-gnome-menus python-gnome python-xml
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%py_requires

%description
Alacarte is a simple freedesktop.org compliant menu editor for GNOME
that lets you change your menus, simply and quickly. Just click and
type to edit, add, and delete any menu entry.



Authors:
--------
    Travis Watkins <alleykat@gmail.com>

%lang_package
%prep
%setup -q
# %patch1 -p0

%build
autoreconf -f  -i
%configure
%__make %{?jobs:-j%jobs}

%install
%makeinstall
%suse_update_desktop_file alacarte X-SuSE-ControlCenter-LookAndFeel
%find_lang %{name}
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/alacarte
%{_datadir}/alacarte
%{_datadir}/applications/alacarte.desktop
%dir %{_datadir}/icons/hicolor/*/*/*.*
%{py_sitedir}/Alacarte

%files lang -f %name.lang

%changelog
* Fri Oct 24 2008 vuntz@novell.com
- Requires python-gnome-menus, so that it actually works.
* Wed Sep 24 2008 maw@suse.de
- Update to version 0.11.6:
  + Install theme icons in a more correct manner
  + Deal with python 2.6
  + Updated translations.
* Thu Sep 11 2008 jpr@novell.com
- Fix build for python 2.6 with alacarte-python-2.6.patch
* Sun Apr 13 2008 sreeves@suse.de
- Add alacarte_system_edit_mode.patch - expand the individual user only
  menu editing capability of alacarte to provide the system administrator
  with system wide menu editing.
* Tue Mar 11 2008 vuntz@suse.de
- Update to version 0.11.5:
  + Fix exception on first open of context menu.
  + Updated translations.
* Tue Mar 04 2008 maw@suse.de
- Update to version 0.11.4:
  + Lots of bugs fixed
  + Updated translations.
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage.
* Wed May 09 2007 pgajdos@suse.cz
- removed gnome-icon-theme from Requires and BuildRequires
  [#247450]
* Thu Mar 08 2007 sbrabec@suse.cz
- Removed obsolete hicolor icon symlink (#248676).
* Tue Feb 27 2007 maw@suse.de
- Update to version 0.11.3.
  * Add back support for System menu
  * remove preferences/administration editing
  * fix goofy bugs
  * respond to show/hide immediately
  * use gnome-desktop-item-edit for all menu and item editing
* Mon Jan 22 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Mon Jan 08 2007 sreeves@suse.de
- upgrade to 0.10.3.  Upstream version now includes current patches.
  This version is needed as part of the work on Fate#301648 for sp1.
* Fri Nov 17 2006 sreeves@suse.de
- Fix for 220300 - wrong gettext init breaks translations
  remove invalid category entry
* Wed Oct 04 2006 jhargadon@suse.de
- added gnome-menus, python-gnome, python-xml, and %%py_requires
  requires to the specfile for bug #207888
* Tue Oct 03 2006 jhargadon@suse.de
- update to version 0.10.1
- lots of small fixes
* Tue Sep 26 2006 ro@suse.de
- accept python-2.5 and move python files to /usr
* Thu Sep 14 2006 jhargadon@suse.de
- update to version 0.10.0
- fix crashed caused by new gnome-menus
- potentially fix crash on solaris
- make help button and F1 work
- translation updates.
* Tue Sep 12 2006 jhargadon@suse.de
- added missing directory ownerships to the specfile
* Thu Aug 31 2006 rodrigo@suse.de
- Initial package submitted.
openSUSE Build Service is sponsored by