File SLED-SP1-migration.spec of Package 000release-packages

# 

Name:           SLED-SP1-migration
Summary:        SLED Service Pack 1 Migration Product
Version:        15
Release:        0
License:        BSD-3-Clause
Group:          System/Fhs
Provides:       product()
Provides:       product(SLED-SP1-migration) = %{version}-%{release}
Requires:       product(SLED) = 15
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Product to migrate to SLED Service Pack 1.



%prep

%build


%install
mkdir -p $RPM_BUILD_ROOT/etc/products.d
cat >$RPM_BUILD_ROOT/etc/products.d/SLED-SP1-migration.prod << EOF
<?xml version="1.0" encoding="UTF-8"?>
<product schemeversion="0">
  <vendor>SUSE</vendor>
  <name>SLED-SP1-migration</name>
  <version>15</version>
  <baseversion>15</baseversion>
  <patchlevel>0</patchlevel>
  <release>0</release>
  <endoflife></endoflife>
  <arch>%{_target_cpu}</arch>
  <cpeid>cpe:/o:suse:sled-sp1-migration:15</cpeid>
  <productline>sled</productline>
  <codestream>
    <name>SUSE Linux Enterprise Desktop 15</name>
    <endoflife>2028-07-31</endoflife>
  </codestream>
  <register>
%ifarch x86_64
      <target>sle-15-x86_64</target>
%endif
  </register>
  <repositories>
%ifarch x86_64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Product-SLED:15:x86_64/update" />
%endif
%ifarch x86_64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Product-SLED:15:x86_64/update_debug" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-SLED:15:x86_64/images" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-SLED:15:x86_64/images" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-SLED:15:x86_64/images" />
%endif
  </repositories>
  <summary>SLED Service Pack 1 Migration Product</summary>
  <shortsummary>SLED Service Pack 1 Migration Product</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. SUSE Linux
        Enterprise provides more than a cute desktop
        product or a basic server offering. It is the
        only Linux platform for enterprise computing,
        and it is now replacing UNIX* and Windows*
        as well.</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}/SUSE-SLED/15/release-notes-sled.rpm</url>
  </urls>
  <buildconfig>
    <producttheme>SLED</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"/>
  <productdependency relationship="provides" name="SUSE_SLE-SP0" 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
openSUSE Build Service is sponsored by