File i386-rescue.spec of Package i386-rescue
#
# spec file for package i386-rescue (Version 2004.6.13)
#
# Copyright (c) 2008 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: i386-rescue
License: YaST License
Group: Metapackages
AutoReqProv: off
Version: 2004.6.13
Release: 9
Summary: i386 SUSE Rescue System Files for Non-i386 Distributions
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# these files come from the current intel CD1/suse/images
Source: i386-rescue-%{version}.tar.gz
Source1: README.RESCUE
ExclusiveArch: s390 s390x
%description
This is a meta package and needs not be on CD.
It contains the few files needed to allow booting a non-Intel (e.g.,
s390) CD on an Intel PC to set it up as a reliable SUSE Linux NFS
server. This may be very useful to help customers to install via NFS.
SuSE series: meta
%prep
%setup
%build
%ifnarch s390 s390x
cat <<EOF
this package is for the s390 and s390x architectures only.
go away, $RPM_ARCH!
EOF
exit 1
%endif
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/CD1/boot
cp -pvr boot/ $RPM_BUILD_ROOT/CD1
%files
%defattr(-,root,root)
/CD1
%changelog
* Thu Aug 07 2008 ro@suse.de
- fix build and use exclusive-arch
* Mon Apr 21 2008 wengel@suse.de
- changed path for isolinux with:
isolinux-config --base /boot/i386/loader boot/i386/loader/isolinux.bin
* Tue Feb 07 2006 uli@suse.de
- moved to i386 subdirectory, added rescueimage=/boot/i386/rescue
to isolinux.cfg
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue May 17 2005 wengel@suse.de
- added missing files (/etc/sysconfig/autofs, /etc/nsswitch.conf)
* Tue May 10 2005 ro@suse.de
- adapt pathes to /CD1
* Mon Apr 18 2005 wengel@suse.de
- added support for automount
* Tue Jun 22 2004 wengel@suse.de
- updated rescue system (from SUSE LINUX 9.1)
* Wed Jun 16 2004 wengel@suse.de
- fixed again directory structure
* Fri Jun 04 2004 wengel@suse.de
- fixed new directory structure for rescue system
* Mon Nov 10 2003 uli@suse.de
- don't pack /boot directory
* Mon Sep 23 2002 froh@suse.de
- renamed boot to image in README.RESCUE and the spec file
- fixed file locations
- deliberately stood with old version, which for sure contains all we
need and does not require retesting
* Thu May 31 2001 froh@suse.de
- created package