<?xml version="1.0" encoding="UTF-8"?>
<productdefinition xmlns:xi="http://www.w3.org/2001/XInclude">
  <products>
    <product>
      <vendor>SUSE</vendor>
      <name>SLES_TERADATA</name>
      <releasepkgname>sles-teradata-release</releasepkgname>
      <!-- predecessor>SLES</predecessor -->
      <!-- see FATE#320699, c#14 -->
      <endoflife/>
      <codestream>
        <!-- See FATE#320835 -->
        <name>SUSE Linux Enterprise Server 15</name>
        <!-- FIXME: Date needs to be corrected -->
        <endoflife>2028-07-31</endoflife>
      </codestream>
      <baseversion>15</baseversion>
      <patchlevel>4</patchlevel>
      <!-- release is no longer optional -->
      <release>0</release>
      <productline>sles</productline>
      <!--
      /* required for NCC registration */
      Note: this Flag has to be discussed between PrjMgr and NCC-Team -
      and shouldn't change the whole lifetime of the product.
      Normally, just needed for Enterprise - here just for
      reference.
      FYI: the distribution tag will be generated during media creation.
      * flavor will be replaced with the <media type="dvd5"/> definition in the mediaset.
      * target will be replaced with the ncc_target - the %{_target_cpu} macro
      will be replaced with the basearch of the product.
      * release is reserved for special versions of a product
      -->
      <register>
        <pool>
          <!-- we need a product specific channel to provide System roles and release-package updates -->
          <repository project="SUSE:Products:SLE-Product-SLES:15-SP4-TERADATA:x86_64" name="images" medium="product" arch="x86_64" >
            <zypp name="SLE-Product-SLES15-SP4-Teradata-Pool" alias="SLE-Product-SLES15-SP4-Teradata-Pool"/>
          </repository>
          <!-- Debug Pool -->
	  <repository project="SUSE:Products:SLE-Product-SLES:15-SP4-TERADATA:x86_64" name="images" medium="product_debug" arch="x86_64">
	    <zypp name="SLE-Product-SLES15-SP4-Teradata-Debuginfo-Pool" alias="SLE-Product-SLES15-SP4-Teradata-Debuginfo-Pool"/>
	  </repository>
	<!-- Source Pool -->
	  <repository project="SUSE:Products:SLE-Product-SLES:15-SP4-TERADATA:x86_64" name="images" medium="product_source" arch="x86_64">
	    <zypp name="SLE-Product-SLES15-SP4-Teradata-Source-Pool" alias="SLE-Product-SLES15-SP4-Teradata-Source-Pool"/>
	  </repository>
        <!-- Teradata custom pool repos -->
         
        </pool>
        <updates>
          <!-- XXX: check targets -->
          <distrotarget arch="x86_64">sle-15-x86_64</distrotarget>
          <!-- we need a product specific channel to provide System roles and release-package updates -->
          <repository project="SUSE:Updates:SLE-Product-SLES:15-SP4-TERADATA:x86_64" name="update" arch="x86_64" >
             <zypp name="SLE-Product-SLES15-SP4-Teradata-Updates" alias="SLE-Product-SLES15-SP4-Teradata-Updates"/>
          </repository>
	  <!-- update debug-->
          <repository project="SUSE:Updates:SLE-Product-SLES:15-SP4-TERADATA:x86_64" name="update_debug" arch="x86_64" >
             <zypp name="SLE-Product-SLES15-SP4-Teradata-Debuginfo-Updates" alias="SLE-Product-SLES15-SP4-Teradata-Debuginfo-Updates"/>
          </repository>
        </updates>
      </register>


      <summary>SUSE Linux Enterprise Server 15 SP4 Teradata</summary>
      <shortsummary>SLES15-SP4 Teradata</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>

      <xi:include href="linguas.include" />

      <urls>
        <url name="releasenotes">https://www.suse.com/releasenotes/%{_target_cpu}/SUSE-SLES/15-SP4/release-notes-sles.rpm</url>
      </urls>

      <buildconfig>
        <!-- This section is needed to generate the installation media -->
        <producttheme>SLES</producttheme>
        <!-- <betaversion>Snapshot-202205-2</betaversion> -->
      </buildconfig>

      <installconfig>
        <!-- All flags needed during installation -->
        <defaultlang>en_US</defaultlang>
        <distribution>SUSE_SLE</distribution>
      </installconfig>

      <!-- All Flags needed in the running system -->
      <runtimeconfig />
      <productdependency relationship="provides" name="SUSE_SLE" flag="EQ" baseversion="15" patchlevel="4" />
      <productdependency relationship="provides" name="SUSE_SLE-SP4" flag="EQ" baseversion="15" patchlevel="4" />

    </product>
  </products>

  <!-- Default conditionals, repositories and archsets for SLE 12 get imported -->
  <xi:include href="defaults-conditionals.include" />
  <xi:include href="defaults-archsets.include" />
  <xi:include href="defaults-repositories.include" />

  <mediasets>
    <media  type="ftp"
            flavor="POOL"
            name="SLE-15-SP4-Product-SLES-Teradata-POOL"
            mediastyle="suse-sle15"
            sourcemedia="2"
            debugmedia="3"
            ignore_missing_packages="false"
            ignore_missing_meta_packages="false"
            run_make_listings="true"
            run_hybridiso="true"
            run_media_check="true"
            repo_only="true"
            separate="true"
            use_undecided="false"
            create_pattern="false"
            use_required="false"
            use_recommended="false"
            use_suggested="false">
      <!--   type             : defines the default size of a media
             flavor           : flavor name - this is needed for registration
             product          : references the product name
             name             : name of the media
             sourcemedia      : sources on this media allowed?
             create_pattern   : create pattern out of the given groups
             use_required     : add required packages from the groups
             use_recommended  : add recommended packages from the groups
             use_suggested    : add suggested packages from the groups
             size             : define a new size for the media - default is defined via 'type' attribute
     -->
      <archsets>
        <archset ref="x86_64" />
      </archsets>
      <metadata>
        <package name="skelcd-EULA-sles" />
      </metadata>
      <use group="sles_release_packages" create_pattern="false" use_recommended="true" />
    </media>
  </mediasets>

  <group name="sles_release_packages">
    <packagelist relationship="recommends">
      <package name="sles-teradata-release" supportstatus="l3" />
      <!-- needed to identify base products in yast -->
      <package name="skelcd-control-SLES" supportstatus="l3" />
      <package name="release-notes-sles" supportstatus="l3"/>
    </packagelist>
  </group>

  <!-- We need all (base) release packages on the media -->
  <!-- ARCH: x86_64 ppc64le s390x aarch64
       ==================================
       SLES:   x       x      x      x
       HPC:    x                     x
       RT:     x                    
       SAP:    x       x
       SLED:   x
       SUMAS:  x       x      x
       SUMAP:  x
       SUMARBS:x
     -->
  <group name="leanos_release_packages">
    <packagelist relationship="recommends">
      <package name="sles-release" supportstatus="l3"/>
      <!-- needed to identify base products in yast2 -->
      <package name="skelcd-control-SLES" supportstatus="l3"/>

      <!-- needed to display release notes in offline case bsc#1054478#c11 -->
      <package name="release-notes-sles" supportstatus="l3"/>
      <!-- Retail-Branch-Server is re-using release-notes-susemanager-proxy -->
  </packagelist>
  </group>
</productdefinition>
