Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
skelcd-suse-manager-retail-branch-server
skelcd-suse-manager-retail-branch-server.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File skelcd-suse-manager-retail-branch-server.spec of Package skelcd-suse-manager-retail-branch-server
# # spec file for package skelcd-suse-manager-retail-branch-server # # Copyright (c) 2019 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/ # %define PRODUCT_PATH_REL_NOTES SUSE_Manager_Proxy %define PRODUCT SUSE-Manager-Retail-Branch-Server %define product suse-manager-retail-branch-server # release is a beta %define beta 0 %if 0%{?beta} == 1 %define license_dir license.beta %else %define license_dir license.final %endif # SLE15 uses different paths %if 0%{?suse_version} > 1320 %define skelcd1_path usr/lib/skelcd/CD1 %else %define skelcd1_path CD1 %endif Name: skelcd-%{product} BuildRequires: release-notes-susemanager-proxy BuildRequires: suse-build-key BuildRequires: w3m AutoReqProv: off Version: 2019.07.05 Release: 0 Summary: Skeleton package for SUSE Manager Retail Branch Server License: GPL-2.0-only Group: Metapackages BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: skelcd.tar.bz2 Source2: README Source3: README.BETA # please repo-checker (bsc#1089174) Provides: skelcd = %{version} Conflicts: otherproviders(skelcd) ExcludeArch: aarch64 %description skeleton package for SUSE Manager Retail Branch Server %package -n skelcd-EULA-%{product} Summary: EULA for media Group: Metapackages %description -n skelcd-EULA-%{product} Internal package only. %prep %setup -n skelcd -q %build %install mkdir -p $RPM_BUILD_ROOT/%{skelcd1_path}/boot cp READMEs/* $RPM_BUILD_ROOT/%{skelcd1_path}/ cp /usr/lib/rpm/gnupg/keys/* $RPM_BUILD_ROOT/%{skelcd1_path}/ for i in README \ %if %{?beta} == 1 README.BETA \ %endif ; do cp -pv $RPM_SOURCE_DIR/$i $RPM_BUILD_ROOT/%{skelcd1_path}/$i done ## The new way to do it... mkdir -p $RPM_BUILD_ROOT/%{skelcd1_path}/media.1 pushd %license_dir ls -1 > directory.yast # required for downloading of EULAs from SCC tar cvzf license-%{PRODUCT}.tar.gz --owner=root --group=root *txt directory.yast cp license-%{PRODUCT}.tar.gz $RPM_BUILD_ROOT/%{skelcd1_path}/ popd mkdir -p $RPM_BUILD_ROOT/%{skelcd1_path}/docu/ # # Install release notes from the proxy as HTML pages # cp -vp /usr/share/doc/release-notes/%{PRODUCT_PATH_REL_NOTES}/RELEASE-NOTES.en.* \ $RPM_BUILD_ROOT/%{skelcd1_path}/docu/ w3m -dump $RPM_BUILD_ROOT/%{skelcd1_path}/docu/RELEASE-NOTES.en.html > $RPM_BUILD_ROOT/%{skelcd1_path}/docu/RELEASE-NOTES.en.txt # #cp /usr/share/doc/manual/susemanager-advanced-topics_en-pdf/susemanager-advanced-topics_en.pdf $RPM_BUILD_ROOT/%{skelcd1_path}/docu/susemanager-advanced-topics_en.pdf %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %exclude /%{skelcd1_path}/license-%{PRODUCT}.tar.gz %dir /usr/lib/skelcd/ /%{skelcd1_path} %files -n skelcd-EULA-%{product} %defattr(644,root,root,755) /%{skelcd1_path}/license-%{PRODUCT}.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