File kiwi-templates-SLES12-JeOS.spec of Package kiwi-templates-SLES12-JeOS

#
# spec file for package kiwi-templates-SLES12-JeOS
#
# Copyright (c) 2015 SUSE LINUX 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 dest %_datadir/kiwi/image/suse-SLE12-SP3-Enterprise-JeOS

Name:           kiwi-templates-SLES12-JeOS
Version:        12.3
Release:        1
License:        MIT
Summary:        KIWI - SUSE Linux Enterprise 12 SP3 JeOS image templates
Url:            https://www.suse.com/
Group:          System/Management
Source01:       config.sh
Source02:       images.sh
Source03:       SLES12-SP3-JeOS-for-kvm-and-xen.kiwi
Source04:       SLES12-SP3-JeOS-for-MS-HyperV.kiwi
Source05:       SLES12-SP3-JeOS-for-OpenStack-Cloud.kiwi
Source06:       SLES12-SP3-JeOS-for-VMware.kiwi
Source07:       SLES12-SP3-JeOS-for-XEN.kiwi
#
Source13:       SLES12-SP3-JeOS-for-kvm-and-xen.diff
Source14:       SLES12-SP3-JeOS-for-MS-HyperV.diff
Source15:       SLES12-SP3-JeOS-for-OpenStack-Cloud.diff
Source16:       SLES12-SP3-JeOS-for-VMware.diff
Source17:       SLES12-SP3-JeOS-for-XEN.diff
#
Source20:       applydiff
Source21:       gendiff
Source22:       SLES12-SP3-JeOS.template
#
Source99:       LICENSE
BuildRequires:  kiwi
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       kiwi
Supplements:    packageand(kiwi:kiwi-templates)

%description
This package contains system image templates to easily build
a SUSE Linux Enterprise 12 SP3 JeOS based operating system image with
kiwi.

%prep
%setup -cT
cp "%SOURCE99" .

%build

%install
dst="%buildroot%dest"
mkdir -p $dst
for i in %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7}; do
	install -m 644 $i "$dst"
done

%files
%defattr(-,root,root)
%doc LICENSE
%dest
openSUSE Build Service is sponsored by