File gnome-tweak-tool.spec of Package gnome-tweak-tool
#
# spec file for package gnome-tweak-tool
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Luis Medinas, Lisbon, Portugal.
#
# 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/
#
Name: gnome-tweak-tool
Version: 3.6.1
Release: 0
Summary: A tool to customize advanced GNOME 3 options
License: GPL-3.0+
Group: System/GUI/GNOME
Url: http://live.gnome.org/GnomeTweakTool
Source0: http://download.gnome.org/sources/gnome-tweak-tool/3.6/%{name}-%{version}.tar.xz
BuildRequires: fdupes
# Needed to have typelib() Requires
BuildRequires: gobject-introspection
# Needed for icon_theme_cache_* macros and file ownership.
BuildRequires: hicolor-icon-theme
BuildRequires: intltool
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gconf-2.0)
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.4.0
BuildRequires: pkgconfig(pygobject-3.0) >= 3.2.1
Requires: gnome-shell
Requires: python-gobject
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%py_requires
%description
GNOME Tweak Tool is an application for changing the advanced settings
of GNOME 3.
%lang_package
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%suse_update_desktop_file %{name}
%fdupes %{buildroot}%{_datadir}/gnome-tweak-tool/
%fdupes %{buildroot}%{python_sitelib}
%find_lang %{name} %{?no_lang_C}
%post
%icon_theme_cache_post
%postun
%icon_theme_cache_postun
%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%{_bindir}/%{name}
%{python_sitelib}/gtweak/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%files lang -f %{name}.lang
%changelog