4 Summary: Console interface bandwidth usage monitor
5 Summary(pl): Konsolowy monitor u¿ycia interfejsu sieciowego
10 Group: Applications/Networking
11 Source0: http://people.suug.ch/~tgr/bmon/files/%{name}-%{version}-%{_pre}.tar.gz
12 # Source0-md5: e08f5d8a7b0fb6e632484cbfc95ebd33
13 URL: http://people.suug.ch/~tgr/bmon/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: gettext-devel
17 BuildRequires: ncurses-devel
18 BuildRequires: rrdtool-devel
19 BuildRequires: libdbi-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 bmon is an interface bandwidth monitor.
26 It is able to generate and draw three types of diagrams:
27 - The overview diagram which is a list of all interfaces and their
29 - A very MRTG like graphical diagram in ASCII showing the rate over a
30 specific time period in a bar diagram.
31 - The details diagram which contains all counters of an interface such
32 as total bytes sent/received, errors, compressed packets, ...
35 bmon jest monitorem ruchu na interfejsach sieciowych.
37 Pozwala on na generowanie i rysowanie trzech typów diagramów:
38 - Diagram ogólny który wy¶wietla wszystkie interfejsy sieciowe i
39 informacje o aktualnym zu¿yciu przepustowo¶ci
40 - Diagram ASCII podobny do generowanego przez MRTG, pokazuj±cy
41 informacje o przesyle danych w postaci wykresu paskowego
42 - Diagram szczegó³owy który zawiera wszystkie liczniki danego
43 interfejsu, takie jak ca³kowita liczba bajtów odebranych/wys³anych,
44 b³êdy, skompresowane pakiety...
47 Summary: Header files for bmon
48 Summary(pl): Pliki nag³ówkowe dla bmon
49 Group: Development/Libraries
52 Header files neccesary to develop bmon applications.
54 %description devel -l pl
55 Pliki nag³ówkowe niezbêdne do tworzenia aplikacji korzystaj±cych z
60 %setup -q -n %{name}-%{version}-%{_pre}
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT%{_sysconfdir}
73 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
74 install etc/%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
75 install include/%{name}/* $RPM_BUILD_ROOT%{_includedir}/%{name}/
79 DESTDIR=$RPM_BUILD_ROOT
82 rm -rf $RPM_BUILD_ROOT
85 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_bindir}/*
88 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
92 %defattr(644,root,root,755)