]> git.pld-linux.org Git - packages/bwm-ng.git/blob - bwm-ng.spec
- upgraded to 0.6
[packages/bwm-ng.git] / bwm-ng.spec
1 Summary:        Bandwidth monitor - display bandwidth usage on all interfaces
2 Summary(pl.UTF-8):      Bandwidth monitor - wyświetlanie obciążenia na interfejsach
3 Name:           bwm-ng
4 Version:        0.6
5 Release:        1
6 License:        GPL
7 Group:          Networking/Utilities
8 Source0:        http://www.gropp.org/bwm-ng/%{name}-%{version}.tar.gz
9 # Source0-md5:  d3a02484fb7946371bfb4e10927cebfb
10 Patch0:         %{name}-procfile.patch
11 URL:            http://www.gropp.org/
12 BuildRequires:  libstatgrab-devel
13 BuildRequires:  ncurses-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Bandwidth Monitor NG is a small and simple console-based bandwidth
18 monitor for Linux, BSD, and Mac OS X, or other systems with either
19 /proc/net/dev, netstat (Linux and BSD), getifaddrs, sysctl, or
20 libstatgrab. You can choose whether to show all interfaces or only
21 those interfaces that are up. Output is possible as plain console,
22 curses, CSV, or HTML. Unlimited interfaces are supported and will be
23 added dynamically while running.
24
25 %description -l pl.UTF-8
26 Bandwidth Monitor NG to mały i prosty działający na terminalu
27 tekstowym monitor wykorzystania pasma dla Linuksa, BSD i Mac OS X lub
28 innych systemów z interfejsem /proc/net/dev, netstat, getifaddrs,
29 sysctl lub libstatgrab. Można wybrać, czy mają być pokazywane
30 wszystkie interfejsy, czy tylko aktualnie włączone. Obsługiwane jest
31 wyjście na zwykłą konsolę, przez curses, w CSV lub w HTML-u.
32 Obsługiwana jest nieograniczona liczba interfejsów, będą one dodawane
33 dynamicznie w trakcie działania programu.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38
39 %build
40 %{__aclocal}
41 %{__autoconf}
42 %{__autoheader}
43 %{__automake}
44 %configure
45 %{__make} \
46         CFLAGS="%{rpmcflags} -Wall -I/usr/include/ncurses"
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
51
52 install src/bwm-ng $RPM_BUILD_ROOT%{_bindir}
53 install bwm-ng.conf-example $RPM_BUILD_ROOT%{_sysconfdir}/bwm-ng.conf
54 install bwm-ng.1 $RPM_BUILD_ROOT%{_mandir}/man1
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog NEWS README THANKS bwm-ng.css
62 %attr(755,root,root) %{_bindir}/*
63 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bwm-ng.conf
64 %{_mandir}/man1/*
This page took 0.050864 seconds and 4 git commands to generate.