diff --git a/README.md b/README.md index 13a06ee..34c9647 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # tcpstat +tcpstat reports certain network interface statistics much like vmstat(8) does for system statistics. tcpstat gets its information by either monitoring a specific interface, or by reading previously saved tcpdump(1) data from a file. + diff --git a/tcpstat.spec b/tcpstat.spec new file mode 100644 index 0000000..37358aa --- /dev/null +++ b/tcpstat.spec @@ -0,0 +1,46 @@ +Name: tcpstat +Version: 1.5 +Release: 1mamba +Summary: A tool to reports certain network interface statistics +Group: Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.frenchfries.net/paul/tcpsta +Source: http://www.frenchfries.net/paul/tcpstat/tcpstat-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpcap-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +tcpstat reports certain network interface statistics much like vmstat(8) does for system statistics. tcpstat gets its information by either monitoring a specific interface, or by reading previously saved tcpdump(1) data from a file. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/tcpstat +%{_mandir}/man1/tcpprof.1* +%{_mandir}/man1/tcpstat.1* +%doc AUTHORS COPYING LICENSE + +%changelog +* Thu Jul 10 2014 Silvan Calarco 1.5-1mamba +- package created using the webbuild interface