summaryrefslogtreecommitdiff
path: root/nettimer.spec
blob: 9141b209693c7c9a3b6ede524329dca674966abe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# TODO:
# - make specs with required libdpcap and libkl
#   (http://mosquitonet.stanford.edu/~laik/projects/nettimer/#Download)
Summary:	Nettimer - a bandwidth measurement tool
Summary(pl):	Nettimer - narzędzie do szacowania pasma
Name:		nettimer
Version:	2.3.8
Release:	0.1
License:	GPL
Group:		Applications/Networking
Source0:	http://mosquitonet.stanford.edu/~laik/projects/nettimer/%{name}-%{version}.tar.gz
# Source0-md5:	8fa4e2669d805a834f7f819d73d03d5a
URL:		http://mosquitonet.stanford.edu/~laik/projects/nettimer/
BuildRequires:	autoconf
BuildRequires:	automake
#BuildRequires:	libdpcap-devel
#BuildRequires:	libkl-devel
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Nettimer is a tool to do network bandwidth measurement. It can
actively probe or passively listen. It can listen at multiple points
in the network. It can run in real time or analyze traces.

%description -l pl
Nettimer to narzędzie do szacowania pasma sieci. Może aktywnie
sprawdzać lub pasywnie nasłuchiwać. Może nasłuchiwać w wielu punktach
sieci. Może działać w czasie rzeczywistym lub analizować ślady.

%prep
%setup -q

%build
%{__autoconf}
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1

install %{name} $RPM_BUILD_ROOT%{_sbindir}
install %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO doc/*.html
%attr(4755,root,root) %{_sbindir}/%{name}
%{_mandir}/man8/*