fping/fping.spec

114 lines
3.4 KiB
RPMSpec

#
# spec file for package fping (Version 2.4b2)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: fping
Url: http://www.fping.com
License: X11/MIT
Group: Productivity/Networking/Diagnostic
AutoReqProv: on
Version: 2.4b2
Release: 138
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 that 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 sends a ping packet and moves 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 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 <schemers@stanford.edu>
RL "Bob" Morgan <morgan@stanford.edu>
%prep
%setup -n fping-2.4b2_to
%patch
# fix the Changelog
tr -d '\r' < ChangeLog > ChangeLog.new
mv ChangeLog.new ChangeLog
%build
%configure
make %{?jobs:-j%jobs}
%install
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc ChangeLog COPYING README
%doc %{_mandir}/man8/fping.8.gz
%_sbindir/fping
%changelog
* Fri Feb 08 2008 lrupp@suse.de
- convert the Changelog to Unix
- add COPYING, remove INSTALL from docudir
- use macros
- build parallel
* 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)