File hicolor-icon-theme-branding-openSUSE.spec of Package hicolor-icon-theme-branding-openSUSE

#
# spec file for package hicolor-icon-theme-branding-openSUSE (Version 11.3)
#
# Copyright (c) 2010 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/
#


%define         build_openSUSE 1
%define         build_SLED 0

# Do not edit this auto generated file! Edit hicolor-icon-theme-branding.spec.in.

Name:           hicolor-icon-theme-branding-openSUSE
License:        GPLv2+
Version:        11.3
Release:        2
Summary:        openSUSE branding of hicolor-icon-theme
Group:          System/X11/Utilities
Source0:        suse-icon.tar.bz2
Source1:        COPYING
BuildRequires:  hicolor-icon-theme
%define hicolor_icon_theme_version %(rpm -q --qf '%%{version}-%%{release}' hicolor-icon-theme)
Provides:       hicolor-icon-theme-branding = %{hicolor_icon_theme_version}
Conflicts:      otherproviders(hicolor-icon-theme-branding)
Supplements:    packageand(hicolor-icon-theme:branding-openSUSE)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This package provides openSUSE Look and Feel for hicolor-icon-theme.

%prep
%setup -q -c %{name}-%{version}
cp -a %{SOURCE1} .

%build

%install
for size in 16 22 32 48; do
  install -D -m 0644 suse${size}.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps/distributor.png
done
install -D -m 0644 suse.svg $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/distributor.svg

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc COPYING
%{_datadir}/icons/hicolor/*/*/*.*

%changelog
openSUSE Build Service is sponsored by