Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for images:x86_64
openSUSE:12.2
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) 2012 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/ # Name: skelcd-openSUSE-non-OSS BuildRequires: build-key %ifarch %ix86 x86_64 BuildRequires: opensuse-startup_de-pdf BuildRequires: opensuse-startup_en-pdf %endif BuildRequires: recode BuildRequires: release-notes-openSUSE %ifarch %ix86 x86_64 BuildRequires: instlux-local BuildRequires: pinentry-gtk2 %endif Conflicts: skelcd-SUSE_Linux skelcd-SUSE_Linux-AddOn skelcd-sles skelcd-sled skelcd-openSUSE-non-OSS skelcd-openSUSE-non-OSS-CD Version: 2011.11.1 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 12.2 %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 %else INSTLUX="" if [ -d /CD1 ]; then INSTLUX_AVAIL=$(ls /CD1/openSUSE*LOCAL.exe) if [ x"$INSTLUX_AVAIL" != x"" ]; then INSTLUX="open = $(basename $INSTLUX_AVAIL)" fi fi echo "[autorun]" >> $RPM_BUILD_ROOT/CD1/autorun.inf echo "label = openSUSE $BUILD_DISTRIBUTION_VERSION" >> $RPM_BUILD_ROOT/CD1/autorun.inf echo "icon = susego.ico" >> $RPM_BUILD_ROOT/CD1/autorun.inf echo "$INSTLUX" >> $RPM_BUILD_ROOT/CD1/autorun.inf recode utf8..dos $RPM_BUILD_ROOT/CD1/autorun.inf %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@" $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. # # 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@" $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 %ifarch %ix86 x86_64 # docudir stuff # # SUSE manuals # # The SUSE Linux Manuals (PDF) # cp %{_datadir}/doc/manual/opensuse-startup_de-pdf/* $RPM_BUILD_ROOT/CD1/docu/startup_de.pdf cp %{_datadir}/doc/manual/opensuse-startup_en-pdf/* $RPM_BUILD_ROOT/CD1/docu/startup_en.pdf # # 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 %exclude /CD1/autorun.inf %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