Created
October 1, 2015 03:55
-
-
Save tkuchiki/4b7e22afedc5108e1f34 to your computer and use it in GitHub Desktop.
tcpstat.spec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Summary: Reports certain network interface statistics | |
Name: tcpstat | |
Version: 1.5 | |
Release: 1%{?dist} | |
License: NSD | |
Group: Applications/Internet | |
URL: http://www.frenchfries.net/paul/tcpstat/ | |
Source: http://www.frenchfries.net/paul/tcpstat/tcpstat-%{version}.tar.gz | |
BuildRequires: libpcap-devel | |
%description | |
tcpstat reports certain network interface statistics much like vmstat does | |
for system statistics. | |
tcpstat gets its information by either monitoring a specific interface, or | |
by reading previously saved tcpdump data from a file. | |
%prep | |
%setup | |
%build | |
%configure | |
%{__make} %{?_smp_mflags} | |
%install | |
%{__rm} -rf %{buildroot} | |
%{__make} install DESTDIR="%{buildroot}" | |
%files | |
%defattr(-, root, root, 0755) | |
%doc AUTHORS COPYING INSTALL LICENSE NEWS README doc/Tips_and_Tricks.txt | |
%doc %{_mandir}/man1/tcpprof.1* | |
%doc %{_mandir}/man1/tcpstat.1* | |
%{_bindir}/tcpstat | |
%clean | |
%{__rm} -rf %{buildroot} | |
%changelog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment