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