diff --git a/SPECS/tcping.spec b/SPECS/tcping.spec new file mode 100644 index 0000000..8320e33 --- /dev/null +++ b/SPECS/tcping.spec @@ -0,0 +1,97 @@ +Name: tcping +Version: 1.3.5 +Release: 19%{?dist} +Summary: Check of TCP connection to a given IP/Port + +License: LGPLv3+ +URL: http://www.linuxco.de/tcping/tcping.html +Source0: http://www.linuxco.de/%{name}/%{name}-%{version}.tar.gz + +%description +tcping does a TCP connect to the given ip/port combination. The user can +specify a timeout in seconds. This is useful in shell scripts running in +firewalled environments. Often SYNs are just being dropped by firewalls, +thus connection establishment will be retried several times (for minutes) +until a TCP timeout is reached. With tcping it is possible to check first +if the desired port is reachable and then start connection establishment. + +%prep +%setup -q + +%build +make CCFLAGS="%{optflags}" %{?_smp_mflags} + +%install +install -Dp -m 0755 %{name} %{buildroot}%{_bindir}/%{name} + +%files +%doc LICENSE README +%{_bindir}/%{name} + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.3.5-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.3.5-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.3.5-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.3.5-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 05 2016 Fedora Release Engineering - 1.3.5-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 1.3.5-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Aug 18 2014 Fedora Release Engineering - 1.3.5-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 1.3.5-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 1.3.5-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jun 26 2013 Fabian Affolter - 1.3.5-10 +- Spec file updated + +* Fri Feb 15 2013 Fedora Release Engineering - 1.3.5-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Nov 11 2012 Fabian Affolter - 1.3.5-8 +- Updated to match new guidelines + +* Sat Jul 21 2012 Fedora Release Engineering - 1.3.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.3.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sat Nov 26 2011 Fabian Affolter - 1.3.5-5 +- Rebuilt + +* Wed Feb 09 2011 Fedora Release Engineering - 1.3.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Jul 26 2009 Fedora Release Engineering - 1.3.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 1.3.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Dec 15 2008 Fabian Affolter - 1.3.5-1 +- Updated to 1.3.5 + +* Sun Dec 14 2008 Fabian Affolter - 1.3.4-3 +- Updated license to LGPLv3+. Upstream updated to LGPL. + +* Sat Dec 06 2008 Fabian Affolter - 1.3.4-2 +- Added compiler flags +- Changed license to GPL+ + +* Sat Nov 01 2008 Fabian Affolter - 1.3.4-1 +- Initial package for Fedora