Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
skelcd-openSUSE
skelcd-openSUSE-non-OSS.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File skelcd-openSUSE-non-OSS.spec of Package skelcd-openSUSE
# # spec file for package skelcd-openSUSE-non-OSS # # Copyright (c) 2015 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-openSUSE-non-OSS BuildRequires: build-key %ifarch %ix86 x86_64 %bcond_without java %else %bcond_with java %endif %if %{with java} BuildRequires: release-notes-openSUSE %endif BuildRequires: recode Conflicts: skelcd-SUSE_Linux skelcd-SUSE_Linux-AddOn skelcd-sles skelcd-sled skelcd-openSUSE-non-OSS skelcd-openSUSE-non-OSS-CD Version: 2014.06.04 Release: 0 Summary: Skeleton for openSUSE OSS Media Sets License: MIT Group: Metapackages BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: skelcd.tar.bz2 Source2: README Source5: license-SL.tar.bz2 Source7: skelcd-openSUSE-rpmlintrc # changed by pre_checkin %define is_non_oss 1 # define our version %define distribution_version Leap 42.1 %description Internal package only, used for openSUSE OSS Media sets %if !%is_non_oss %package CD Summary: Skeleton for openSUSE OSS Media Sets Group: Metapackages Conflicts: skelcd-SUSE_Linux skelcd-SUSE_Linux-AddOn skelcd-sles skelcd-sled skelcd-openSUSE-non-OSS skelcd-openSUSE-non-OSS-DVD skelcd-openSUSE-non-OSS-CD skelcd-openSUSE skelcd-openSUSE-FTP skelcd-openSUSE-CD-KDE skelcd-openSUSE-CD-GNOME %description CD Internal package only, used for openSUSE OSS Media sets %endif %prep %setup -n skelcd %if !%is_non_oss tar xvf %{S:5} %endif %build %install # for now ... begin BUILD_DISTRIBUTION_VERSION="%distribution_version" # for now ... end test -e /.buildenv && . /.buildenv %if !%is_non_oss mkdir -p $RPM_BUILD_ROOT/CD1/docu %endif mkdir -p $RPM_BUILD_ROOT/CD1/boot cp READMEs/* $RPM_BUILD_ROOT/CD1/ install -m 644 /usr/lib/rpm/gnupg/keys/*.asc $RPM_BUILD_ROOT/CD1/ %ifarch ppc rm -fv $RPM_BUILD_ROOT/CD1/SuSEgo.ico %endif DATE_ENG=`date +"%%Y/%%m/%%d"` pwd ls -la for i in README ; do sed -e "s@#DATE#@$DATE_ENG@" \ -e"s@#VERSION#@$BUILD_DISTRIBUTION_VERSION@g" $RPM_SOURCE_DIR/$i \ > $RPM_BUILD_ROOT/CD1/$i # but Mac linebreaks %ifarch ppc 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 %if !%is_non_oss # # Copy the right README.BETA or LICENSE.TXT file # Note: kiwi will remove README.BETA for final product. # # this is just a template rm license-SL/license.translate.txt # Add infos to license files for i in license-SL/license*; do sed -i -e "s@#DATE#@$DATE_ENG@" \ -e"s@#VERSION#@$BUILD_DISTRIBUTION_VERSION@g" $i done pushd license-SL touch no-acceptance-needed tar cvzf license.tar.gz --owner=root --group=root *txt no-acceptance-needed cp license.tar.gz $RPM_BUILD_ROOT/CD1/ popd %if %{with java} # docudir stuff # # Install release notes as HTML and rtf (yast rtf) pages # cp -p /usr/share/doc/release-notes/openSUSE/RELEASE-NOTES.en.html $RPM_BUILD_ROOT/CD1/docu/RELEASE-NOTES.en.html cp -p /usr/share/doc/release-notes/openSUSE/RELEASE-NOTES.en.rtf $RPM_BUILD_ROOT/CD1/docu/RELEASE-NOTES.en.rtf %endif %endif %files %defattr(644,root,root,755) /CD1 %if !%is_non_oss %doc /CD1/docu/ %files CD %defattr(644,root,root,755) /CD1 %exclude /CD1/docu %ifnarch ppc %exclude /CD1/SuSEgo.ico %endif %endif %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