File gtk3-metatheme-sonar.spec of Package gtk3-metatheme-sonar
#
# spec file for package gtk3-metatheme-sonar
#
# Copyright (c) 2011 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/
#
Name: gtk3-metatheme-sonar
Version: 3.2.20111102
Release: 0
%define _version 3.2
# Note: on update to new version, check that we copy all the required files in %%install
Summary: GTK+ 3 Sonar Theme
License: GPL-3.0+
Group: System/GUI/GNOME
Url: http://half-left.deviantart.com/art/Sonar-GTK3-254801661
Source0: Sonar-%{_version}.tar.bz2
BuildRequires: fdupes
# For directory ownership
BuildRequires: metatheme-sonar-common
Requires: metatheme-sonar-common
Supplements: packageand(metatheme-sonar-common:gtk3)
Enhances: gtk3
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
GTK+ 3 theme, based on the one created for openSUSE 11.2.
%prep
%setup -q -n Sonar-%{_version}
%build
%install
mkdir -p %{buildroot}%{_datadir}/themes/Sonar/gtk-3.0/
cd gtk-3.0/
cp -a assets/ *.css %{buildroot}%{_datadir}/themes/Sonar/gtk-3.0/
test -f settings.ini && cp -a settings.ini %{buildroot}%{_datadir}/themes/Sonar/gtk-3.0/
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc AUTHORS COPYING gtk-3.0/LICENSE gtk-3.0/NEWS
%{_datadir}/themes/Sonar/gtk-3.0/
%changelog