File SLE_HPC-LTSS-release.spec of Package 000release-packages

#
# spec file for package SLE_HPC-LTSS-release (Version 15.6)
#
# Copyright (c) 2024 SUSE.
#
# 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.


Name:           SLE_HPC-LTSS-release
%define         product SLE_HPC-LTSS
Summary:        SUSE Linux Enterprise High Performance Computing LTSS 15 SP6%{?betaversion: %{betaversion}}
Version:        15.6
#!BcntSyncTag: SLE_HPC-LTSS
Release:        0
License:        BSD-3-Clause
Group:          System/Fhs
%global debug_package %{nil}

Provides:       %name-%version
Provides:       product() = SLE_HPC-LTSS
Provides:       product(SLE_HPC-LTSS) = 15.6-0
%ifarch aarch64
Provides:       product-register-target() = sle%2D15%2Daarch64
%endif
%ifarch x86_64
Provides:       product-register-target() = sle%2D15%2Dx86_64
%endif
Provides:       product-label() = SLE_HPC%2DLTSS%2D15%2DSP6
Provides:       product-cpeid() = cpe%3A%2Fo%3Asuse%3Asle_hpc%2Dltss%3A15%3Asp6
Provides:       product-url(releasenotes) = https%3A%2F%2Fwww.suse.com%2Freleasenotes%2F%{_target_cpu}%2FSLE%2DHPC%2F15%2DSP6%2Frelease%2Dnotes%2Dsle_hpc.rpm
%ifarch x86_64
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%3ASLE%2DProduct%2DHPC%3A15%2DSP6%2DLTSS%3Ax86_64%2Fupdate
%endif
%ifarch aarch64
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%3ASLE%2DProduct%2DHPC%3A15%2DSP6%2DLTSS%3Aaarch64%2Fupdate
%endif
%ifarch x86_64
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%3ASLE%2DProduct%2DHPC%3A15%2DSP6%2DLTSS%3Ax86_64%2Fupdate_debug
%endif
%ifarch aarch64
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%3ASLE%2DProduct%2DHPC%3A15%2DSP6%2DLTSS%3Aaarch64%2Fupdate_debug
%endif
Provides:       product-endoflife()
Provides:       product(SLE_HPC-LTSS-SP6) = %version-%release

Requires:       product(SUSE_SLE) = 15.6

AutoReqProv:    on
# this package should only be available for the "basearchs" of a product
ExclusiveArch: aarch64 x86_64
%description
<p>
        SUSE Linux Enterprise High Performance Computing
        is a highly scalable, high performance open source
        operating system designed to utilize the power of
        parallel computing for modeling, simulation and
        advanced analytics workloads.
        </p>




%prep

%build


%install
mkdir -p %{buildroot}%{_sysconfdir}/products.d
cat >%{buildroot}%{_sysconfdir}/products.d/SLE_HPC-LTSS.prod << EOF
<?xml version="1.0" encoding="UTF-8"?>
<product schemeversion="0">
  <vendor>SUSE</vendor>
  <name>SLE_HPC-LTSS</name>
  <version>15.6</version>
  <baseversion>15</baseversion>
  <patchlevel>6</patchlevel>
  <release>0</release>
  <endoflife></endoflife>
  <arch>%{_target_cpu}</arch>
  <cpeid>cpe:/o:suse:sle_hpc-ltss:15:sp6</cpeid>
  <productline>sles</productline>
  <codestream>
    <name>SUSE Linux Enterprise High Performance Computing 15</name>
    <endoflife>2028-07-31</endoflife>
  </codestream>
  <register>
%ifarch aarch64
      <target>sle-15-aarch64</target>
%endif
%ifarch x86_64
      <target>sle-15-x86_64</target>
%endif
    <flavor>extension</flavor>
  </register>
  <repositories>
%ifarch x86_64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Product-HPC:15-SP6-LTSS:x86_64/update" />
%endif
%ifarch aarch64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Product-HPC:15-SP6-LTSS:aarch64/update" />
%endif
%ifarch x86_64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Product-HPC:15-SP6-LTSS:x86_64/update_debug" />
%endif
%ifarch aarch64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Product-HPC:15-SP6-LTSS:aarch64/update_debug" />
%endif
%ifarch aarch64
      <repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Product-HPC:15-SP6-LTSS:aarch64/SLE_HPC-LTSS/15.6/%{_target_cpu}" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Product-HPC:15-SP6-LTSS:x86_64/SLE_HPC-LTSS/15.6/%{_target_cpu}" />
%endif
  </repositories>
  <summary>SUSE Linux Enterprise High Performance Computing LTSS 15 SP6</summary>
  <shortsummary>SLE_HPC-LTSS-15-SP6</shortsummary>
  <description>&lt;p&gt;
        SUSE Linux Enterprise High Performance Computing
        is a highly scalable, high performance open source
        operating system designed to utilize the power of
        parallel computing for modeling, simulation and
        advanced analytics workloads.
        &lt;/p&gt;</description>
  <linguas>
    <language>cs</language>
    <language>da</language>
    <language>de</language>
    <language>en</language>
    <language>en_GB</language>
    <language>en_US</language>
    <language>es</language>
    <language>fi</language>
    <language>fr</language>
    <language>hu</language>
    <language>it</language>
    <language>ja</language>
    <language>nb</language>
    <language>nl</language>
    <language>pl</language>
    <language>pt</language>
    <language>pt_BR</language>
    <language>ru</language>
    <language>sv</language>
    <language>zh</language>
    <language>zh_CN</language>
    <language>zh_TW</language>
  </linguas>
  <urls>
    <url name="releasenotes">https://www.suse.com/releasenotes/%{_target_cpu}/SLE-HPC/15-SP6/release-notes-sle_hpc.rpm</url>
  </urls>
  <buildconfig>
    <producttheme>SLES</producttheme>
  </buildconfig>
  <installconfig>
    <defaultlang>en_US</defaultlang>
    <releasepackage name="%{name}" flag="EQ" version="%{version}" release="%{release}"/>
    <distribution>SUSE_SLE</distribution>
  </installconfig>
  <runtimeconfig/>
  <productdependency relationship="requires" name="SUSE_SLE" baseversion="15" patchlevel="6" flag="EQ"/>
</product>

EOF



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

%changelog
openSUSE Build Service is sponsored by