File sle-module-web-scripting-release.spec of Package sle-module-web-scripting-release.956

#
# spec file for package sle-module-web-scripting-release (Version 12)
#
# Copyright (c) 2015 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.novell.com/
#



Name:           sle-module-web-scripting-release
%define         product sle-module-web-scripting
Summary:        Web and Scripting Module
Version:        12
Release:        0
License:        BSD-3-Clause
Group:          System/Fhs

Provides:       %name-%version
Provides:       product() = sle-module-web-scripting
Provides:       product(sle-module-web-scripting) = 12-0
%ifarch x86_64
Provides:       product-register-target() = sle%2D12%2Dx86_64
%endif
%ifarch s390x
Provides:       product-register-target() = sle%2D12%2Ds390x
%endif
%ifarch ppc64le
Provides:       product-register-target() = sle%2D12%2Dppc64le
%endif
Provides:       product-label() = Web%2Dand%2DScripting%2Dmodule
Provides:       product-cpeid() = cpe%3A%2Fo%3Asuse%3Asle%2Dmodule%2Dweb%2Dscripting%3A12
Provides:       product-url(bugtracker) = https%3A%2F%2Fbugzilla.novell.com%2F
%ifarch x86_64
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%3ASLE%2DModule%2DWeb%2DScripting%3A12%3Ax86_64%2Fupdate
%endif
%ifarch s390x
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%3ASLE%2DModule%2DWeb%2DScripting%3A12%3As390x%2Fupdate
%endif
%ifarch ppc64le
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%3ASLE%2DModule%2DWeb%2DScripting%3A12%3Appc64le%2Fupdate
%endif
%ifarch x86_64
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%3ASLE%2DModule%2DWeb%2DScripting%3A12%3Ax86_64%2Fupdate_debug
%endif
%ifarch s390x
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%3ASLE%2DModule%2DWeb%2DScripting%3A12%3As390x%2Fupdate_debug
%endif
%ifarch ppc64le
Provides:       product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%3ASLE%2DModule%2DWeb%2DScripting%3A12%3Appc64le%2Fupdate_debug
%endif
Provides:       product-register-flavor() = module
Provides:       product-endoflife() = 2017%2D10%2D31
Requires:       product_flavor(sle-module-web-scripting)

Requires:       product(SLES) >= 12

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

%description
<p>
	The SUSE Linux Enterprise Web and Scripting Module delivers a
	comprehensive suite of scripting languages, frameworks, and related tools
	helping developers and systems administrators accelerate the creation
	of stable, modern web applications, using dynamic languages, such as
	PHP, Ruby on Rails, and Python.
	</p>
	<p>
	Access to the Web and Scripting Module is included in your SUSE Linux
	Enterprise Server subscription. The module has a different lifecycle
	than SUSE Linux Enterprise Server itself: Package versions in the this
	module are usually supported for at most three years. We are planning
	to release more recent versions on a schedule of approximately 18
	month; the exact dates may differ per package.
	</p>


%package cd
License:        BSD-3-Clause
Group:          System/Fhs
Provides:       product_flavor()
Provides:       flavor(cd)
Provides:       product_flavor(sle-module-web-scripting) = 12-0
Summary:        Web and Scripting Module

%description cd
<p>
	The SUSE Linux Enterprise Web and Scripting Module delivers a
	comprehensive suite of scripting languages, frameworks, and related tools
	helping developers and systems administrators accelerate the creation
	of stable, modern web applications, using dynamic languages, such as
	PHP, Ruby on Rails, and Python.
	</p>
	<p>
	Access to the Web and Scripting Module is included in your SUSE Linux
	Enterprise Server subscription. The module has a different lifecycle
	than SUSE Linux Enterprise Server itself: Package versions in the this
	module are usually supported for at most three years. We are planning
	to release more recent versions on a schedule of approximately 18
	month; the exact dates may differ per package.
	</p>

%files cd
%defattr(-,root,root)
%doc %{_defaultdocdir}/sle-module-web-scripting-release-cd

%package POOL
License:        BSD-3-Clause
Group:          System/Fhs
Provides:       product_flavor()
Provides:       flavor(POOL)
Provides:       product_flavor(sle-module-web-scripting) = 12-0
Summary:        Web and Scripting Module

