File pessulus.spec of Package pessulus

#
# spec file for package pessulus (Version 2.24.0)
#
# 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:           pessulus
BuildRequires:  fdupes glib2-devel gnome-common gnome-python-desktop intltool python-gnome-devel python-gtk-devel update-desktop-files
Version:        2.24.0
Release:        2
Url:            http://live.gnome.org/Pessulus
Group:          System/GUI/GNOME
License:        GPL v2 or later
Summary:        Lockdown editor for GNOME
Source:         %{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE pessulus-gconf-path.patch vuntz@novell.com -- Fix detection of the mandatory source
Patch0:         pessulus-gconf-path.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
AutoReqProv:    on
Requires:       %{name}-lang = %{version}
%py_requires

%description
Pessulus is a lockdown editor for GNOME.



Authors:
--------
    Vincent Untz <vuntz@gnome.org>

%lang_package
%prep
%setup -q
%patch0 -p1

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

%install
make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file pessulus GNOME Lockdown 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 HACKING NEWS README TODO
%{_bindir}/pessulus
%{_datadir}/applications/pessulus.desktop
%{_datadir}/pessulus
%{_datadir}/icons/hicolor/*x*/apps/*.png
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{py_sitedir}/Pessulus

%files lang -f %{name}.lang

%changelog
* Thu Oct 30 2008 vuntz@novell.com
- Add pessulus-gconf-path.patch to use the right gconf source for
  mandatory settings. Fix bnc#440068.
* Tue Sep 23 2008 mboman@suse.de
- Update to version 2.24.0:
  + Use correct icon in main window
  + Use currect icon in screensaver settings.
  + Install into Python directory.
  + Translation updates
* Thu Jun 26 2008 maw@suse.de
- Update to version 2.23.1:
  + New icon
  + Use the bug buddy module from python-gnome-desktop
  + Fix an exception rased when applets have no name; use the best
  translation available
  + Updated translations
- Drop upstreamed patch: pessulus-327529-untranslated-applets.patch.
* Mon Mar 17 2008 vuntz@suse.de
- Rename pessulus-327529-untranslated-applets.diff to
  pessulus-327529-untranslated-applets.patch and tag the patch.
* Fri Mar 14 2008 maw@suse.de
- Update to version 2.16.4:
  + Remove shebangs from nonexecutable python files
  + Updated translations.
* Thu Mar 06 2008 maw@suse.de
- Don't call autoreconf.
* Mon Sep 24 2007 federico@suse.de
- Added pessulus-327529-untranslated-applets.diff to fix
  https://bugzilla.novell.com/show_bug.cgi?id=327529 - Pessulus would
  crash upon encountering an applet without a suitable translation in
  its .server file.
* Wed Sep 19 2007 sbrabec@suse.cz
- Updated to version 2.16.3:
  * updated categories in .desktop file
  * translations update
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage.
* Thu Apr 12 2007 maw@suse.de
- Update to version 2.16.2.
- translation updates
* Tue Jan 16 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Tue Oct 03 2006 jhargadon@suse.de
- update to version 2.16.1
- Add integration with bug-buddy for crashes
* Sat Sep 23 2006 aj@suse.de
- Fix build with python 2.5.
* Fri Sep 15 2006 jhargadon@suse.de
- update to version 2.16.0
- translation updates
* Tue Sep 12 2006 rodrigo@suse.de
- Moved Python modules to /usr to make it work.
* Fri Sep 01 2006 rodrigo@suse.de
- Initial package from GNOME 2.15.92.
openSUSE Build Service is sponsored by