File Uyuni-Proxy-release.spec of Package 000product

#
# spec file for package Uyuni-Proxy-release
#
# 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:           Uyuni-Proxy-release
Summary:        ___SUMMARY___ ___BETA_VERSION___
License:        GPL-2.0-or-later
Group:          System/Fhs
URL:            https://www.uyuni-project.org/
Version:        ___VERSION___
Release:        0

___PRODUCT_PROVIDES___

# FATE#320199 : default patterns
Provides:       defaultpattern(uyuni_proxy)

# When we build the containers we don't want to require Leap Micro 5.5
# The same is valid if we build Uyuni on RHEL
%if !(0%{?rhel} || (0%{?sle_version} == 150600 && 0%{?is_opensuse}))
___PRODUCT_DEPENDENCIES___
%endif

# Install mgrpxy by default when the extension is installed
# Recommend the related shell completions too
Requires:     mgrpxy
Requires:     (mgrpxy-bash-completion if bash-completion)
Requires:     (mgrpxy-zsh-completion if zsh)
Requires:     (mgrpxy-fish-completion if fish)

# Install uyuni-storage-setup-proxy by default when the extension is installed
Requires:     uyuni-storage-setup-proxy

%description
___DESCRIPTION___

___FLAVOR_PACKAGES___

%prep

%build

%install

___CREATE_PRODUCT_FILES___

%files
%defattr(644,root,root,755)
%dir %{_sysconfdir}/products.d
%{_sysconfdir}/products.d/*

%changelog
openSUSE Build Service is sponsored by