]> git.pld-linux.org Git - packages/bmon.git/blob - bmon.spec
- up to 2.1.0-pre6
[packages/bmon.git] / bmon.spec
1
2 %define         _pre    pre6
3
4 Summary:        Console interface bandwidth usage monitor
5 Summary(pl):    Konsolowy monitor u¿ycia interfejsu sieciowego
6 Name:           bmon
7 Version:        2.1.0
8 Release:        0.%{_pre}.1
9 License:        Artistic
10 Group:          Applications/Networking
11 Source0:        http://people.suug.ch/~tgr/bmon/files/%{name}-%{version}-%{_pre}.tar.gz
12 # Source0-md5:  909fe967ff361a7648586c7c1311aa2a
13 URL:            http://people.suug.ch/~tgr/bmon/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gettext-devel
17 BuildRequires:  ncurses-devel
18 Conflicts:      nstats
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 bmon is an interface bandwidth monitor.
23
24 It is able to generate and draw three types of diagrams:
25 - The overview diagram which is a list of all interfaces and their
26   send/receive rates.
27 - A very MRTG like graphical diagram in ASCII showing the rate over a
28   specific time period in a bar diagram.
29 - The details diagram which contains all counters of an interface such
30   as total bytes sent/received, errors, compressed packets, ...
31
32 %description -l pl
33 bmon jest monitorem ruchu na interfejsach sieciowych.
34
35 Pozwala on na generowanie i rysowanie trzech typów diagramów:
36 - Diagram ogólny który wy¶wietla wszystkie interfejsy sieciowe i
37   informacje o aktualnym zu¿yciu przepustowo¶ci
38 - Diagram ASCII podobny do generowanego przez MRTG, pokazuj±cy
39   informacje o przesyle danych w postaci wykresu paskowego
40 - Diagram szczegó³owy który zawiera wszystkie liczniki danego
41   interfejsu, takie jak ca³kowita liczba bajtów odebranych/wys³anych,
42   b³êdy, skompresowane pakiety...
43
44 %package devel
45 Summary:        Header files for bmon
46 Summary(pl):    Pliki nag³ówkowe dla bmon
47 Group:          Development/Libraries
48
49 %description devel
50 Header files neccesary to develop bmon applications.
51
52 %description devel -l pl
53 Pliki nag³ówkowe niezbêdne do tworzenia aplikacji korzystaj±cych z
54 bmon.
55
56
57 %prep
58 %setup -q -n %{name}-%{version}-%{_pre}
59
60 %build
61 %{__gettextize}
62 %{__aclocal}
63 %{__autoconf}
64 %{__autoheader}
65 %configure
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT%{_sysconfdir}
71 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
72 install etc/%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
73 install include/%{name}/* $RPM_BUILD_ROOT%{_includedir}/%{name}/
74
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files
83 %defattr(644,root,root,755)
84 %doc ChangeLog
85 %attr(755,root,root) %{_bindir}/*
86 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
87 %{_mandir}/man1/*
88
89 %files devel
90 %defattr(644,root,root,755)
91 %{_includedir}/*
This page took 0.117832 seconds and 3 git commands to generate.