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 http://bugs.opensuse.org/
#
%define build_openSUSE 1
%define build_SLED 0
# Do not edit this auto generated file! Edit gimp-branding.spec.in.
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
%description
This package contains openSUSE splash screen for the GIMP.
%prep
%setup -q -T -c %{name}-%{version}
cp -a %{S:0} COPYING
%if %build_openSUSE
cp -a %{S:1} gimp-splash.png
%endif
%if %build_SLED
cp -a %{S:2} gimp-splash.png
%endif
%build
%install
install -D -m0644 gimp-splash.png %{buildroot}%{_datadir}/gimp/2.0/images/gimp-splash.png
%clean
rm -rf %{buildroot}
%files
%defattr (-, root, root)
%doc COPYING
%{_datadir}/gimp/2.0/images/*
%changelog