mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-24 18:40:05 +00:00
35 lines
614 B
RPMSpec
35 lines
614 B
RPMSpec
|
Source: fping-2.2b1.tar.gz
|
||
|
Patch: fping.patch
|
||
|
Release: 1
|
||
|
AutoReq: true
|
||
|
AutoProv: true
|
||
|
BuildRoot: %{_tmppath}/fping-2.2b1-root
|
||
|
|
||
|
Name: fping
|
||
|
Version: 2.2b1
|
||
|
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
|