File gnome-reset.spec of Package gnome-reset

# spec file for package gnome-reset (Version 0.1.2)
# Copyright (c) 2009 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

# norootforbuild

Name:           gnome-reset
BuildRequires:  fdupes glib2-devel intltool python update-desktop-files
License:        GPL v2 or later
Group:          System/GUI/GNOME
AutoReqProv:    on
Version:        0.1.2
Release:        73
Summary:        Back Up and Reset GNOME Settings
Source:         %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM gnome-reset-bnc545980.patch bnc#545980 -- Taken from upstream git.
Patch0:         gnome-reset-bnc545980.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       python-gnome python-xml
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%define python_sitearch %{py_sitedir}

Allows users to back up or reset their GNOME settings. The settings are
saved to a single file so users can send their settings.

%patch0 -p1

autoreconf -fi
intltoolize --force
%configure \
    --libexecdir=/usr/%_lib/gnome-reset \
make %{?jobs:-j %jobs}

%suse_update_desktop_file gnome-reset
%suse_update_desktop_file gnome-reset-restore
%find_lang %{name}


%defattr (-, root, root)
# the split between arch and noarch seems a bit strange

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by