File branding-openSUSE.spec of Package branding-openSUSE

#
# spec file for package branding-openSUSE (Version 11.1)
#
# Copyright (c) 2008 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-openSUSE
Version:        11.1
Release:        1
License:        BSD 3-Clause
Group:          System/Fhs
Provides:       branding
Conflicts:      otherproviders(branding)
Source:         %{name}-COPYING
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Summary:        SuSE Brand File

%description
This package contains the file /etc/SuSE-brand, and its name is used as
a trigger for installation of correct vendor brand packages.



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

%build
cat >SuSE-brand <<EOF
openSUSE
VERSION = %{version}
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
* Sat Nov 01 2008 coolo@suse.de
- increase version number
* Mon Oct 06 2008 sbrabec@suse.cz
- Conflict with other branding providers (FATE#304881).
* Wed Apr 09 2008 sbrabec@suse.cz
- Added COPYING file (bnc#373602).
* Wed Mar 19 2008 sbrabec@suse.cz
- New SuSE package (fate#301464, bnc#372275).