From 508f2ef5c6aec06e6524bb03c6d376b5da52b29b Mon Sep 17 00:00:00 2001 From: djrzulf Date: Tue, 25 Feb 2003 01:20:06 +0000 Subject: [PATCH] - inital PLD version, - wysznuped by Baseciq ;p, Changed files: bmtools.spec -> 1.1 --- bmtools.spec | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 bmtools.spec diff --git a/bmtools.spec b/bmtools.spec new file mode 100644 index 0000000..2ab7234 --- /dev/null +++ b/bmtools.spec @@ -0,0 +1,42 @@ +Summary: bmtools - Bandwidth Measurement Tools +Summary(pl): bmtools - Narzêdzia do ustawiania przepustowo¶ci ³±cza +Name: bmtools +Version: 0.7 +Release: 0.1.experimential +License: GPL +Group: Applications +Source0: http://s-tech.elsat.net.pl/bmtools/%{name}-%{version}-EXPERIMENTAL-UNSTABLE-UNTESTED-ETC.tar.gz +URL: http://s-tech.elsat.net.pl/ +BuildRequires: libpcap-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +bmtools (Bandwidth Measurement Tools) is a pair of simple traffic +measurement tools which can really help a network administrator see +what is happening on a Linux-based router. The 'rate' script +calculates the bandwidth used by packets matching a given BPF filter +on an interface. The 'bandabusers' script shows the top ten hosts +receiving and transmitting packets matching a given BPF filter. Both +programs are completely command-line based. + +%description -l pl + +%prep +%setup -q + +%build +%{__make} CC="gcc %{rpmcflags}" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_bindir} + +install {bandabusers,rate,ratec,rated} $RPM_BUILD_ROOT%{_bindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README +%attr(755,root,root) %{_bindir}/* -- 2.44.0