File branding-upstream.spec of Package branding-upstream

#
# spec file for package branding-upstream (Version 11.4)
#
# 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/
#

# norootforbuild


Name:           branding-upstream
Version:        11.4
Release:        1
License:        MIT
Group:          System/Fhs
Provides:       branding
Conflicts:      otherproviders(branding)
Source:         %{name}-COPYING
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Summary:        SuSE Brand File Supplementing Upstream Look and Feel

%description
This package contains the file /etc/SuSE-brand, and its name is used as
a trigger for installation of look and feel and branding of packages as
it was defined by upstream developers.

WARNING: If you decide to install this package instead of the default
branding package, you will lose vendor customization of your
distribution.



%prep
%setup -q -T -c
cp -a %{S:0} COPYING

%build
cat >SuSE-brand <<EOF
upstream
VERSION = %{version}
CO-BRANDS = openSUSE SLED SLES SLE
EOF

%install
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
cp SuSE-brand $RPM_BUILD_ROOT%{_sysconfdir}/

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYING
%{_sysconfdir}/SuSE-brand

%changelog