2008-01-15 16:44:56 +00:00
|
|
|
%define pkg yaboot-xcat
|
2011-06-27 14:50:44 +00:00
|
|
|
%define ver 1.3.17
|
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
|
2011-06-27 14:50:44 +00:00
|
|
|
%define _binaries_in_noarch_packages_terminate_build 0
|
2008-01-15 16:44:56 +00:00
|
|
|
Name: %{pkg}
|
|
|
|
Version: %{ver}
|
2011-06-27 14:50:44 +00:00
|
|
|
Release: rc1
|
2008-01-15 16:44:56 +00:00
|
|
|
Group: System/Administration
|
|
|
|
License: GPL2
|
|
|
|
URL: http://yaboot.ozlabs.org/
|
2011-06-27 14:50:44 +00:00
|
|
|
Source: yaboot-%{ver}-rc1.tar.gz
|
|
|
|
Patch0: yaboot-32bitbuild.patch
|
|
|
|
#Patch1: yaboot-debug.patch
|
|
|
|
#Patch2: yaboot-move_kernel.patch
|
|
|
|
Patch3: yaboot-sanedhcppriority.patch
|
|
|
|
Patch4: yaboot-promclaim.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}
|
2011-06-27 14:50:44 +00:00
|
|
|
%setup -q -n yaboot-%{ver}-rc1
|
2009-03-31 09:19:32 +00:00
|
|
|
%patch0 -p1
|
2011-06-27 14:50:44 +00:00
|
|
|
#%patch1 -p1
|
|
|
|
#%patch2 -p1
|
2010-05-25 13:12:47 +00:00
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
2011-06-27 14:50:44 +00:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|