%{!?pattern_primaryfunctions: %global pattern_primaryfunctions #} # # spec file for package patterns-uyuni # # Copyright (c) 2024 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/ # %global debug_package %{nil} Name: patterns-uyuni # Macros are not part of package-translations for SLE15 %if 0%{?suse_version} > 1320 BuildRequires: patterns-rpm-macros %else BuildRequires: package-translations %endif BuildRequires: perl(URI::Escape) Summary: Patterns for Uyuni License: GPL-2.0-or-later Group: Metapackages Version: 2024.02 Release: 230900.1.1.uyuni3 URL: http://en.opensuse.org/Patterns BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %name-rpmlintrc %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. # Macros are provided patterns-rpm-macros for SLE15 %if 0%{?suse_version} <= 1320 %{expand:%(perl /usr/share/package-translations/create_macros)} %endif %package -n patterns-uyuni_server %pattern_primaryfunctions Summary: Uyuni Server Group: Metapackages Provides: pattern() = uyuni_server Provides: pattern-icon() = pattern-generic Provides: pattern-order() = 3010 Provides: pattern-visible() Requires: python3-ws4py Requires: salt-api Requires: salt-master Requires: cobbler = 3.3.3 %{!?java_version: %global java_version 11} Requires: Uyuni-Server-release Requires: java-%{java_version}-openjdk Requires: postgresql-contrib >= 12 Requires: postgresql-server >= 12 Requires: release-notes-uyuni Requires: smdba Requires: spacewalk-base-minimal Requires: spacewalk-postgresql Requires: spacewalk-reports Requires: spacewalk-utils Requires: supportutils-plugin-susemanager Requires: susemanager Requires: susemanager-tools Requires: uyuni-docs_en Requires: uyuni-docs_en-pdf %ifarch %ix86 x86_64 Requires: syslinux %else # Not available yet for aarch64 %ifnarch aarch64 Requires: syslinux-x86_64 %endif %endif Requires: cpu-mitigations-formula Requires: liberate-formula Requires: openvpn-formula Recommends: golang-github-QubitProducts-exporter_exporter Recommends: golang-github-prometheus-node_exporter Recommends: grafana-formula Recommends: locale-formula Recommends: prometheus-exporters-formula Recommends: prometheus-formula Recommends: prometheus-jmx_exporter Recommends: prometheus-jmx_exporter-tomcat Recommends: prometheus-postgres_exporter Recommends: registry-formula Recommends: spacecmd Recommends: susemanager-tftpsync # Retail packages Recommends: bind-formula Recommends: dhcpd-formula Recommends: tftpd-formula Recommends: virtualization-formulas Recommends: vsftpd-formula # end of Retail packages # Monitoring Recommends: golang-github-lusitaniae-apache_exporter Recommends: golang-github-QubitProducts-exporter_exporter Recommends: golang-github-prometheus-node_exporter Recommends: prometheus-jmx_exporter Recommends: prometheus-postgres_exporter # End of Monitoring %description -n patterns-uyuni_server Uyuni Server packages. %files -n patterns-uyuni_server %defattr(-,root,root) %dir /usr/share/doc/packages/patterns-uyuni-server /usr/share/doc/packages/patterns-uyuni-server/uyuni_server.txt ##################################################################### %package -n patterns-uyuni_retail %pattern_primaryfunctions Summary: Uyuni for Retail Group: Metapackages Provides: pattern() = uyuni_retail Provides: pattern-icon() = pattern-generic Provides: pattern-order() = 3011 Provides: pattern-visible() Requires: bind-formula Requires: branch-network-formula Requires: dhcpd-formula Requires: image-sync-formula Requires: pxe-formula Requires: saltboot-formula Requires: tftpd-formula Requires: vsftpd-formula Recommends: virtualization-host-formula Requires: python3-susemanager-retail Requires: susemanager-retail-tools %description -n patterns-uyuni_retail Uyuni for Retail packages. %files -n patterns-uyuni_retail %defattr(-,root,root) %dir /usr/share/doc/packages/patterns-uyuni-retail /usr/share/doc/packages/patterns-uyuni-retail/uyuni_retail.txt ##################################################################### %package -n patterns-uyuni_proxy %pattern_primaryfunctions Summary: Uyuni Proxy Group: Metapackages Provides: pattern() = uyuni_proxy Provides: pattern-icon() = pattern-generic Provides: pattern-order() = 3010 Provides: pattern-visible() Requires: Uyuni-Proxy-release Requires: release-notes-uyuni-proxy Requires: spacewalk-proxy-broker Requires: spacewalk-proxy-common Requires: spacewalk-proxy-installer Requires: spacewalk-proxy-management Requires: spacewalk-proxy-package-manager Requires: spacewalk-proxy-redirect Requires: spacewalk-ssl-cert-check Requires: supportutils-plugin-susemanager-client Requires: supportutils-plugin-susemanager-proxy Requires: python3-rhnlib Recommends: spacewalk-proxy-docs Recommends: susemanager-tftpsync-recv # Monitoring Recommends: golang-github-boynux-squid_exporter Recommends: golang-github-QubitProducts-exporter_exporter Recommends: golang-github-lusitaniae-apache_exporter Recommends: golang-github-prometheus-node_exporter Recommends: prometheus-blackbox_exporter # End of Monitoring %description -n patterns-uyuni_proxy Uyuni Proxy packages. %files -n patterns-uyuni_proxy %defattr(-,root,root) %dir /usr/share/doc/packages/patterns-uyuni-proxy /usr/share/doc/packages/patterns-uyuni-proxy/uyuni_proxy.txt ##################################################################### %prep # empty on purpose %build # empty on purpose %install mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-uyuni-server/ echo 'This file marks the pattern uyuni_server to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-uyuni-server/uyuni_server.txt mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-uyuni-retail/ echo 'This file marks the pattern uyuni_retail to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-uyuni-retail/uyuni_retail.txt mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-uyuni-proxy/ echo 'This file marks the pattern uyuni_proxy to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-uyuni-proxy/uyuni_proxy.txt %changelog * Fri Feb 16 2024 Marina Latini - Uyuni 2024.02 * Tue Jan 30 2024 Raúl Osuna - Uyuni 2024.01 * Fri Jan 19 2024 Marina Latini - Add liberate-formula to the required packages for the server to get it installed by default * Tue Jan 16 2024 Julio González Gil - Do not require syslinux-x86_64 for aarch64 as it is not available yet * Mon Dec 18 2023 Ricardo Mestre - Replace java 11 with java 17 * Mon Dec 18 2023 Raúl Osuna - Uyuni 2023.12 * Wed Nov 1 2023 Marina Latini - Uyuni 2023.10 * Mon Jul 31 2023 Marina Latini - Uyuni 2023.09 * This version will be also based on Leap 15.5 * Tue Apr 18 2023 Marina Latini - Uyuni 2023.04 * Tue Feb 28 2023 Julio González Gil - Uyuni 2023.03 * Move the required cobbler version from the packages to the Server pattern * Mon Jan 16 2023 Julio González Gil - Uyuni 2023.01 * Mon Dec 12 2022 Julio González Gil - Uyuni 2022.12: * remove osa-dispatcher dependency from server pattern * Wed Nov 16 2022 Julio González Gil - Uyuni 2022.11 * Thu Oct 13 2022 Michael Calmer - add registry-formula as recommended to server pattern * Thu Sep 29 2022 Julio González Gil - Uyuni 2022.10 * Fri Jul 29 2022 Julio González Gil - Uyuni 2022.08: * Strictly require OpenJDK 11 (bsc#1202142) * Tue May 24 2022 Julio González Gil - Uyuni 2022.06 * Wed May 11 2022 Julio González Gil - Remove py26-compat-salt and py27-compat-salt, as we now the salt bundle for WebUI bootstrapping and salt-ssh * Tue May 3 2022 Julio González Gil - Uyuni 2022.05 * Fri Apr 8 2022 Julio González Gil - Uyuni 2022.04 * Thu Mar 10 2022 Julio González Gil - Uyuni 2022.03 * Mon Feb 21 2022 Julio González Gil - Uyuni 2022.02 * golang-github-wrouesnel-postgres_exporter was renamed to prometheus-postgres_exporter * Thu Jan 20 2022 Julio González Gil - Uyuni 2021.01 * Mon Nov 29 2021 Julio González Gil - Uyuni 2021.12 * Fri Nov 5 2021 Julio González Gil - Add prometheus-blackbox_exporter as recommended for the Proxy * Mon Sep 6 2021 Julio González Gil - Uyuni 2021.09 - virtualization-host-formula was renamed to virtualization-formulas * Wed Jul 28 2021 Julio González Gil - Uyuni 2021.08 * Thu Jul 15 2021 Stefan Bluhm - Disabled debug package build. - Removed logic for unsupported OS. * Wed May 26 2021 Julio González Gil - Uyuni 2021.06 - Do not require python2-salt (replaced by p27-compat-salt) * Fri Apr 30 2021 Julio González Gil - Uyuni 2021.05 * Wed Apr 7 2021 Julio González Gil - Uyuni 2021.04 * Fri Feb 12 2021 Julio González Gil - Uyuni 2021.02 * Mon Feb 1 2021 Julio González Gil - Uyuni 2021.01 * Thu Nov 19 2020 Julio González Gil - Uyuni 2020.11 * Fri Sep 18 2020 Julio González Gil - Uyuni 2020.09 * Thu Sep 10 2020 Julio González Gil - Change PostgreSQL requirements to require at least PostgreSQL 12 * Mon Aug 10 2020 Julio González Gil - Add Recommends for golang-github-QubitProducts-exporter_exporter * Tue Jun 23 2020 Julio González Gil - Uyuni 2020.07 * Wed Jun 10 2020 Julio González Gil - Uyuni 2020.06 * Mon Jun 1 2020 Julio González Gil - Add spacewalk-utils to the required packages for the server to get it installed by default * Thu May 21 2020 Julio González Gil - Uyuni 2020.05 * Wed May 13 2020 Hubert Mantel - remove Recommends for traditional client from proxy pattern as this will install the traditional stack during upgrades (bsc#1171494) * Thu Apr 30 2020 Julio González Gil - Add requires for openvpn-formula * Mon Apr 13 2020 Julio González Gil - Bump version to 2020.04 * Wed Mar 25 2020 Michael Calmer - remove susemanager-branding-oss package from server pattern * Tue Mar 3 2020 jgonzalez@suse.com - Remove system-lock-formula as it is now required by spacewalk-java * Fri Feb 28 2020 Julio González Gil - change traditional tools in proxy pattern to Recommended as they are not needed when the proxy is configured as minion * Mon Feb 10 2020 Michael Calmer - remove dropped package susemanager-proxy from pattern * Thu Feb 6 2020 Cédric Bosdonnat - Add recommends for virtualization-host-formula to retail * Thu Jan 30 2020 Julio González Gil - Bump version to 2020.01 * Tue Jan 28 2020 Julio González Gil - Remove auditlog-keeper * Tue Jan 14 2020 Julio González Gil - Add system-lock-formula to server pattern as "Required" * Thu Nov 21 2019 Johannes Renner - Add prometheus-formula and grafana-formula to the server pattern - Add the apache exporter to the proxy pattern as "Recommends" * Wed Oct 30 2019 Julio González Gil - Install cpu-mitigations-formula by default * Fri Oct 25 2019 Julio González Gil - Bump version to 2019.12 * Thu Sep 5 2019 Julio González Gil - Add recommends for virtualization-host-formula * Fri Aug 2 2019 Julio González Gil - Remove susemanager-nagios-plugin * Wed Jul 31 2019 Julio González Gil - Add recommends for cpu-mitigations-formula * Wed May 15 2019 Julio González Gil - SPEC cleanup * Fri Apr 26 2019 Julio González Gil - Fix wrong bugzilla entry at changelog * Wed Apr 17 2019 Johannes Renner - Add recommends for Prometheus exporters and formula * Mon Feb 18 2019 Julio González Gil - require postgresql at least version 10 - require syslinux-x86_64 for all none x86 architectures - adjusted python package versions depending on the OS version * Fri Sep 21 2018 jsrain@suse.cz - adjusted pacakges list for Retail pattern * Mon Aug 27 2018 mantel@suse.de - remove unneeded requires for minion proxy; traditional clients still will get those packages via bootstrap repo * Mon Aug 13 2018 jgonzalez@suse.com - Refer to new package names for osa-dispatcher and spacewalksd (bsc#1104034) * Mon Aug 13 2018 jgonzalez@suse.com - Version 4.0 (bsc#1104034) * Tue May 15 2018 mc@suse.com - create retail pattern and add specialized formulas to it - require postgresql >= 9.6 as database * Sat May 5 2018 mc@suse.com - add locale-formula as recommended to SUSE Manager Server * Fri Apr 6 2018 mc@suse.com - Require py26-compat-salt for SLE11 compatibility - Require python3-salt for SLE15 compatibility * Tue Feb 20 2018 jgonzalez@suse.com - Enable openSUSE support * Thu Jan 25 2018 mc@suse.com - require python-ws4py again as we switched back to python2 * Fri Jan 12 2018 jsrain@suse.cz - added Retail packages * Thu Dec 14 2017 mc@suse.com - require python3-ws4py * Mon Dec 4 2017 jgonzalez@suse.com - Fix building for SLE15 * Wed Jul 19 2017 mc@suse.com - version 3.2 * Wed Apr 19 2017 mc@suse.de - version 3.1 * Thu Mar 3 2016 mc@suse.de - do not install salt packages with the proxy pattern * Wed Feb 24 2016 mc@suse.de - require syslinux or syslinux-x86_64 dependend on the architecture * Thu Jan 14 2016 mc@suse.de - add susemanager-sls to proxy pattern * Wed Jan 13 2016 mc@suse.de - require new doc packages * Mon Nov 30 2015 mc@suse.de - do not require postgresql-pltcl * Wed Oct 14 2015 mc@suse.de - do not require flavor package * Wed Oct 14 2015 mc@suse.de - drop pgtune from server pattern * Thu Oct 8 2015 mc@suse.de - remove salt_master pattern - simplify salt package definition for server and proxy * Thu Oct 8 2015 mc@suse.de - build patterns for SUSE Manager Server and Proxy in one package * Thu Oct 8 2015 mc@suse.de - add seperate salt_master pattern - add python-ws4py to salt_master * Thu Aug 27 2015 mc@suse.de - require postgresql >= 9.4 * Mon Aug 3 2015 mc@suse.de - require salt packages * Wed Jul 8 2015 mc@suse.de - initial package