File kiwi-instsource-plugins-openSUSE-13-2.spec of Package kiwi-instsource-plugins-openSUSE-13-2
#
# spec file for package kiwi-instsource-plugins-openSUSE-13-2
#
# 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/
#
Url: http://kiwi.berlios.de
Name: kiwi-instsource-plugins-openSUSE-13-2
Summary: OpenSuSE - KIWI Image System
License: GPL-2.0
Group: System/Management
Version: 0.9
Release: 0
Source: %{name}.tar.xz
Patch0: 0001-mini-iso-Pass-kexec-1-to-linuxrc-boo-990374.patch
Patch1: 0001-Fix-syntax-error-introduced-by-d52ba98d384650e9325ce.patch
Provides: kiwi-instsource-plugin
Requires: inst-source-utils >= 2011.5.5
Requires: kiwi-instsource
Requires: mkdosfs
Requires: mtools
Requires: openSUSE-EULAs
Requires: openSUSE-appstream-process
Requires: package-translations
Supplements: kiwi-instsource
BuildArch: noarch
%description
OpenSuSE - KIWI Image System InstSource plugins provides information
and plugin code to create meta information for a SUSE
installation source. This particular package contains the metadata
plugins specific for the suse-13.2 targets.
%prep
%setup -q -n kiwi-instsource-plugins-openSUSE-13-2
# Don't pass kexec=1 on SLE/Leap as it breaks certain drivers during install
%if !0%{?sle_version}
%patch0 -p1
%patch1 -p1
%endif
%build
# empty because of rpmlint warning rpm-buildroot-usage
%install
# build
test -e /.buildenv && . /.buildenv
make buildroot=$RPM_BUILD_ROOT \
version="13.2" install
%files
%defattr(-, root, root)
%doc COPYING
%dir %{_datadir}/kiwi
%dir %{_datadir}/kiwi/modules
%dir %{_datadir}/kiwi/modules/plugins
%dir %{_datadir}/kiwi/modules/plugins/suse-13.2
%{_datadir}/kiwi/modules/plugins/suse-13.2/*.pm
%config(noreplace) %{_datadir}/kiwi/modules/plugins/suse-13.2/*.ini
%changelog