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