340 lines
11 KiB
RPMSpec
340 lines
11 KiB
RPMSpec
|
#
|
||
|
# spec file for package patterns-sles
|
||
|
#
|
||
|
# 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/
|
||
|
#
|
||
|
|
||
|
|
||
|
%bcond_with betatest
|
||
|
%define all_patterns base enhanced_base
|
||
|
|
||
|
Name: patterns-sles
|
||
|
Version: 16.0
|
||
|
Release: 0
|
||
|
Summary: Patterns for SUSE Linux Enterprise Server
|
||
|
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.
|
||
|
|
||
|
##############################
|
||
|
# base
|
||
|
##############################
|
||
|
%package base
|
||
|
#%pattern_basetechnologies
|
||
|
Summary: SLES Minimal Base System
|
||
|
Group: Metapackages
|
||
|
Provides: pattern() = sles_base
|
||
|
Provides: pattern-category() = SLES
|
||
|
Requires: pattern() = minimal_base
|
||
|
Requires: bash
|
||
|
Requires: coreutils
|
||
|
Requires: aaa_base
|
||
|
Requires: bash
|
||
|
Requires: coreutils
|
||
|
Requires: dracut
|
||
|
Requires: glibc
|
||
|
Requires: pam
|
||
|
Requires: polkit
|
||
|
Requires: polkit-default-privs
|
||
|
Requires: procps
|
||
|
Requires: rpm
|
||
|
Requires: shadow
|
||
|
Requires: system-group-hardware
|
||
|
Requires: system-user-nobody
|
||
|
Requires: systemd
|
||
|
Requires: util-linux
|
||
|
Requires: which
|
||
|
Requires: zypper
|
||
|
# ignored requires purge-kernels-service: unknown package purge-kernels-service
|
||
|
Requires: rpm
|
||
|
Requires: shadow
|
||
|
Requires: system-group-hardware
|
||
|
Requires: system-user-nobody
|
||
|
Requires: systemd
|
||
|
Requires: util-linux
|
||
|
Requires: which
|
||
|
Requires: zypper
|
||
|
Requires: e2fsprogs
|
||
|
Recommends: busybox-static
|
||
|
Recommends: ca-certificates-mozilla
|
||
|
Recommends: chrony
|
||
|
Recommends: cron
|
||
|
Recommends: cronie
|
||
|
Recommends: elfutils
|
||
|
Recommends: glibc-locale
|
||
|
Recommends: glibc-locale-base
|
||
|
Recommends: grub2
|
||
|
Recommends: iproute2
|
||
|
Recommends: libnsl1
|
||
|
Recommends: snapper
|
||
|
# ignored recommends system-group-trusted: unknown package system-group-trusted
|
||
|
Recommends: system-group-wheel
|
||
|
Recommends: system-user-bin
|
||
|
Recommends: system-user-daemon
|
||
|
Recommends: tar
|
||
|
Recommends: terminfo
|
||
|
Recommends: terminfo-iterm
|
||
|
Recommends: terminfo-screen
|
||
|
Recommends: timezone
|
||
|
Recommends: branding-SLE
|
||
|
# ignored recommends SUSEConnect: unknown package SUSEConnect
|
||
|
Recommends: btrfsprogs
|
||
|
Recommends: rollback-helper
|
||
|
Recommends: xfsprogs
|
||
|
Recommends: systemd-coredump
|
||
|
# ignored recommends haveged: unknown package haveged
|
||
|
# ignored recommends issue-generator: unknown package issue-generator
|
||
|
Suggests: kernel-default
|
||
|
# ignored suggests pulseaudio: package pulseaudio with label @PulseAudio does not belong to this product
|
||
|
%ifarch x86_64
|
||
|
Recommends: shim
|
||
|
Recommends: efibootmgr
|
||
|
%endif
|
||
|
%ifarch aarch64
|
||
|
Recommends: efibootmgr
|
||
|
%endif
|
||
|
%ifarch ppc64le
|
||
|
Recommends: lshw
|
||
|
Recommends: lsvpd
|
||
|
Recommends: ppc64-diag
|
||
|
%endif
|
||
|
|
||
|
%description base
|
||
|
This is the SLES base runtime system. It contains only a minimal multiuser booting system.
|
||
|
For running on real hardware, install additional packages and patterns will have to be
|
||
|
installed.
|
||
|
|
||
|
##############################
|
||
|
# enhanced_base
|
||
|
##############################
|
||
|
%package enhanced_base
|
||
|
#%pattern_basetechnologies
|
||
|
Summary: SLES Enhanced Base System
|
||
|
Group: Metapackages
|
||
|
Provides: pattern() = sles_enhanced_base
|
||
|
Provides: pattern-category() = SLES
|
||
|
Requires: pattern() = sles_base
|
||
|
Requires: multipath-tools
|
||
|
Recommends: grub2-branding-SLE
|
||
|
Recommends: plymouth
|
||
|
# ignored recommends OpenIPMI: package OpenIPMI with label @IPMI does not belong to this product
|
||
|
Recommends: aaa_base-extras
|
||
|
Recommends: acl
|
||
|
# ignored recommends alsa-plugins: unknown package alsa-plugins
|
||
|
Recommends: attr
|
||
|
# ignored recommends autofs: unknown package autofs
|
||
|
Recommends: bash-completion
|
||
|
Recommends: bind-utils
|
||
|
Recommends: binutils
|
||
|
Recommends: bzip2
|
||
|
# ignored recommends cifs-utils: package cifs-utils with label @Samba does not belong to this product
|
||
|
# ignored recommends command-not-found: unknown package command-not-found
|
||
|
Recommends: cpio
|
||
|
Recommends: cpp
|
||
|
Recommends: cpupower
|
||
|
Recommends: cryptsetup
|
||
|
# ignored recommends cups: package cups with label @PrintServer does not belong to this product
|
||
|
# ignored recommends cups-client: package cups-client with label @PrintingLibraries does not belong to this product
|
||
|
Recommends: curl
|
||
|
Recommends: cyrus-sasl
|
||
|
Recommends: cyrus-sasl-crammd5
|
||
|
Recommends: cyrus-sasl-digestmd5
|
||
|
Recommends: cyrus-sasl-gssapi
|
||
|
Recommends: cyrus-sasl-plain
|
||
|
# ignored recommends deltarpm: unknown package deltarpm
|
||
|
Recommends: diffutils
|
||
|
Recommends: dos2unix
|
||
|
Recommends: e2fsprogs
|
||
|
Recommends: ethtool
|
||
|
Recommends: expect
|
||
|
Recommends: file
|
||
|
Recommends: fillup
|
||
|
Recommends: findutils
|
||
|
# ignored recommends firewalld: package firewalld with label @Firewall does not belong to this product
|
||
|
Recommends: fuse
|
||
|
Recommends: gawk
|
||
|
# ignored recommends genisoimage: unknown package genisoimage
|
||
|
Recommends: gettext-runtime
|
||
|
# ignored recommends gpart: unknown package gpart
|
||
|
Recommends: gpg2
|
||
|
Recommends: gpm
|
||
|
Recommends: grep
|
||
|
Recommends: grub2
|
||
|
Recommends: gzip
|
||
|
Recommends: hdparm
|
||
|
Recommends: hwinfo
|
||
|
Recommends: info
|
||
|
# ignored recommends initviocons: package initviocons with label @YastCommon does not belong to this product
|
||
|
# ignored recommends ipmitool: package ipmitool with label @IPMI does not belong to this product
|
||
|
Recommends: iproute2
|
||
|
Recommends: iputils
|
||
|
Recommends: irqbalance
|
||
|
# ignored recommends joe: package joe with label @Vim does not belong to this product
|
||
|
# ignored recommends kmod-compat: unknown package kmod-compat
|
||
|
Recommends: kpartx
|
||
|
Recommends: krb5
|
||
|
Recommends: less
|
||
|
Recommends: logrotate
|
||
|
Recommends: lsof
|
||
|
Recommends: lsscsi
|
||
|
Recommends: lvm2
|
||
|
Recommends: m4
|
||
|
Recommends: mailx
|
||
|
Recommends: make
|
||
|
# ignored recommends man: package man with label @ManDoc does not belong to this product
|
||
|
Recommends: mdadm
|
||
|
# ignored recommends mksh: unknown package mksh
|
||
|
# ignored recommends mutt: unknown package mutt
|
||
|
Recommends: ncurses-utils
|
||
|
Recommends: net-snmp
|
||
|
Recommends: net-tools
|
||
|
Recommends: netcat-openbsd
|
||
|
Recommends: netcfg
|
||
|
Recommends: nfs-client
|
||
|
# ignored recommends nfsidmap: unknown package nfsidmap
|
||
|
Recommends: nscd
|
||
|
# ignored recommends ntfs-3g: package ntfs-3g with label @MicrosoftTools does not belong to this product
|
||
|
# ignored recommends ntfsprogs: package ntfsprogs with label @MicrosoftTools does not belong to this product
|
||
|
Recommends: openslp
|
||
|
Recommends: openssh
|
||
|
Recommends: pam-config
|
||
|
Recommends: parted
|
||
|
Recommends: pciutils
|
||
|
# ignored recommends pciutils-ids: unknown package pciutils-ids
|
||
|
# ignored recommends pcre: unknown package pcre
|
||
|
Recommends: perl-Bootloader
|
||
|
Recommends: perl-base
|
||
|
Recommends: permissions
|
||
|
Recommends: pinentry
|
||
|
# ignored recommends popt: unknown package popt
|
||
|
Recommends: postfix
|
||
|
Recommends: psmisc
|
||
|
Recommends: quota
|
||
|
Recommends: rsync
|
||
|
# ignored recommends scout: unknown package scout
|
||
|
Recommends: screen
|
||
|
Recommends: sed
|
||
|
Recommends: sg3_utils
|
||
|
Recommends: smartmontools
|
||
|
Recommends: sudo
|
||
|
# ignored recommends supportutils: package supportutils with label @SUSESupport does not belong to this product
|
||
|
Recommends: sysconfig
|
||
|
Recommends: sysfsutils
|
||
|
Recommends: tcsh
|
||
|
Recommends: time
|
||
|
Recommends: timezone
|
||
|
# ignored recommends translation-update: unknown package translation-update
|
||
|
Recommends: udev
|
||
|
# ignored recommends udev-configure-printer: unknown package udev-configure-printer
|
||
|
Recommends: usbutils
|
||
|
# ignored recommends vim: package vim with label @Vim does not belong to this product
|
||
|
# ignored recommends w3m: package w3m with label @BrowsersConsole does not belong to this product
|
||
|
# ignored recommends wget: package wget with label @PublicCloud does not belong to this product
|
||
|
# ignored recommends xauth: package xauth with label @X11StandardUtils does not belong to this product
|
||
|
Recommends: xz
|
||
|
Recommends: zisofs-tools
|
||
|
# ignored recommends zlib: unknown package zlib
|
||
|
# ignored recommends prctl: unknown package prctl
|
||
|
# ignored recommends recode: unknown package recode
|
||
|
# ignored recommends smp_utils: unknown package smp_utils
|
||
|
Recommends: strace
|
||
|
Recommends: syslinux
|
||
|
# ignored recommends tnftp: unknown package tnftp
|
||
|
# ignored recommends tuned: package tuned with label @TuneD does not belong to this product
|
||
|
Recommends: wireless-tools
|
||
|
# ignored recommends wol: unknown package wol
|
||
|
# ignored suggests acpid: unknown package acpid
|
||
|
Suggests: biosdevname
|
||
|
Suggests: cpupower
|
||
|
Suggests: cracklib-dict-full
|
||
|
Suggests: cyrus-sasl-gssapi
|
||
|
# ignored suggests delayacct-utils: unknown package delayacct-utils
|
||
|
Suggests: ed
|
||
|
# ignored suggests finger: unknown package finger
|
||
|
# ignored suggests groff: package groff with label @ManDoc does not belong to this product
|
||
|
# ignored suggests hfsutils: unknown package hfsutils
|
||
|
# ignored suggests joe: package joe with label @Vim does not belong to this product
|
||
|
# ignored suggests kerneloops: unknown package kerneloops
|
||
|
# ignored suggests ksymoops: unknown package ksymoops
|
||
|
# ignored suggests man-pages: package man-pages with label @ManDoc does not belong to this product
|
||
|
# ignored suggests man-pages-posix: unknown package man-pages-posix
|
||
|
# ignored suggests mpt-status: unknown package mpt-status
|
||
|
# ignored suggests ocfs2-tools: unknown package ocfs2-tools
|
||
|
# ignored suggests pam_ssh: unknown package pam_ssh
|
||
|
# ignored suggests perl-TermReadLine-Gnu: unknown package perl-TermReadLine-Gnu
|
||
|
# ignored suggests prctl: unknown package prctl
|
||
|
# ignored suggests procinfo: unknown package procinfo
|
||
|
# ignored suggests procmail: package procmail with label @PCP does not belong to this product
|
||
|
# ignored suggests providers: unknown package providers
|
||
|
# ignored suggests pwgen: unknown package pwgen
|
||
|
# ignored suggests setserial: unknown package setserial
|
||
|
Suggests: sharutils
|
||
|
Suggests: spax
|
||
|
Suggests: strace
|
||
|
# ignored suggests tcpdump: unknown package tcpdump
|
||
|
# ignored suggests telnet: unknown package telnet
|
||
|
Suggests: terminfo
|
||
|
Suggests: unzip
|
||
|
Suggests: vlan
|
||
|
# ignored suggests w3m-el: unknown package w3m-el
|
||
|
# ignored suggests wol: unknown package wol
|
||
|
# ignored suggests xdelta: unknown package xdelta
|
||
|
# ignored suggests xfsdump: unknown package xfsdump
|
||
|
Suggests: zip
|
||
|
%ifarch x86_64
|
||
|
Recommends: dmidecode
|
||
|
Recommends: acpica
|
||
|
Recommends: mcelog
|
||
|
Recommends: numactl
|
||
|
Recommends: ucode-amd
|
||
|
Recommends: ucode-intel
|
||
|
%endif
|
||
|
%ifarch aarch64
|
||
|
Recommends: dmidecode
|
||
|
%endif
|
||
|
|
||
|
%description enhanced_base
|
||
|
This is the enhanced base runtime system with lots of convenience packages.
|
||
|
|
||
|
|
||
|
%prep
|
||
|
# empty on purpose
|
||
|
|
||
|
%build
|
||
|
# empty on purpose
|
||
|
|
||
|
%install
|
||
|
mkdir -p %{buildroot}%{_docdir}/patterns-sles/
|
||
|
for i in %all_patterns; do
|
||
|
echo "This file marks the pattern $i to be installed." \
|
||
|
> %{buildroot}%{_docdir}/patterns-sles/${i}.txt
|
||
|
done
|
||
|
|
||
|
%files base
|
||
|
%dir %{_docdir}/patterns-sles
|
||
|
%{_docdir}/patterns-sles/base.txt
|
||
|
|
||
|
%files enhanced_base
|
||
|
%dir %{_docdir}/patterns-sles
|
||
|
%{_docdir}/patterns-sles/enhanced_base.txt
|
||
|
|
||
|
%changelog
|