%define name fping %define version 2.4b2 %define release %mkrel 7 Summary: Quickly ping N number of hosts to determine their reachability Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Networking/Other URL: http://www.fping.com/ Source0: fping-2.4b2_to-ipv6.tar.bz2 Patch0: fping-2.4b2_to-ipv6-debian_fix.diff.bz2 BuildRequires: autoconf2.5 BuildRequires: automake1.7 BuildRoot: %{_tmppath}/%{name}-root %description fping is a ping(1) like program which uses the Internet Control Message Protocol (ICMP) echo request to determine if a host is up. fping is different from ping in that you can specify any number of hosts on the command line, or specify a file containing the lists of hosts to ping. Instead of trying one host until it timeouts or replies, fping will send out a ping packet and move on to the next host in a round-robin fashion. If a host replies, it is noted and removed from the list of hosts to check. If a host does not respond within a certain time limit and/or retry limit it will be considered unreachable. %prep %setup -q -n fping-2.4b2_to-ipv6 %patch0 -p0 # fix strange perms chmod 644 README INSTALL ChangeLog %build export WANT_AUTOCONF_2_5="1" rm -f configure; libtoolize --copy --force; aclocal-1.7; automake-1.7 --add-missing; autoconf %configure2_5x \ --bindir=/bin \ --sbindir=/bin %make %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %makeinstall_std %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-, root, root) %doc README INSTALL ChangeLog %attr(4755, root, root) /bin/fping %{_mandir}/man8/fping.8* %changelog * Mon Jun 06 2005 Nicolas Lécureuil <neoclust@mandriva.org> 2.4b2-7mdk - Rebuild * Mon May 31 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.4b2-6mdk - use the fping-2.4b2_to-ipv6 source (ipv6 support) - added P1 from debian - misc spec file fixes * Thu Jul 10 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.4b2-5mdk - rebuild * Wed Jan 29 2003 Lenny Cartier <lenny@mandrakesoft.com> 2.4b2-4mdk - rebuild * Mon Jan 20 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.4b2-3mdk - build release - misc spec file fixes * Mon May 20 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.4b2-2mdk - rebuilt with gcc3.1 * Fri Sep 14 2001 Lenny Cartier <lenny@mandrakesoft.com> 2.4b2-1mdk - added by Oden Eriksson <oden.eriksson@kvikkjokk.net> : - update to 2.4b2 - added ugly hack (patch0) - initial cooker contrib * Thu Aug 10 2000 Edward S. Marshall <emarshal@logic.net> - Created initial RPM. Warning: this RPM installs fping setuid root; this may not be what you want!