File gtk3-branding-SLED.spec of Package gtk3-branding-openSUSE
#
# spec file for package gtk3-branding-SLED
#
# Copyright (c) 2015 SUSE LINUX 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/
#
%define build_openSUSE 0
%define build_SLED 1
Url: http://www.gtk.org/
# Do not edit this auto generated file! Edit gtk3-branding.spec.in.
Name: gtk3-branding-SLED
Version: 42.1
Release: 0
Summary: The GTK+ toolkit library (version 3) -- SLED theme configuration
License: BSD-3-Clause
Group: System/Libraries
Source: gtk3-branding-settings.ini
Source1: gtk3-branding-COPYING
BuildRequires: gtk3
%define gtk3_real_package %(rpm -q --qf '%%{name}' --whatprovides gtk3)
%define gtk3_version %(rpm -q --qf '%%{version}' %{gtk3_real_package})
Requires: %{gtk3_real_package} = %{gtk3_version}
Requires: gtk3-metatheme-adwaita
Provides: gtk3-branding = %{gtk3_version}
Conflicts: otherproviders(gtk3-branding)
Supplements: packageand(gtk3:branding-SLED)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
Offering a complete set of widgets, GTK+ is suitable for projects
ranging from small one-off projects to complete application suites.
This package provides the SLED theme configuration for
widgets and icon themes.
%prep
%setup -q -T -c %{name}-%{version}
cp -a %{S:0} settings.ini
cp -a %{S:1} COPYING
%build
%install
install -d %{buildroot}%{_sysconfdir}/gtk-3.0
install -m0644 settings.ini %{buildroot}%{_sysconfdir}/gtk-3.0/
%clean
rm -rf %{buildroot}
%files
%defattr (-, root, root)
%doc COPYING
%config %{_sysconfdir}/gtk-3.0/settings.ini
%changelog