2 # This spec file is for _testing_. You may use it (I do), but no warranty.
6 Summary: The ping program for checking to see if network hosts are alive.
11 Group: System Environment/Daemons
12 Source0: iputils-ss%{ssdate}.tar.bz2
14 BuildRoot: %{_tmppath}/%{name}-root
15 BuildPrereq: docbook-dtd31-sgml, perl
16 Requires: kernel >= 2.4.7
19 The iputils package contains ping, a basic networking tool. The ping
20 command sends a series of ICMP protocol ECHO_REQUEST packets to a
21 specified network host and can tell you if that machine is alive and
22 receiving network traffic.
33 rm -rf ${RPM_BUILD_ROOT}
35 mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
36 mkdir -p ${RPM_BUILD_ROOT}/{bin,sbin}
37 install -c clockdiff ${RPM_BUILD_ROOT}%{_sbindir}/
39 install -c arping ${RPM_BUILD_ROOT}/sbin/
40 ln -s ../../sbin/arping ${RPM_BUILD_ROOT}%{_sbindir}/arping
41 install -c ping ${RPM_BUILD_ROOT}/bin/
43 install -c arping ${RPM_BUILD_ROOT}%{_sbindir}/
44 install -c ping ${RPM_BUILD_ROOT}%{_sbindir}/
46 install -c ping6 ${RPM_BUILD_ROOT}%{_sbindir}/
47 install -c rdisc ${RPM_BUILD_ROOT}%{_sbindir}/
48 install -c tracepath ${RPM_BUILD_ROOT}%{_sbindir}/
49 install -c tracepath6 ${RPM_BUILD_ROOT}%{_sbindir}/
50 install -c traceroute6 ${RPM_BUILD_ROOT}%{_sbindir}/
52 mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
53 install -c doc/*.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
56 rm -rf ${RPM_BUILD_ROOT}
60 %doc RELNOTES doc/*.html
63 %attr(4755,root,root) /bin/ping
68 %attr(4755,root,root) %{_sbindir}/ping
70 %attr(4755,root,root) %{_sbindir}/ping6
72 %{_sbindir}/tracepath6
73 %attr(4755,root,root) %{_sbindir}/traceroute6
79 * Sat Feb 23 2001 Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
80 Taken iputils rpm from ASPLinux-7.2 as pattern.