93 lines
2.6 KiB
RPMSpec
93 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package patterns-alp-containers
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: patterns-alp-containers
|
|
Version: 0.1
|
|
Release: 0
|
|
Summary: Patterns for SUSE ALP
|
|
License: MIT
|
|
Group: Metapackages
|
|
URL: http://en.opensuse.org/Patterns
|
|
Source0: %name.rpmlintrc
|
|
ExclusiveArch: x86_64 %arm32 aarch64 ppc64le s390x riscv64
|
|
|
|
%description
|
|
This is an internal package that is used to create the patterns as part
|
|
of the installation source setup. Installation of this package does
|
|
not make sense.
|
|
|
|
%package podman
|
|
Summary: SUSE ALP podman pattern
|
|
Group: Metapackages
|
|
Provides: pattern() = alp_containers_podman
|
|
Provides: pattern-category() = ALP
|
|
Provides: pattern-icon() = pattern-kubic
|
|
Provides: pattern-order() = 9020
|
|
Obsoletes: patterns-microos-container_runtime
|
|
Requires: podman
|
|
Requires: netavark
|
|
Requires: aardvark-dns
|
|
%if !0%{?is_opensuse}
|
|
Requires: libcontainers-sles-mounts
|
|
%endif
|
|
|
|
%description podman
|
|
This provides default podman installation on ALP
|
|
|
|
%package docker
|
|
Summary: SUSE ALP Docker support
|
|
Group: Metapackages
|
|
Provides: pattern() = alp_container_docker
|
|
Provides: pattern-category() = ALP
|
|
Provides: pattern-icon() = pattern-kubic
|
|
Provides: pattern-order() = 9030
|
|
Provides: pattern-visible()
|
|
Requires: docker
|
|
%if !0%{?is_opensuse}
|
|
Requires: libcontainers-sles-mounts
|
|
%endif
|
|
|
|
%description docker
|
|
This provides default Docker installation on ALP
|
|
|
|
%prep
|
|
# empty on purpose
|
|
|
|
%build
|
|
# empty on purpose
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_docdir}/patterns-alp-containers/
|
|
PATTERNS='
|
|
podman docker
|
|
'
|
|
for i in $PATTERNS; do
|
|
echo "This file marks the pattern $i to be installed." \
|
|
> %{buildroot}%{_docdir}/patterns-alp-containers/${i}.txt
|
|
done
|
|
|
|
%files podman
|
|
%dir %{_docdir}/patterns-alp-containers
|
|
%{_docdir}/patterns-alp-containers/podman.txt
|
|
|
|
%files docker
|
|
%dir %{_docdir}/patterns-alp-containers
|
|
%{_docdir}/patterns-alp-containers/docker.txt
|
|
|
|
%changelog
|