File skelcd-sap-apl.spec of Package skelcd-sap-apl
#
# spec file for package skelcd-sap-apl
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: skelcd-sap-apl
AutoReqProv: off
Version: 2016.10.05
Release: 0
Summary: CD Skeleton for SLES SAP Applications
License: GPL-2.0
Group: SUSE internal
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: skelcd.tar.bz2
%description
CD skeleton for SLES_SAP containing:
* modified control.xml:
- start sap-start modul to decide which product installation is required
* modified sap-control.xml:
- start sap-start modul to decide which product installation is required
- do not create other user then root
- start inst_sap at the end to be able to start sap-firstboot
* in sap-apl we provide dud-file and autoinst.xml
for compatibility reason
Authors:
--------
varkoly@suse.de
%prep
%setup -n skelcd -q
%build
%install
mkdir -p $RPM_BUILD_ROOT/CD1/
cp -a control.xml $RPM_BUILD_ROOT/CD1/
cp -a sap-control.xml $RPM_BUILD_ROOT/CD1/
cp READMEs/* $RPM_BUILD_ROOT/CD1/
mkdir $RPM_BUILD_ROOT/CD1/lic
mv $RPM_BUILD_ROOT/CD1/license*txt $RPM_BUILD_ROOT/CD1/lic
pushd $RPM_BUILD_ROOT/CD1/lic
ls -1 > directory.yast
tar cvzf $RPM_BUILD_ROOT/CD1/license.tar.gz --owner=root --group=root *txt directory.yast
popd
rm -rf $RPM_BUILD_ROOT/CD1/lic
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%exclude /CD1/license.tar.gz
/CD1
%package -n skelcd-EULA-sap-apl
Summary: EULA for media
Group: Metapackages
%description -n skelcd-EULA-sap-apl
Internal package only.
%files -n skelcd-EULA-sap-apl
%defattr(644,root,root,755)
/CD1/license.tar.gz
%changelog