File SLE_HPC-ESPOS-release.spec of Package SLE_HPC-ESPOS-release.13686

#
# spec file for package SLE_HPC-ESPOS-release (Version 15)
#
# Copyright (c) 2019 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-ESPOS-release
%define         product SLE_HPC-ESPOS
Summary:        SUSE Linux Enterprise Server 15 SP1 Business Critical Linux%{?betaversion: %{betaversion}}
Version:        15
Release:        0
License:        BSD-3-Clause
Group:          System/Fhs

Provides:       %name-%version
Provides:       product() = SLE_HPC-ESPOS
Provides:       product(SLE_HPC-ESPOS) = 15-0
%ifarch x86_64
Provides:       product-register-target() = sle%2D15%2Daarch64
%endif
%ifarch x86_64
Provides:       product-register-target() = sle%2D15%2Dx86_64
%endif
Provides:       product-label() = SLE%2D15%2DESPOS
Provides:       product-cpeid() = cpe%3A%2Fo%3Asuse%3Asle_hpc%2Despos%3A15
Provides:       product-url(releasenotes) = https%3A%2F%2Fwww.suse.com%2Freleasenotes%2F%{_target_cpu}%2FSLE%2DHPC%2F15%2Frelease%2Dnotes%2Dsle_hpc.rpm
%ifarch aarch64
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.o.o%2FSUSE%3AUpdates%3ASLE%2DProduct%2DHPC%3A15%2DESPOS%3Aaarch64%2Fupdate
%endif
%ifarch aarch64
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.o.o%2FSUSE%3AUpdates%3ASLE%2DProduct%2DHPC%3A15%2DESPOS%3Aaarch64%2Fupdate_debug
%endif
%ifarch x86_64
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.o.o%2FSUSE%3AUpdates%3ASLE%2DProduct%2DHPC%3A15%2DESPOS%3Ax86_64%2Fupdate
%endif
%ifarch x86_64
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.o.o%2FSUSE%3AUpdates%3ASLE%2DProduct%2DHPC%3A15%2DESPOS%3Ax86_64%2Fupdate_debug
%endif
Provides:       product-endoflife() = 2026%2D06%2D31

Provides:       product(SUSE_SLE) = 15

AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
SUSE Linux Enterprise offers a comprehensive
        suite of products built on a single code base.
        The platform addresses business needs from
        the smallest thin-client devices to the world's
        most powerful high-performance computing
        and mainframe servers. SUSE Linux Enterprise
        offers common management tools and technology
        certifications across the platform, and
        each product is enterprise-class.




%prep

%build


%install
mkdir -p $RPM_BUILD_ROOT/etc/products.d
cat >$RPM_BUILD_ROOT/etc/products.d/SLE_HPC-ESPOS.prod << EOF
<?xml version="1.0" encoding="UTF-8"?>
<product schemeversion="0">
  <vendor>SUSE</vendor>
  <name>SLE_HPC-ESPOS</name>
  <version>15</version>
  <baseversion>15</baseversion>
  <patchlevel>0</patchlevel>
  <release>0</release>
  <endoflife>2026-06-31</endoflife>
  <arch>%{_target_cpu}</arch>
  <cpeid>cpe:/o:suse:sle_hpc-espos:15</cpeid>
  <productline>sles</productline>
  <codestream>
    <name>SUSE Linux Enterprise High Performance Computing 15</name>
    <endoflife>2028-07-31</endoflife>
  </codestream>
  <register>
%ifarch x86_64
      <target>sle-15-aarch64</target>
%endif
%ifarch x86_64
      <target>sle-15-x86_64</target>
%endif
  </register>
  <repositories>
%ifarch aarch64
      <repository type="update" repoid="obsrepository://build.o.o/SUSE:Updates:SLE-Product-HPC:15-ESPOS:aarch64/update" />
%endif
%ifarch aarch64
      <repository type="update" repoid="obsrepository://build.o.o/SUSE:Updates:SLE-Product-HPC:15-ESPOS:aarch64/update_debug" />
%endif
%ifarch x86_64
      <repository type="update" repoid="obsrepository://build.o.o/SUSE:Updates:SLE-Product-HPC:15-ESPOS:x86_64/update" />
%endif
%ifarch x86_64
      <repository type="update" repoid="obsrepository://build.o.o/SUSE:Updates:SLE-Product-HPC:15-ESPOS:x86_64/update_debug" />
%endif
%ifarch aarch64
      <repository type="pool" repoid="obsproduct://build.o.o/SUSE:Products:SLE-Product-HPC:15-ESPOS:aarch64/SLE_HPC-ESPOS/15/%{_target_cpu}" />
%endif
%ifarch aarch64
      <repository type="pool" repoid="obsproduct://build.o.o/SUSE:Products:SLE-Product-HPC:15-ESPOS:aarch64/SLE_HPC-ESPOS/15/%{_target_cpu}" />
%endif
%ifarch aarch64
      <repository type="pool" repoid="obsproduct://build.o.o/SUSE:Products:SLE-Product-HPC:15-ESPOS:aarch64/SLE_HPC-ESPOS/15/%{_target_cpu}" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsproduct://build.o.o/SUSE:Products:SLE-Product-HPC:15-ESPOS:x86_64/SLE_HPC-ESPOS/15/%{_target_cpu}" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsproduct://build.o.o/SUSE:Products:SLE-Product-HPC:15-ESPOS:x86_64/SLE_HPC-ESPOS/15/%{_target_cpu}" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsproduct://build.o.o/SUSE:Products:SLE-Product-HPC:15-ESPOS:x86_64/SLE_HPC-ESPOS/15/%{_target_cpu}" />
%endif
  </repositories>
  <summary>SUSE Linux Enterprise Server 15 SP1 Business Critical Linux</summary>
  <shortsummary>SLE-15-ESPOS</shortsummary>
  <description>SUSE Linux Enterprise offers a comprehensive
        suite of products built on a single code base.
        The platform addresses business needs from
        the smallest thin-client devices to the world's
        most powerful high-performance computing
        and mainframe servers. SUSE Linux Enterprise
        offers common management tools and technology
        certifications across the platform, and
        each product is enterprise-class.</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/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="provides" name="SUSE_SLE" baseversion="15" patchlevel="0" flag="EQ"/>
</product>

EOF



%clean
rm -rf %buildroot

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

%changelog