File patterns-elemental3-base.spec of Package patterns-elemental3-base

#
# spec file for package patterns-base
#
# Copyright (c) 2025 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/
#


%bcond_with betatest
Name:           patterns-elemental3
Version:        0.5~20251118
Release:        0
Summary:        Patterns for Unified Core
License:        MIT
Group:          Metapackages
URL:            https://github.com/SUSE/elemental
BuildRequires:  patterns-rpm-macros

%description
This is an internal package that is used to create the patterns as part
of the Elemental3 build.

%package hostos
Summary:        Host Operating System
Group:          Metapackages
Provides:       pattern() = uc-hostos
Requires:       NetworkManager
Requires:       NetworkManager-branding-openSUSE
Requires:       aaa_base
Requires:       aaa_base-extras
Requires:       acl
Requires:       audit
Requires:       btrfsmaintenance
Requires:       btrfsprogs
Requires:       chrony
Requires:       chrony-pool-suse
Requires:       catalyst
Requires:       catalyst-combustion-compat
Requires:       container-selinux
Requires:       coreutils
Requires:       curl
Requires:       dosfstools
Requires:       dracut
Requires:       efibootmgr
Requires:       fipscheck
Requires:       gio-branding-openSUSE
Requires:       gptfdisk
Requires:       grep
Requires:       hostname
Requires:       jq
Requires:       ignition
Requires:       iproute2
Requires:       iptables
Requires:       iputils
Requires:       issue-generator
Requires:       libcurl-mini4
Requires:       less
Requires:       lsof
Requires:       nm-configurator
Requires:       openssh
Requires:       parted
Requires:       patterns-base-base >= 20241218
Requires:       patterns-base-selinux >= 20241218
Requires:       patterns-base-fips >= 20241218
Requires:       kernel-firmware-all
Requires:       podman
Requires:       rsync
Requires:       sed
Requires:       shim
Requires:       snapper
Requires:       systemd
Requires:       tar
Requires:       toolbox
Requires:       vim-small
Requires:       xz
Requires:       openSUSE-release-appliance

%description hostos
This is the unified core basesystem.

%files hostos
%dir %{_docdir}/patterns
%{_docdir}/patterns/uc-hostos.txt

%prep

%build

%install
mkdir -p %{buildroot}%{_docdir}/patterns
for i in \
uc-hostos; do
    echo "This file marks the pattern $i to be installed." \
    >"%{buildroot}%{_docdir}/patterns/$i.txt"
done

%changelog
openSUSE Build Service is sponsored by