forked from pool/python-kiwi
This commit is contained in:
parent
ea1744b1d6
commit
d61e009df4
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-kiwi
|
# spec file for package kiwi
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -11,11 +11,13 @@
|
|||||||
# case the license is the MIT License). An "Open Source License" is a
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
#
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via:
|
||||||
|
#
|
||||||
|
# https://github.com/SUSE/kiwi/issues
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# If they aren't provided by a system installed macro, define them
|
||||||
%{!?_defaultdocdir: %global _defaultdocdir %{_datadir}/doc}
|
%{!?_defaultdocdir: %global _defaultdocdir %{_datadir}/doc}
|
||||||
%{!?__python2: %global __python2 /usr/bin/python2}
|
%{!?__python2: %global __python2 /usr/bin/python2}
|
||||||
|
|
||||||
@ -37,22 +39,23 @@
|
|||||||
|
|
||||||
Name: python-kiwi
|
Name: python-kiwi
|
||||||
Version: 9.13.5
|
Version: 9.13.5
|
||||||
Release: 0
|
|
||||||
Provides: kiwi-schema = 6.6
|
Provides: kiwi-schema = 6.6
|
||||||
|
Release: 0
|
||||||
Url: https://github.com/SUSE/kiwi
|
Url: https://github.com/SUSE/kiwi
|
||||||
Summary: KIWI - Appliance Builder Next Generation
|
Summary: KIWI - Appliance Builder Next Generation
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: %{pygroup}
|
|
||||||
%if %{_vendor} == "debbuild"
|
%if %{_vendor} == "debbuild"
|
||||||
# Needed to set Maintainer in output debs
|
# Needed to set Maintainer in output debs
|
||||||
|
Packager: Marcus Schaefer <ms@suse.de>
|
||||||
%endif
|
%endif
|
||||||
|
Group: %{pygroup}
|
||||||
Source: %{name}.tar.gz
|
Source: %{name}.tar.gz
|
||||||
Source1: %{name}-rpmlintrc
|
Source1: %{name}-rpmlintrc
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?fedora} || 0%{?suse_version}
|
%if 0%{?fedora} || 0%{?suse_version}
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: fdupes
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: python-%{develsuffix}
|
BuildRequires: python-%{develsuffix}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
@ -100,19 +103,19 @@ Requires(postun): update-alternatives
|
|||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
Requires: grub2-x86_64-efi
|
Requires: grub2-x86_64-efi
|
||||||
%endif
|
%endif
|
||||||
Requires: gptfdisk
|
|
||||||
Requires: multipath-tools
|
|
||||||
Requires: qemu-tools
|
Requires: qemu-tools
|
||||||
|
Requires: multipath-tools
|
||||||
Requires: squashfs
|
Requires: squashfs
|
||||||
|
Requires: gptfdisk
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
Requires: chkconfig
|
Requires: chkconfig
|
||||||
Requires(post): chkconfig
|
Requires(post): chkconfig
|
||||||
Requires(postun): chkconfig
|
Requires(postun): chkconfig
|
||||||
Requires: device-mapper-multipath
|
|
||||||
Requires: gdisk
|
|
||||||
Requires: qemu-img
|
Requires: qemu-img
|
||||||
Requires: squashfs-tools
|
Requires: squashfs-tools
|
||||||
|
Requires: device-mapper-multipath
|
||||||
|
Requires: gdisk
|
||||||
Requires: yum
|
Requires: yum
|
||||||
Provides: kiwi-packagemanager:yum
|
Provides: kiwi-packagemanager:yum
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||||
@ -126,10 +129,10 @@ Provides: kiwi-packagemanager:zypper
|
|||||||
%endif
|
%endif
|
||||||
%if 0%{?debian} || 0%{?ubuntu}
|
%if 0%{?debian} || 0%{?ubuntu}
|
||||||
Requires: debootstrap
|
Requires: debootstrap
|
||||||
Requires: gdisk
|
|
||||||
Requires: multipath-tools
|
|
||||||
Requires: qemu-utils
|
Requires: qemu-utils
|
||||||
Requires: squashfs-tools
|
Requires: squashfs-tools
|
||||||
|
Requires: multipath-tools
|
||||||
|
Requires: gdisk
|
||||||
%endif
|
%endif
|
||||||
Requires: dosfstools
|
Requires: dosfstools
|
||||||
Requires: e2fsprogs
|
Requires: e2fsprogs
|
||||||
@ -183,19 +186,19 @@ Requires(postun): update-alternatives
|
|||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
Requires: grub2-x86_64-efi
|
Requires: grub2-x86_64-efi
|
||||||
%endif
|
%endif
|
||||||
Requires: gptfdisk
|
|
||||||
Requires: multipath-tools
|
|
||||||
Requires: qemu-tools
|
Requires: qemu-tools
|
||||||
|
Requires: multipath-tools
|
||||||
Requires: squashfs
|
Requires: squashfs
|
||||||
|
Requires: gptfdisk
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
Requires: chkconfig
|
Requires: chkconfig
|
||||||
Requires(post): chkconfig
|
Requires(post): chkconfig
|
||||||
Requires(postun): chkconfig
|
Requires(postun): chkconfig
|
||||||
Requires: device-mapper-multipath
|
|
||||||
Requires: gdisk
|
|
||||||
Requires: qemu-img
|
Requires: qemu-img
|
||||||
Requires: squashfs-tools
|
Requires: squashfs-tools
|
||||||
|
Requires: device-mapper-multipath
|
||||||
|
Requires: gdisk
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel} && 0%{?rhel} < 8
|
%if 0%{?rhel} && 0%{?rhel} < 8
|
||||||
Requires: yum
|
Requires: yum
|
||||||
@ -240,6 +243,7 @@ virtualization and cloud systems like Xen, KVM, VMware, EC2 and more.
|
|||||||
|
|
||||||
%package -n kiwi-tools
|
%package -n kiwi-tools
|
||||||
Summary: KIWI - Collection of Boot Helper Tools
|
Summary: KIWI - Collection of Boot Helper Tools
|
||||||
|
License: GPL-3.0+
|
||||||
Group: %{sysgroup}
|
Group: %{sysgroup}
|
||||||
|
|
||||||
%description -n kiwi-tools
|
%description -n kiwi-tools
|
||||||
@ -252,13 +256,14 @@ outside of the scope of kiwi appliance building.
|
|||||||
%ifarch %ix86 x86_64
|
%ifarch %ix86 x86_64
|
||||||
%package -n kiwi-pxeboot
|
%package -n kiwi-pxeboot
|
||||||
Summary: KIWI - PXE boot structure
|
Summary: KIWI - PXE boot structure
|
||||||
Group: %{sysgroup}
|
|
||||||
Requires: syslinux
|
Requires: syslinux
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
%else
|
%else
|
||||||
Requires(pre): shadow
|
Requires(pre): shadow
|
||||||
%endif
|
%endif
|
||||||
|
License: GPL-3.0+
|
||||||
|
Group: %{sysgroup}
|
||||||
|
|
||||||
%description -n kiwi-pxeboot
|
%description -n kiwi-pxeboot
|
||||||
This package contains the basic PXE directory structure which is
|
This package contains the basic PXE directory structure which is
|
||||||
@ -268,7 +273,6 @@ needed to serve kiwi built images via PXE.
|
|||||||
|
|
||||||
%package -n dracut-kiwi-lib
|
%package -n dracut-kiwi-lib
|
||||||
Summary: KIWI - Dracut kiwi Library
|
Summary: KIWI - Dracut kiwi Library
|
||||||
Group: %{sysgroup}
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian}
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian}
|
||||||
# Ubuntu 16.04 OBS environments refuse to set up due to
|
# Ubuntu 16.04 OBS environments refuse to set up due to
|
||||||
# initramfs-tools / dracut conflict and initramfs-tools is required
|
# initramfs-tools / dracut conflict and initramfs-tools is required
|
||||||
@ -285,26 +289,28 @@ Requires: btrfsprogs
|
|||||||
Requires: gptfdisk
|
Requires: gptfdisk
|
||||||
%endif
|
%endif
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
Requires: curl
|
|
||||||
Requires: dialog
|
|
||||||
Requires: e2fsprogs
|
Requires: e2fsprogs
|
||||||
Requires: grep
|
Requires: grep
|
||||||
Requires: lvm2
|
Requires: lvm2
|
||||||
Requires: mdadm
|
Requires: mdadm
|
||||||
Requires: parted
|
Requires: parted
|
||||||
Requires: pv
|
|
||||||
Requires: util-linux
|
Requires: util-linux
|
||||||
Requires: xfsprogs
|
Requires: xfsprogs
|
||||||
|
Requires: dialog
|
||||||
|
Requires: pv
|
||||||
|
Requires: curl
|
||||||
%if 0%{?debian} || 0%{?ubuntu}
|
%if 0%{?debian} || 0%{?ubuntu}
|
||||||
Requires: dmsetup
|
|
||||||
Requires: xz-utils
|
Requires: xz-utils
|
||||||
|
Requires: dmsetup
|
||||||
%else
|
%else
|
||||||
Requires: device-mapper
|
|
||||||
Requires: xz
|
Requires: xz
|
||||||
|
Requires: device-mapper
|
||||||
%endif
|
%endif
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
Requires: s390-tools
|
Requires: s390-tools
|
||||||
%endif
|
%endif
|
||||||
|
License: GPL-3.0+
|
||||||
|
Group: %{sysgroup}
|
||||||
|
|
||||||
%description -n dracut-kiwi-lib
|
%description -n dracut-kiwi-lib
|
||||||
This package contains a collection of methods to provide a library
|
This package contains a collection of methods to provide a library
|
||||||
@ -312,7 +318,6 @@ for tasks done in other kiwi dracut modules
|
|||||||
|
|
||||||
%package -n dracut-kiwi-oem-repart
|
%package -n dracut-kiwi-oem-repart
|
||||||
Summary: KIWI - Dracut module for oem(repart) image type
|
Summary: KIWI - Dracut module for oem(repart) image type
|
||||||
Group: %{sysgroup}
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian}
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian}
|
||||||
# Ubuntu 16.04 OBS environments refuse to set up due to
|
# Ubuntu 16.04 OBS environments refuse to set up due to
|
||||||
# initramfs-tools / dracut conflict and initramfs-tools is required
|
# initramfs-tools / dracut conflict and initramfs-tools is required
|
||||||
@ -320,6 +325,8 @@ Group: %{sysgroup}
|
|||||||
BuildRequires: dracut
|
BuildRequires: dracut
|
||||||
%endif
|
%endif
|
||||||
Requires: dracut-kiwi-lib
|
Requires: dracut-kiwi-lib
|
||||||
|
License: GPL-3.0+
|
||||||
|
Group: %{sysgroup}
|
||||||
|
|
||||||
%description -n dracut-kiwi-oem-repart
|
%description -n dracut-kiwi-oem-repart
|
||||||
This package contains the kiwi-repart dracut module which is
|
This package contains the kiwi-repart dracut module which is
|
||||||
@ -328,16 +335,15 @@ geometry according to the setup in the kiwi image configuration
|
|||||||
|
|
||||||
%package -n dracut-kiwi-oem-dump
|
%package -n dracut-kiwi-oem-dump
|
||||||
Summary: KIWI - Dracut module for oem(install) image type
|
Summary: KIWI - Dracut module for oem(install) image type
|
||||||
Group: %{sysgroup}
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian}
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian}
|
||||||
# Ubuntu 16.04 OBS environments refuse to set up due to
|
# Ubuntu 16.04 OBS environments refuse to set up due to
|
||||||
# initramfs-tools / dracut conflict and initramfs-tools is required
|
# initramfs-tools / dracut conflict and initramfs-tools is required
|
||||||
# to set up the build environment...
|
# to set up the build environment...
|
||||||
BuildRequires: dracut
|
BuildRequires: dracut
|
||||||
%endif
|
%endif
|
||||||
Requires: dmraid
|
|
||||||
Requires: dracut-kiwi-lib
|
Requires: dracut-kiwi-lib
|
||||||
Requires: kexec-tools
|
Requires: kexec-tools
|
||||||
|
Requires: dmraid
|
||||||
%if 0%{?suse_version} || 0%{?debian} || 0%{?ubuntu}
|
%if 0%{?suse_version} || 0%{?debian} || 0%{?ubuntu}
|
||||||
Requires: multipath-tools
|
Requires: multipath-tools
|
||||||
%endif
|
%endif
|
||||||
@ -345,6 +351,8 @@ Requires: multipath-tools
|
|||||||
Requires: device-mapper-multipath
|
Requires: device-mapper-multipath
|
||||||
%endif
|
%endif
|
||||||
Requires: gawk
|
Requires: gawk
|
||||||
|
License: GPL-3.0+
|
||||||
|
Group: %{sysgroup}
|
||||||
|
|
||||||
%description -n dracut-kiwi-oem-dump
|
%description -n dracut-kiwi-oem-dump
|
||||||
This package contains the kiwi-dump dracut module which is
|
This package contains the kiwi-dump dracut module which is
|
||||||
@ -356,7 +364,6 @@ remote
|
|||||||
|
|
||||||
%package -n dracut-kiwi-live
|
%package -n dracut-kiwi-live
|
||||||
Summary: KIWI - Dracut module for iso(live) image type
|
Summary: KIWI - Dracut module for iso(live) image type
|
||||||
Group: %{sysgroup}
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian}
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian}
|
||||||
# Ubuntu 16.04 OBS environments refuse to set up due to
|
# Ubuntu 16.04 OBS environments refuse to set up due to
|
||||||
# initramfs-tools / dracut conflict and initramfs-tools is required
|
# initramfs-tools / dracut conflict and initramfs-tools is required
|
||||||
@ -364,9 +371,9 @@ Group: %{sysgroup}
|
|||||||
BuildRequires: dracut
|
BuildRequires: dracut
|
||||||
%endif
|
%endif
|
||||||
Requires: dialog
|
Requires: dialog
|
||||||
|
Requires: xfsprogs
|
||||||
Requires: e2fsprogs
|
Requires: e2fsprogs
|
||||||
Requires: util-linux
|
Requires: util-linux
|
||||||
Requires: xfsprogs
|
|
||||||
%if 0%{?debian} || 0%{?ubuntu}
|
%if 0%{?debian} || 0%{?ubuntu}
|
||||||
Requires: dmsetup
|
Requires: dmsetup
|
||||||
%else
|
%else
|
||||||
@ -382,6 +389,8 @@ Requires: genisoimage
|
|||||||
Requires: cdrkit-cdrtools-compat
|
Requires: cdrkit-cdrtools-compat
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
License: GPL-3.0+
|
||||||
|
Group: %{sysgroup}
|
||||||
|
|
||||||
%description -n dracut-kiwi-live
|
%description -n dracut-kiwi-live
|
||||||
This package contains the kiwi-live dracut module which is used
|
This package contains the kiwi-live dracut module which is used
|
||||||
@ -389,15 +398,16 @@ for booting iso(live) images built with KIWI
|
|||||||
|
|
||||||
%package -n dracut-kiwi-overlay
|
%package -n dracut-kiwi-overlay
|
||||||
Summary: KIWI - Dracut module for vmx(+overlay) image type
|
Summary: KIWI - Dracut module for vmx(+overlay) image type
|
||||||
Group: %{sysgroup}
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian}
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian}
|
||||||
# Ubuntu 16.04 OBS environments refuse to set up due to
|
# Ubuntu 16.04 OBS environments refuse to set up due to
|
||||||
# initramfs-tools / dracut conflict and initramfs-tools is required
|
# initramfs-tools / dracut conflict and initramfs-tools is required
|
||||||
# to set up the build environment...
|
# to set up the build environment...
|
||||||
BuildRequires: dracut
|
BuildRequires: dracut
|
||||||
%endif
|
%endif
|
||||||
Requires: dracut
|
|
||||||
Requires: util-linux
|
Requires: util-linux
|
||||||
|
Requires: dracut
|
||||||
|
License: GPL-3.0+
|
||||||
|
Group: %{sysgroup}
|
||||||
|
|
||||||
%description -n dracut-kiwi-overlay
|
%description -n dracut-kiwi-overlay
|
||||||
This package contains the kiwi-overlay dracut module which is used
|
This package contains the kiwi-overlay dracut module which is used
|
||||||
@ -406,6 +416,7 @@ overlay root filesystem
|
|||||||
|
|
||||||
%package -n kiwi-man-pages
|
%package -n kiwi-man-pages
|
||||||
Summary: KIWI - manual pages
|
Summary: KIWI - manual pages
|
||||||
|
License: GPL-3.0+
|
||||||
Group: %{sysgroup}
|
Group: %{sysgroup}
|
||||||
|
|
||||||
%description -n kiwi-man-pages
|
%description -n kiwi-man-pages
|
||||||
|
Loading…
Reference in New Issue
Block a user