File kiwi-templates-JeOS.spec of Package kiwi-templates-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/openSUSE-Leap-15-JeOS

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

Name:           kiwi-templates-JeOS
Version:        15.3
Release:        0
BuildArch:      noarch
License:        MIT
Summary:        KIWI - openSUSE Leap 15 JeOS image templates
Url:            https://www.suse.com/
Group:          System/Management
Source01:       config.sh
Source02:       JeOS.kiwi
Source03:       editbootinstall_rpi.sh
Source99:       LICENSE
Requires:       python3-kiwi
Supplements:    kiwi-templates

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

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