File gimp-branding-openSUSE.spec of Package gimp-branding-openSUSE

# spec file for package gimp-branding-openSUSE
# 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

%define         build_openSUSE 1
%define         build_SLED 0

# Do not edit this auto generated file! Edit

Name:           gimp-branding-openSUSE
Version:        11.3
Release:        7
Group:          Productivity/Graphics/Bitmap Editors
License:        BSD3c(or similar)
Summary:        openSUSE splash screen for GIMP
Source0:        gimp-branding-COPYING
Source1:        gimp-branding-openSUSE-splash.png
Source2:        gimp-branding-SLED-splash.png
BuildRequires:  gimp
%define gimp_version %(rpm -q --qf '%%{version}-%%{release}' gimp)
Provides:       gimp-branding = %{gimp_version}
Conflicts:      otherproviders(gimp-branding)
Supplements:    packageand(gimp:branding-openSUSE)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

This package contains openSUSE splash screen for the GIMP.

%setup -q -T -c %{name}-%{version}
cp -a %{S:0} COPYING
%if %build_openSUSE
cp -a %{S:1} gimp-splash.png
%if %build_SLED
cp -a %{S:2} gimp-splash.png


install -D -m0644 gimp-splash.png %{buildroot}%{_datadir}/gimp/2.0/images/gimp-splash.png

rm -rf %{buildroot}

%defattr (-, root, root)

openSUSE Build Service is sponsored by