Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
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 (Version 2010.12.5) # # Copyright (c) 2010 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/ # # norootforbuild Name: skelcd-openSUSE-non-OSS BuildRequires: build-key opensuse-startup_de-pdf opensuse-startup_en-pdf recode release-notes-openSUSE %ifarch %ix86 x86_64 BuildRequires: instlux-local pinentry-gtk2 %endif License: YaST Group: Metapackages Conflicts: skelcd-SUSE_Linux skelcd-SUSE_Linux-AddOn skelcd-sles skelcd-sled skelcd-openSUSE-non-OSS skelcd-openSUSE-non-OSS-CD AutoReqProv: off Version: 2010.12.5 Release: 1 Summary: Skeleton for openSUSE OSS Media Sets 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 11.4 %description Internal package only, used for openSUSE OSS Media sets %if !%is_non_oss %package CD License: YaST 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 mkdir -p $RPM_BUILD_ROOT/CD1/{boot,docu} 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 ) %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 # # 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 %endif # docudir stuff # # SuSE manuals # # The SUSE Linux Manuals (PDF) # cp /usr/share/doc/manual/opensuse-startup_de-pdf/opensuse-startup_de.pdf $RPM_BUILD_ROOT/CD1/docu/startup_de.pdf cp /usr/share/doc/manual/opensuse-startup_en-pdf/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 # uncomment for final #rm $RPM_BUILD_ROOT/CD1/README.BETA* %files %defattr(644,root,root,755) /CD1 %if !%is_non_oss %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