Summary: TFTP-server RPM for atftp 0.4
Name: atftp
Version: 0.4
Release: 1
Copyright: GPL
Vendor: Linux Networx Inc.
Source: /usr/src/redhat/SOURCES/atftp-0.4.tar.gz
Group: Applications/Internet
Buildroot: /var/tmp/atftp-buildroot
Packager: Allen Reese <areese@lnxi.com>

%description
>From the README:
atftp stands for Advanced Trivial File Transfer Protocol. It is called
"advanced", by contrast to others TFTP servers, for two reasons.
Firstly, it is intended to be fully compliant with all related
RFCs. This include RFC1350, RFC2090, RFC2347, RFC2348 and RFC2349. To
my knowledge, there is no TFTP server currently available in the
public domain that fulfills this requirement. Secondly, atftp is
intended for serving boot files to large clusters. It is
multi-threaded and will eventually support multicast, allowing faster
boot of hundreds of machine simultaneously.


%prep
%setup
echo $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man8
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/sbin

%build
make

%Install
cp atftp.1 $RPM_BUILD_ROOT/usr/share/man/man1/
cp atftp $RPM_BUILD_ROOT/usr/bin/
cp tftpd.8 $RPM_BUILD_ROOT/usr/share/man/man8/in.tftpd.8
cp tftpd $RPM_BUILD_ROOT/usr/sbin/in.tftpd

%files
/usr/share/man/man1/atftp.1.gz
/usr/bin/atftp
/usr/share/man/man8/in.tftpd.8.gz
/usr/sbin/in.tftpd


%preun

%post

%clean
rm -rf $RPM_BUILD_ROOT

