]>
Commit | Line | Data |
---|---|---|
17a8d7f5 | 1 | Summary: Console interface bandwidth usage monitor |
0f7775a2 | 2 | Summary(pl.UTF-8): Konsolowy monitor użycia interfejsu sieciowego |
17a8d7f5 | 3 | Name: bmon |
e888fa8a | 4 | Version: 4.0 |
f29cabac | 5 | Release: 1 |
17a8d7f5 | 6 | License: Artistic |
7 | Group: Applications/Networking | |
f29cabac | 8 | Source0: https://github.com/tgraf/bmon/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz |
e888fa8a | 9 | # Source0-md5: 954afe2cedd8f972fc3903c10772a017 |
f29cabac | 10 | URL: https://github.com/tgraf/bmon/ |
e9f687c8 JW |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
f29cabac | 13 | BuildRequires: libconfuse-devel |
59c5b897 | 14 | BuildRequires: libnl-devel >= 3.0 |
17a8d7f5 | 15 | BuildRequires: ncurses-devel |
59c5b897 | 16 | BuildRequires: pkgconfig |
e0fb2847 | 17 | Conflicts: nstats |
17a8d7f5 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | bmon is an interface bandwidth monitor. | |
22 | ||
23 | It is able to generate and draw three types of diagrams: | |
fce7d8f3 | 24 | - The overview diagram which is a list of all interfaces and their |
25 | send/receive rates. | |
26 | - A very MRTG like graphical diagram in ASCII showing the rate over a | |
27 | specific time period in a bar diagram. | |
28 | - The details diagram which contains all counters of an interface such | |
29 | as total bytes sent/received, errors, compressed packets, ... | |
17a8d7f5 | 30 | |
2d29b51a | 31 | %description -l pl.UTF-8 |
17a8d7f5 | 32 | bmon jest monitorem ruchu na interfejsach sieciowych. |
33 | ||
2d29b51a JR |
34 | Pozwala on na generowanie i rysowanie trzech typów diagramów: |
35 | - Diagram ogólny który wyświetla wszystkie interfejsy sieciowe i | |
36 | informacje o aktualnym zużyciu przepustowości | |
37 | - Diagram ASCII podobny do generowanego przez MRTG, pokazujący | |
fce7d8f3 | 38 | informacje o przesyle danych w postaci wykresu paskowego |
2d29b51a JR |
39 | - Diagram szczegółowy który zawiera wszystkie liczniki danego |
40 | interfejsu, takie jak całkowita liczba bajtów odebranych/wysłanych, | |
41 | błędy, skompresowane pakiety... | |
17a8d7f5 | 42 | |
43 | %prep | |
f29cabac | 44 | %setup -q |
17a8d7f5 | 45 | |
46 | %build | |
f29cabac | 47 | %{__libtoolize} |
e9f687c8 JW |
48 | %{__aclocal} |
49 | %{__autoconf} | |
f29cabac | 50 | %{__automake} |
e9f687c8 | 51 | %{__autoheader} |
6107fc5a JP |
52 | %configure \ |
53 | --disable-silent-rules | |
54 | %{__make} | |
17a8d7f5 | 55 | |
56 | %install | |
b91d68b3 | 57 | rm -rf $RPM_BUILD_ROOT |
7fac8f1c | 58 | install -d $RPM_BUILD_ROOT%{_sysconfdir} |
7fac8f1c | 59 | |
7fac8f1c JW |
60 | %{__make} install \ |
61 | DESTDIR=$RPM_BUILD_ROOT | |
17a8d7f5 | 62 | |
e888fa8a KM |
63 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/bmon/examples/bmon.conf |
64 | ||
f29cabac JR |
65 | cp -p examples/bmon.conf $RPM_BUILD_ROOT%{_sysconfdir} |
66 | ||
17a8d7f5 | 67 | %clean |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
e888fa8a | 72 | %doc NEWS examples/bmon.conf |
f29cabac | 73 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bmon.conf |
17a8d7f5 | 74 | %attr(755,root,root) %{_bindir}/* |
f29cabac | 75 | %{_mandir}/man8/* |