Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 5ea65a149bae68535009610464c08566 > files > 2

sendip-2.5-1mdk.src.rpm

%define name sendip
%define version 2.5
%define release 1mdk

Summary: 	A command line tool to allow sending arbitrary IP packets
Name:    	%name
Version: 	%version
Release: 	%release
License: 	GPL
Group: 		Networking/Other
Source: 	http://www.earth.li/projectpurple/files/%name-%version.tar.gz
URL: 		http://www.earth.li/projectpurple/progs/sendip.html
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot


%description
A command line tool to send arbitrary IP packets. It has a large number of
command line options to specify the content of every header of a NTP, BGP,
RIP, RIPng, TCP, UDP, ICMP, or raw IPv4 or IPv6 packet.  It also allows any 
data to be added to the packet.

%prep
%setup -q 

%build
%make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
make PREFIX=$RPM_BUILD_ROOT/usr MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install

%clean
rm -fr $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_mandir}/man1/sendip.1*
%{_bindir}/sendip
%{_libdir}/sendip/*.so
%doc README CHANGES LICENSE TODO

%changelog
* Wed Jan 12 2004 Erwan Velu <velu@seanodes.com> 2.5-1mdk
- Initial mdk package