patterns-ha/patterns-ha.spec

79 lines
2.4 KiB
RPMSpec

#
# spec file for package patterns-ha
#
# 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/
#
Name: patterns-ha
Version: 16.0
Release: 0
Summary: Patterns for SLES HA
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 ha_sles
#%pattern_primaryfunctions
Summary: High Availability
Group: Metapackages
Provides: pattern() = ha_sles
Provides: pattern-category() = HA-SLES
Provides: pattern-icon() = pattern-server
Provides: pattern-order() = 3000
Provides: pattern-visible()
Requires: conntrack-tools
Requires: corosync
Recommends: corosync-qdevice
Requires: crmsh
Requires: csync2
#Requires: ctdb
Requires: drbd
Requires: drbd-utils
#Requires: fence-agents - ignore for now, currently unknown package, pending submission
#Requires: ha-cluster-bootstrap
#Requires: ha-cluster-webui
#Requires: lvm2-lockd
Requires: pacemaker
#Requires: release-notes-ha
Requires: resource-agents
Requires: sbd
Requires: chrony
#Recommends: cluster-md-kmp-default
%description ha_sles
Provide tools to ensure a high degree of operational continuity and reduce the downtimes of your system.
%prep
%build
%install
mkdir -p %{buildroot}%{_docdir}/patterns-ha/
echo 'This file marks the pattern ha_sles to be installed.' > %{buildroot}%{_docdir}/patterns-ha/ha_sles.txt
%files ha_sles
%dir %{_docdir}/patterns-ha
%{_docdir}/patterns-ha/ha_sles.txt
%changelog