]>
Commit | Line | Data |
---|---|---|
30ee1e98 | 1 | Summary: Bandwidth monitor - display bandwidth usage on all interfaces |
f5fb8d4f | 2 | Summary(pl.UTF-8): Bandwidth monitor - wyświetlanie obciążenia na interfejsach |
dcd37d3f | 3 | Name: bwm |
4 | Version: 1.1.0 | |
19045c8f | 5 | Release: 2 |
dcd37d3f | 6 | License: GPL |
c96b2c24 | 7 | Group: Networking/Utilities |
dcd37d3f | 8 | Source0: http://ftp.debian.org/debian/pool/main/b/bwm/%{name}_%{version}.orig.tar.gz |
9 | # Source0-md5: 51021a036acb92d2bda0c0c0483f9552 | |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | ||
12 | %description | |
13 | Bandwidth monitor is a very simple utility that allows the user to | |
14 | view the bandwidth currently being consumed to and from each network | |
15 | interface, the total bandwidth in use on each interface, and the total | |
16 | bandwidth in use on all interfaces. | |
17 | ||
53ab2c28 JR |
18 | %description -l pl.UTF-8 |
19 | Bandwidth monitor jest bardzo małym i prostym narzędziem pozwalającym | |
20 | użytkownikowi obserwować bieżące użycie łącza. Pokazuje ruch na każdym | |
21 | interfejsie z osobna oraz podsumowanie wszystkich interfejsów. | |
dcd37d3f | 22 | |
23 | %prep | |
24 | %setup -q -n %{name}-%{version}.orig | |
25 | ||
26 | %build | |
30ee1e98 JB |
27 | %{__make} \ |
28 | CFLAGS="%{rpmcflags} -Wall" | |
dcd37d3f | 29 | |
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
dcd37d3f | 32 | install -d $RPM_BUILD_ROOT%{_bindir} |
30ee1e98 | 33 | |
dcd37d3f | 34 | install bwm $RPM_BUILD_ROOT%{_bindir} |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %doc changes.txt readme.txt | |
42 | %attr(755,root,root) %{_bindir}/* |