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