%description POOL
<p>
	The SUSE Linux Enterprise Web and Scripting Module delivers a
	comprehensive suite of scripting languages, frameworks, and related tools
	helping developers and systems administrators accelerate the creation
	of stable, modern web applications, using dynamic languages, such as
	PHP, Ruby on Rails, and Python.
	</p>
	<p>
	Access to the Web and Scripting Module is included in your SUSE Linux
	Enterprise Server subscription. The module has a different lifecycle
	than SUSE Linux Enterprise Server itself: Package versions in the this
	module are usually supported for at most three years. We are planning
	to release more recent versions on a schedule of approximately 18
	month; the exact dates may differ per package.
	</p>

%files POOL
%defattr(-,root,root)
%doc %{_defaultdocdir}/sle-module-web-scripting-release-POOL



%prep

%build


%install
mkdir -p $RPM_BUILD_ROOT/etc/products.d
cat >$RPM_BUILD_ROOT/etc/products.d/sle-module-web-scripting.prod << EOF
<?xml version="1.0" encoding="UTF-8"?>
<product schemeversion="0">
  <vendor>SUSE</vendor>
  <name>sle-module-web-scripting</name>
  <version>12</version>
  <baseversion>12</baseversion>
  <patchlevel>0</patchlevel>
  <release>0</release>
  <endoflife>2017-10-31</endoflife>
  <arch>%{_target_cpu}</arch>
  <cpeid>cpe:/o:suse:sle-module-web-scripting:12</cpeid>
  <productline>sle-module-web-scripting</productline>
  <register>
%ifarch x86_64
      <target>sle-12-x86_64</target>
%endif
%ifarch s390x
      <target>sle-12-s390x</target>
%endif
%ifarch ppc64le
      <target>sle-12-ppc64le</target>
%endif
    <flavor>module</flavor>
    <updates>
%ifarch x86_64
      <repository repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Web-Scripting:12:x86_64/update" />
%endif
%ifarch s390x
      <repository repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Web-Scripting:12:s390x/update" />
%endif
%ifarch ppc64le
      <repository repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Web-Scripting:12:ppc64le/update" />
%endif
%ifarch x86_64
      <repository repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Web-Scripting:12:x86_64/update_debug" />
%endif
%ifarch s390x
      <repository repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Web-Scripting:12:s390x/update_debug" />
%endif
%ifarch ppc64le
      <repository repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Web-Scripting:12:ppc64le/update_debug" />
%endif
    </updates>
  </register>
  <upgrades />
  <summary>Web and Scripting Module</summary>
  <shortsummary>Web-and-Scripting-module</shortsummary>
  <description>&lt;p&gt;
	The SUSE Linux Enterprise Web and Scripting Module delivers a
	comprehensive suite of scripting languages, frameworks, and related tools
	helping developers and systems administrators accelerate the creation
	of stable, modern web applications, using dynamic languages, such as
	PHP, Ruby on Rails, and Python.
	&lt;/p&gt;
	&lt;p&gt;
	Access to the Web and Scripting Module is included in your SUSE Linux
	Enterprise Server subscription. The module has a different lifecycle
	than SUSE Linux Enterprise Server itself: Package versions in the this
	module are usually supported for at most three years. We are planning
	to release more recent versions on a schedule of approximately 18
	month; the exact dates may differ per package.
	&lt;/p&gt;</description>
  <urls>
    <url name="bugtracker">https://bugzilla.novell.com/</url>
  </urls>
  <buildconfig>
    <producttheme>SLES</producttheme>
  </buildconfig>
  <installconfig>
    <defaultlang>en_US</defaultlang>
    <datadir>suse</datadir>
    <descriptiondir>suse/setup/descr</descriptiondir>
    <releasepackage name="%{name}" flag="EQ" version="%{version}" release="%{release}" />
    <distribution>SUSE_SLE</distribution>
  </installconfig>
  <runtimeconfig />
  <productdependency relationship="requires" name="SLES" baseversion="12" patchlevel="0" flag="GE" />
</product>

EOF

mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/sle-module-web-scripting-release-cd
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/sle-module-web-scripting-release-cd/README << EOF
This package only exists for providing the product flavor 'cd'.

EOF

mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/sle-module-web-scripting-release-POOL
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/sle-module-web-scripting-release-POOL/README << EOF
This package only exists for providing the product flavor 'POOL'.

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