]> git.pld-linux.org Git - packages/bmon.git/blob - bmon.spec
- pl fix
[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:        2.0.1
5 Release:        1
6 License:        Artistic
7 Group:          Applications/Networking
8 Source0:        http://people.suug.ch/~tgr/bmon/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  d0da9d05f18c82a621171985d536dec7
10 URL:            http://people.suug.ch/~tgr/bmon/        
11 BuildRequires:  ncurses-devel
12 Conflicts:      nstats
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 %package devel
39 Summary:        Header files for bmon
40 Summary(pl):    Pliki nag³ówkowe dla bmon
41 Group:          Development/Libraries
42
43 %description devel
44 Header files neccesary to develop bmon applications.
45
46 %description devel -l pl
47 Pliki nag³ówkowe niezbêdne do tworzenia aplikacji korzystaj±cych z
48 bmon.
49
50
51 %prep
52 %setup -q
53
54 %build
55 %configure
56 %{__make}
57
58 %install
59 install -d $RPM_BUILD_ROOT%{_sysconfdir}
60 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
61 install etc/%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
62 install include/%{name}/* $RPM_BUILD_ROOT%{_includedir}/%{name}/ 
63
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc ChangeLog
74 %attr(755,root,root) %{_bindir}/*
75 %{_sysconfdir}/%{name}.conf
76 %{_mandir}/man1/*
77
78 %files devel
79 %defattr(644,root,root,755)
80 %{_includedir}/*
This page took 0.131382 seconds and 3 git commands to generate.