File sle-module-sap-business-one-release.spec of Package 000release-packages

#
# spec file for package sle-module-sap-business-one-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.

# Please submit bugfixes or comments via https://bugzilla.suse.com/
#



Name:           sle-module-sap-business-one-release
%define         product sle-module-sap-business-one
Summary:        SAP Business One Module%{?betaversion: %{betaversion}}
Version:        15.6
#!BcntSyncTag: sle-module-sap-business-one
Release:        0
License:        BSD-3-Clause
Group:          System/Fhs
%global debug_package %{nil}

Provides:       %name-%version
Provides:       product() = sle%2Dmodule%2Dsap%2Dbusiness%2Done
Provides:       product(sle-module-sap-business-one) = 15.6-0
%ifarch x86_64
Provides:       product-register-target() = sle%2D15%2Dx86_64
%endif
Provides:       product-label() = SAP%2DBusiness%2DOne%2DModule
Provides:       product-cpeid() = cpe%3A%2Fo%3Asuse%3Asle%2Dmodule%2Dsap%2Dbusiness%2Done%3A15%3Asp6
Provides:       product-url(bugtracker) = https%3A%2F%2Fbugzilla.suse.com%2F
%ifarch x86_64
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%3ASLE%2DModule%2DSAP%2DBusiness%2DOne%3A15%2DSP6%3Ax86_64%2Fupdate
%endif
%ifarch x86_64
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%3ASLE%2DModule%2DSAP%2DBusiness%2DOne%3A15%2DSP6%3Ax86_64%2Fupdate_debug
%endif
Provides:       product-endoflife()
Provides:       product(sle-module-sap-business-one-SP6) = %version-%release

Requires:       product(SUSE_SLE) >= 15.6
Conflicts:       product(SLED) >= 15.6
Conflicts:       product(SLES_SAP) >= 15.6
Conflicts:       product(sle-module-sap-applications) >= 15.6
Requires:       product(sle-module-basesystem) >= 15.6
Requires:       product(sle-module-desktop-applications) >= 15.6
Requires:       product(sle-module-server-applications) >= 15.6

AutoReqProv:    on
# this package should only be available for the "basearchs" of a product
ExclusiveArch: x86_64
%description
<p>
	The SAP Business One module contains the specialized tools for the installation of SAP Business One product.
	</p>
  <p>
  The module is maintained and supported by the SUSE Linux Enterprise Server product subscription.
  </p>




%prep

%build


%install
mkdir -p %{buildroot}%{_sysconfdir}/products.d
cat >%{buildroot}%{_sysconfdir}/products.d/sle-module-sap-business-one.prod << EOF
<?xml version="1.0" encoding="UTF-8"?>
<product schemeversion="0">
  <vendor>SUSE</vendor>
  <name>sle-module-sap-business-one</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-module-sap-business-one:15:sp6</cpeid>
  <productline>sle-module-sap-business-one</productline>
  <register>
%ifarch x86_64
      <target>sle-15-x86_64</target>
%endif
    <flavor>module</flavor>
  </register>
  <repositories>
%ifarch x86_64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-SAP-Business-One:15-SP6:x86_64/update" />
%endif
%ifarch x86_64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-SAP-Business-One:15-SP6:x86_64/update_debug" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-SAP-Business-One:15-SP6:x86_64/sle-module-sap-business-one/15.6/%{_target_cpu}" />
%endif
  </repositories>
  <summary>SAP Business One Module</summary>
  <shortsummary>SAP-Business-One-Module</shortsummary>
  <description>&lt;p&gt;
	The SAP Business One module contains the specialized tools for the installation of SAP Business One product.
	&lt;/p&gt;
  &lt;p&gt;
  The module is maintained and supported by the SUSE Linux Enterprise Server product subscription.
  &lt;/p&gt;</description>
  <urls>
    <url name="bugtracker">https://bugzilla.suse.com/</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="GE"/>
  <productdependency relationship="conflicts" name="SLED" baseversion="15" patchlevel="6" flag="GE"/>
  <productdependency relationship="conflicts" name="SLES_SAP" baseversion="15" patchlevel="6" flag="GE"/>
  <productdependency relationship="conflicts" name="sle-module-sap-applications" baseversion="15" patchlevel="6" flag="GE"/>
  <productdependency relationship="requires" name="sle-module-basesystem" baseversion="15" patchlevel="6" flag="GE"/>
  <productdependency relationship="requires" name="sle-module-desktop-applications" baseversion="15" patchlevel="6" flag="GE"/>
  <productdependency relationship="requires" name="sle-module-server-applications" baseversion="15" patchlevel="6" flag="GE"/>
</product>

EOF



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

%changelog
openSUSE Build Service is sponsored by