2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-25 19:08:31 +00:00
xcat-dep/gpxe/gpxe-xcat.spec

41 lines
834 B
RPMSpec
Raw Normal View History

2008-11-02 20:08:46 +00:00
Name: gpxe-xcat
Summary: gPXE - UNDI package
Group: System Environment/Daemons
Version: 0.9.5
Release: 1
License: GPL
BuildRoot: %{_tmppath}/%{pkg}-buildroot
BuildArch: noarch
Source: gpxe-0.9.5.tar.bz2
Patch: register-iscsi-on-tftp.patch
Packager: Jarrod Johnson <jbj-xd@ura.dnsalias.org>
%description
A network bootloader supporting several different protocols. xCAT uses it to provide RFC4173 capability for any PXE compliant x86 system.
%prep
%setup -n gpxe-0.9.5
%patch -p1
%build
make -C src bin/undionly.kpxe
%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != '/' ] && rm -rf $RPM_BUILD_ROOT
mkdir -p "$RPM_BUILD_ROOT"/tftpboot
cp src/bin/undionly.kpxe "$RPM_BUILD_ROOT"/tftpboot/
%files
/tftpboot/undionly.kpxe
%clean
%changelog
* Sat Nov 01 2008 Jarrod Johnson <jbj-xd@ura.dnsalias.org>
- Initial packaging