49 lines
901 B
RPMSpec
49 lines
901 B
RPMSpec
Name: fping
|
|
Version: 4.2
|
|
Release: 3
|
|
Summary: fping is a program to send ICMP echo probes to network hosts
|
|
License: BSD like
|
|
URL: http://www.fping.org/
|
|
Source0: http://www.fping.org/dist/%{name}-%{version}.tar.gz
|
|
Patch0: gcc-10.patch
|
|
|
|
BuildRequires: gcc
|
|
|
|
%description
|
|
fping is a program to send ICMP echo probes to network hosts, similar to ping, but much better performing when pinging multiple hosts
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}/
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%pre
|
|
%preun
|
|
%post
|
|
%postun
|
|
|
|
%check
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc INSTALL CHANGELOG.md
|
|
%{_sbindir}/*
|
|
%{_mandir}/*
|
|
|
|
%changelog
|
|
* Wed Sep 8 2021 caodongxia <caodongxia@huawei.com> - 4.2-3
|
|
- Add debug package to add strip
|
|
|
|
* Fri Jul 30 2021 linjiaxin5 <linjiaxin5@huawei.com> - 4.2-2
|
|
- Fix failure caused by GCC upgrade to 10
|
|
|
|
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
|
- Package init
|
|
|