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

#
# spec file for package kiwi-templates-SLES15-JeOS
#
# Copyright (c) 2017 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-SLE15-Enterprise-JeOS

%if "@BUILD_FLAVOR@" != ""
ExclusiveArch: do_not_build
%endif

Name:           kiwi-templates-SLES15-JeOS
Version:        15
Release:        0
BuildArch:      noarch
License:        MIT
Summary:        KIWI - SUSE Linux Enterprise 15 JeOS image templates
Url:            https://www.suse.com/
Group:          System/Management
Source01:       config.sh
Source02:       images.sh
Source03:       JeOS.kiwi
Source04:       editbootinstall_rpi.sh
#
Source99:       LICENSE
Requires:       python3-kiwi
Supplements:    kiwi-templates

%description
This package contains system image templates to easily build
a SUSE Linux Enterprise 15 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}; do
	install -m 644 $i "$dst"
done

%files
%license LICENSE
%dest
%_datadir/kiwi/
openSUSE Build Service is sponsored by