# # spec file for package fping (Version 2.4b2) # # Copyright (c) 2004 SUSE LINUX AG, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://www.suse.de/feedback/ # # norootforbuild Name: fping URL: www.fping.com License: X11/MIT Group: Productivity/Networking/Diagnostic Autoreqprov: on Version: 2.4b2 Release: 1 Summary: A Program to Ping Multiple Hosts Source: %{name}-%{version}.tar.bz2 Patch: fping-2.4b2-fixwarnings.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description FPing is a Ping-like program which uses the Internet Control Message Protocol (ICMP) echo request to determine if a target host is responding. FPing differs from Ping in that you can specify any number of targets on the command line, or specify a file containing a list of targets to ping. Instead of sending pings to one target until it times out or replies, FPing will send out a ping packet and move on to the next target in a round-robin fashion. In the default mode, if a target replies, it is noted and removed from the list of targets to check; if a target does not respond within a certain time limit and/or retry limit it is designated as unreachable. FPing also supports sending a specified number of pings to a target, or looping indefinitely (as in Ping ). Unlike Ping, FPing is meant to be used in scripts. Its output is designed to be easy to parse. Authors: -------- Roland Schemers RL "Bob" Morgan %prep %setup -n fping-2.4b2_to %patch %build CFLAGS=$RPM_OPT_FLAGS \ ./configure --prefix=%{_prefix} --mandir=%{_mandir} make %install rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT/usr mandir=$RPM_BUILD_ROOT/%{_mandir} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog INSTALL README %doc %{_mandir}/man8/fping.8.gz /usr/sbin/fping %changelog -n fping * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri May 07 2004 - hmacht@suse.de - Upgrade to version 2.4b2 * Thu Apr 22 2004 - postadal@suse.cz - fixed gcc warnings * Tue Sep 17 2002 - ro@suse.de - removed bogus self-provides * Mon Jun 11 2001 - schwab@suse.de - Fix alignment problem properly. * Wed Jul 19 2000 - schwab@suse.de - Fix alignment problem. - Pass CFLAGS during configure run. * Thu Apr 13 2000 - nadvornik@suse.cz - added BuildRoot * Sat Feb 12 2000 - grimmer@suse.de - added Group tag to spec file - use version macro in spec file - added full URL to Source tag - use _mandir macro in spec file - added CXXFLAGS to %%build section * Mon Sep 13 1999 - bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Thu Apr 22 1999 - ro@suse.de - fixed for alpha * Fri Jan 29 1999 - grimmer@suse.de - new Package (Version 2.2b1)