]> git.pld-linux.org Git - packages/bmtools.git/commitdiff
- inital PLD version,
authordjrzulf <djrzulf@pld-linux.org>
Tue, 25 Feb 2003 01:20:06 +0000 (01:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- wysznuped by Baseciq ;p,

Changed files:
    bmtools.spec -> 1.1

bmtools.spec [new file with mode: 0644]

diff --git a/bmtools.spec b/bmtools.spec
new file mode 100644 (file)
index 0000000..2ab7234
--- /dev/null
@@ -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}/*
This page took 0.107063 seconds and 4 git commands to generate.