]> git.pld-linux.org Git - packages/bmon.git/blob - bmon.spec
- created, adapterized
[packages/bmon.git] / bmon.spec
1 Summary:        Console interface bandwidth usage monitor
2 Summary(pl):    Konsolowy monitor u¿ycia interfejsu sieciowego
3 Name:           bmon
4 Version:        1.2.0
5 Release:        1
6 License:        Artistic
7 Group:          Applications/Networking
8 Source0:        http://trash.net/~reeler/bmon/files/%{name}-%{version}.tar.bz2
9 # Source0-md5:  b22af0ac4564200c6d249d4585589ce8
10 Patch0:         %{name}-ncurses.patch
11 URL:            http://trash.net/~reeler/bmon/
12 BuildRequires:  ncurses-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 bmon is an interface bandwidth monitor.
17
18 It is able to generate and draw three types of diagrams:
19  - The overview diagram which is a list of all interfaces and their
20    send/receive rates.
21  - A very MRTG like graphical diagram in ASCII showing the rate over a
22    specific time period in a bar diagram.
23  - The details diagram which contains all counters of an interface such
24    as total bytes sent/received, errors, compressed packets, ...
25
26 %description -l pl
27 bmon jest monitorem ruchu na interfejsach sieciowych.
28
29 Pozwala on na generowanie i rysowanie trzech typów diagramów:
30  - Diagram ogólny który wy¶wietla wszystkie interfejsy sieciowe i
31    informacje o aktualnym zu¿yciu przepustowo¶ci
32  - Diagram ASCII podobny do generowanego przez MRTG, pokazuj±cy
33    informacje o przesyle danych w postaci wykresu paskowego
34  - Diagram szczegó³owy który zawiera wszystkie liczniki danego
35    interfejsu, takie jak ca³kowita liczba bajtów odebranych/wys³anych,
36    b³êdy, skompresowane pakiety...
37
38 %prep
39 %setup -q
40 %patch0 -p1
41
42 %build
43 %{__gettextize}
44 %{__aclocal}
45 %{__autoconf}
46 %{__autoheader}
47 %configure
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
54 install bmon $RPM_BUILD_ROOT%{_bindir}
55 install bmon.1 $RPM_BUILD_ROOT%{_mandir}/man1
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc AUTHORS ChangeLog
63 %attr(755,root,root) %{_bindir}/*
64 %{_mandir}/man1/*
This page took 0.032325 seconds and 4 git commands to generate.