Name: rpld
Version: 1.8
Release: 0.1.beta1%{?dist}
Summary: RPL/RIPL remote boot daemon
Group: System Environment/Daemons
License: GPL
URL: http://gimel.esc.cam.ac.uk/james/rpld/index.html
Source0: http://gimel.esc.cam.ac.uk/james/rpld/src/rpld-1.8-beta-1.tar.gz
Patch0: rpld_1.8beta1-6.diff.gz
Patch1: rpld-1.8-makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: byacc flex
%description
Daemon to net-boot IBM style RPL boot ROMs (this is not the
same as the Novell IPX-style RPL protocol, despite the
name).
%prep
%setup -q
%patch0 -p1
for I in debian/patches/* ;
do
patch -p1 -i ${I}
done
%patch1 -p1
%build
make OPT="$RPM_OPT_FLAGS" %{?_smp_mflags}
make OPT="$RPM_OPT_FLAGS" %{?_smp_mflags}
mv LICENCE LICENSE
%install
rm -rf $RPM_BUILD_ROOT
# mkdir -p $RPM_BUILD_ROOT/usr/{sbin,share/man/man{8,5}}
mkdir -p $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{8,5}}
make install DESTDIR=$RPM_BUILD_ROOT BINMODE=755 MANMODE=644
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README LICENSE INSTALL rpld.conf.sample
%{_sbindir}/*
%{_mandir}/man[^3]/*
%changelog
* Sat Oct 14 2006 Paul P Komkoff Jr <i@stingr.net> - 1.8-0.1.beta1
- Preparing for submission to fedora extras