A new user interface for you!

File rate.spec of Package test

# norootforbuild

Name:				rate
Version:			0.9
Release:			0
Summary:			Traffic Analysis Tool
Source:			http://s-tech.elsat.net.pl/bmtools/rate-%{version}.tar.gz
Patch1:			rate-optflags.diff
Patch2:			rate-fix-pcap.diff
Patch3:			rate-add_missing_includes.patch
URL:				http://s-tech.elsat.net.pl/bmtools/
Group:			Productivity/Networking/Diagnostic
License:			GNU General Public License (GPL)
BuildRoot:		%{_tmppath}/build-%{name}-%{version}
BuildRequires:	make gcc glibc-devel
%if %suse_version >= 1030
BuildRequires:	libpcap-devel
BuildRequires:	libpcap

'rate' is a swiss-army-knife commandline traffic analysis tool, designed to
help a network administrator to see what is happening at a router at the
Unlike tcpdump(1), rate uses statistical and stream-oriented methods, and will
never produce an output stream at a speed beyond human perception. The output
is less accurate, however.
Rate features four different operating modes, designed to perform the
following tasks: estimating overall traffic rates, determining nodes
generating the highest traffic, determining connections and flows generating
the highest traffic and extracting strings from packets.

%setup -q

%__make %{?jobs:-j%{jobs}} CC="%__cc" OPTFLAGS="%{optflags}"

%__install -D -m 0755 rate "%{buildroot}%{_sbindir}/rate"
%__install -D -m 0644 doc/rate.1 "%{buildroot}%{_mandir}/man1/rate.1"

%__rm -rf "%{buildroot}"

%doc COPYING README doc/rate.html

* Mon Dec 31 2007 Pascal Bleser <guru@unixtech.be> 0.9
- moved to openSUSE Build Service

* Sun Mar 25 2007 Pascal Bleser <guru@unixtech.be> 0.9-3
- rewrote spec file

* Thu Dec  8 2005 Pascal Bleser <guru@unixtech.be> 0.9-1
- new package

# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: