Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
skelcd-sles
skelcd-sles.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File skelcd-sles.spec of Package skelcd-sles
# # spec file for package skelcd-sles # # Copyright (c) 2014 SUSE LINUX Products 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/ # # release is a beta %define beta 0 Name: skelcd-sles BuildRequires: recode BuildRequires: release-notes-sles BuildRequires: sles-admin_de-pdf BuildRequires: sles-admin_en-pdf BuildRequires: sles-admin_ja-pdf BuildRequires: sles-admin_zh_CN-pdf BuildRequires: sles-admin_zh_TW-pdf BuildRequires: sles-deployment_de-pdf BuildRequires: sles-deployment_en-pdf BuildRequires: sles-deployment_ja-pdf BuildRequires: sles-deployment_zh_CN-pdf BuildRequires: sles-deployment_zh_TW-pdf BuildRequires: sles-installquick_ar-pdf BuildRequires: sles-installquick_cs-pdf BuildRequires: sles-installquick_de-pdf BuildRequires: sles-installquick_en-pdf BuildRequires: sles-installquick_es-pdf BuildRequires: sles-installquick_fr-pdf BuildRequires: sles-installquick_hu-pdf BuildRequires: sles-installquick_it-pdf BuildRequires: sles-installquick_ja-pdf BuildRequires: sles-installquick_ko-pdf BuildRequires: sles-installquick_pl-pdf BuildRequires: sles-installquick_pt_BR-pdf BuildRequires: sles-installquick_ru-pdf BuildRequires: sles-installquick_zh_CN-pdf BuildRequires: sles-installquick_zh_TW-pdf BuildRequires: sles-storage_en-pdf BuildRequires: suse-build-key BuildRequires: w3m %if 0%{?beta} == 1 %define license_dir license.beta %else %define license_dir license.final %endif AutoReqProv: off Version: 2014.1.15 Release: 0 Summary: CD skeleton License: GPL-2.0 Group: Metapackages BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: skelcd.tar.bz2 Source2: README Source3: README.BETA Source4: README.manual %description Internal package only. %prep %setup -n skelcd -q %build %install mkdir -p $RPM_BUILD_ROOT/CD1/boot cp READMEs/* $RPM_BUILD_ROOT/CD1/ test -s /usr/lib/rpm/gnupg/pubring.gpg || exit 1 cp -v /usr/lib/rpm/gnupg/pubring.gpg $RPM_BUILD_ROOT/CD1/ (cd $RPM_BUILD_ROOT/CD1 ; /usr/lib/rpm/gnupg/dumpsigs ./pubring.gpg >/dev/null 2>&1 ; /usr/lib/rpm/gnupg/dumpsigs ./pubring.gpg ) for i in README \ %if %{?beta} == 1 README.BETA \ %endif ; do cp -pv $RPM_SOURCE_DIR/$i $RPM_BUILD_ROOT/CD1/$i # no DOS for ppc %ifarch ppc # but Mac linebreaks cp $RPM_BUILD_ROOT/CD1/$i $RPM_BUILD_ROOT/CD1/$i.mac.txt recode utf8..mac $RPM_BUILD_ROOT/CD1/$i.mac.txt %endif done ## The newest way to do it... mkdir -p $RPM_BUILD_ROOT/CD1/media.1 pushd %license_dir ls -1 > directory.yast # required to allow downloading of yast licenses from SCC tar cvzf license.tar.gz --owner=root --group=root *txt directory.yast cp license.tar.gz $RPM_BUILD_ROOT/CD1/ popd # # Install NEWS file # w3m -dump /usr/share/doc/release-notes/SUSE_Linux_Enterprise_Server_12/RELEASE-NOTES.en.html > $RPM_BUILD_ROOT/CD1/NEWS # # Install PDF documentation # for i in ar cs de en es fr hu it ja ko pl pt_BR ru zh_CN zh_TW ; do mkdir -p $RPM_BUILD_ROOT/CD1/docu/$i for book in admin deployment installquick storage; do pdf="/usr/share/doc/manual/sles-${book}_$i-pdf/*.pdf" test -f $pdf && \ cp -av $pdf $RPM_BUILD_ROOT/CD1/docu/$i/${book}.pdf done # remove empty directories rmdir $RPM_BUILD_ROOT/CD1/docu/$i ||: done # XXX install $RPM_SOURCE_DIR/README.manual $RPM_BUILD_ROOT/CD1/docu/ # # Install release notes as HTML pages # cp -vp /usr/share/doc/release-notes/SUSE_Linux_Enterprise_Server_12/RELEASE-NOTES.en.* \ $RPM_BUILD_ROOT/CD1/docu/ w3m -dump $RPM_BUILD_ROOT/CD1/docu/RELEASE-NOTES.en.html > $RPM_BUILD_ROOT/CD1/docu/RELEASE-NOTES.en.txt %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %exclude /CD1/license.tar.gz /CD1 %package -n skelcd-EULA-sles Summary: EULA for media Group: Metapackages %description -n skelcd-EULA-sles Internal package only. %files -n skelcd-EULA-sles %defattr(644,root,root,755) /CD1/license.tar.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor