Christopher Meng 25062c4
Name:           2ping
Christopher Meng 25062c4
Version:        2.0
ce640ba
Release:        4%{?dist}
Christopher Meng 25062c4
Summary:        Bi-directional ping utility
Christopher Meng 25062c4
License:        GPLv2+
Koji 66a7c30
URL:            http://www.finnie.org/software/2ping
Christopher Meng 25062c4
Source0:        http://www.finnie.org/software/%{name}/%{name}-%{version}.tar.gz
c753a11
BuildArch:      noarch
Christopher Meng 25062c4
Requires:       perl(Digest::CRC)
Christopher Meng 25062c4
Requires:       perl(Digest::MD5)
Christopher Meng 25062c4
Requires:       perl(Digest::SHA)
Christopher Meng 25062c4
Requires:       perl(IO::Socket::INET6)
c753a11
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Christopher Meng 25062c4
Christopher Meng 25062c4
%description
Christopher Meng 25062c4
2ping is a bi-directional ping utility. It uses 3-way pings (akin to TCP SYN, 
c753a11
SYN/ACK, ACK) and after-the-fact state comparison between a 2ping listener and
c753a11
a 2ping client to determine which direction packet loss occurs.
Christopher Meng 25062c4
Christopher Meng 25062c4
%prep
Christopher Meng 25062c4
%setup -q
Christopher Meng 25062c4
Christopher Meng 25062c4
%build
Christopher Meng 25062c4
make EXTRAVERSION=-%{release} %{?_smp_mflags}
Christopher Meng 25062c4
Christopher Meng 25062c4
%install
Christopher Meng 25062c4
make install PREFIX=%{_prefix} DESTDIR=%{buildroot}
Christopher Meng 25062c4
Christopher Meng 25062c4
%files
Christopher Meng 25062c4
%doc ChangeLog COPYING README
Christopher Meng 25062c4
%{_bindir}/2ping
Christopher Meng 25062c4
%{_bindir}/2ping6
Christopher Meng 25062c4
%{_mandir}/man8/2ping.8*
Christopher Meng 25062c4
%{_mandir}/man8/2ping6.8*
Christopher Meng 25062c4
Christopher Meng 25062c4
%changelog
ce640ba
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-4
ce640ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ce640ba
baf8515
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-3
baf8515
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
baf8515
Koji 66a7c30
* Tue Aug 13 2013 Christopher Meng <rpm@cicku.me> - 2.0-2
Koji 66a7c30
- Perl 5.18 Rebuild.
Koji 66a7c30
Christopher Meng 25062c4
* Thu May 17 2012 Christopher Meng <rpm@cicku.me> - 2.0-1
Christopher Meng 25062c4
- Initial Package.