2008-01-15 16:44:56 +00:00
|
|
|
%define pkg yaboot-xcat
|
2010-05-12 22:04:57 +00:00
|
|
|
%define ver 1.3.15
|
2008-01-15 16:44:56 +00:00
|
|
|
|
|
|
|
Summary: yaboot binary for tftp server
|
2010-05-17 14:45:00 +00:00
|
|
|
%define _binary_payload w9.bzdio
|
2008-01-15 16:44:56 +00:00
|
|
|
Name: %{pkg}
|
|
|
|
Version: %{ver}
|
2010-05-17 14:45:00 +00:00
|
|
|
Release: 05172010
|
2008-01-15 16:44:56 +00:00
|
|
|
Group: System/Administration
|
|
|
|
License: GPL2
|
|
|
|
URL: http://yaboot.ozlabs.org/
|
2010-05-17 14:45:00 +00:00
|
|
|
Source: yaboot-%{ver}-05122010.tar.gz
|
2010-05-12 22:04:57 +00:00
|
|
|
Patch0: yaboot-skipmac.patch
|
|
|
|
Patch1: yaboot-32bitbuild.patch
|
2010-05-17 14:45:00 +00:00
|
|
|
Patch5: yaboot-1.3.14-move_kernel.patch
|
2008-01-15 16:44:56 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{pkg}-buildroot
|
|
|
|
Prefix: %{_prefix}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a version of yaboot to facilitate an xCAT management node to boot
|
|
|
|
ppc nodes.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%{__rm} -rf %{buildroot}
|
2010-05-17 14:45:00 +00:00
|
|
|
%setup -q -n yaboot-%{ver}-05122010
|
2009-03-31 09:19:32 +00:00
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
2010-05-17 14:45:00 +00:00
|
|
|
%patch5 -p1
|
2008-01-15 16:44:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}/tftpboot/
|
|
|
|
cp second/yaboot %{buildroot}/tftpboot/
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/tftpboot/yaboot
|
|
|
|
|