2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-21 17:11:45 +00:00
xcat-dep/fping/fping.spec

35 lines
613 B
RPMSpec

Source: fping.tar.gz
#Patch: fping.patch
Release: 1
AutoReq: true
AutoProv: true
BuildRoot: %{_tmppath}/fping-2.4b2-root
Name: fping
Version: 2.4b2_to
Group: System/Utilities
License: Stanford
Summary: Pings hosts in parallel
URL: http://fping.sourceforge.net/
%Description
fping pings hosts in parallel
%Prep
%setup -q
#%patch
%Build
make
%Install
mkdir -p $RPM_BUILD_ROOT/usr/bin
cp fping $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man8/
cp fping.8 $RPM_BUILD_ROOT/usr/share/man/man8/
pwd
echo $RPM_BUILD_ROOT
%Files
%defattr(-,root,root)
/usr/bin/fping
/usr/share/man/man8/fping.8.gz