]> git.pld-linux.org Git - packages/nethogs.git/blame - nethogs.spec
- fixed source0 url
[packages/nethogs.git] / nethogs.spec
CommitLineData
db63296d 1Summary: net top
2dfac8e4 2Summary(pl.UTF-8): Sieciowy top
db63296d 3Name: nethogs
e25a5996
JK
4Version: 0.8.0
5Release: 1
db63296d
AM
6License: GPL
7Group: Networking
6e13052f 8Source0: http://downloads.sourceforge.net/nethogs/%{name}-%{version}.tar.gz
e25a5996 9# Source0-md5: d6fb12b46e80a50c9b9f91dd48e2b234
a2d4f43d 10URL: http://nethogs.sourceforge.net/
db63296d 11BuildRequires: libpcap-devel
5d861751 12BuildRequires: libstdc++-devel
db63296d
AM
13BuildRequires: ncurses-devel
14BuildRequires: perl-base
db63296d
AM
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18NetHogs is a small 'net top' tool. Instead of breaking the traffic
19down per protocol or per subnet, like most such tools do, it groups
20bandwidth by process - and does not rely on a special kernel module to
21be loaded. So if there's suddenly a lot of network traffic, you can
22fire up NetHogs and immediately see which PID is causing this, and if
23it's some kind of spinning process, kill it.
24
ba60acd7
JR
25%description -l pl.UTF-8
26NetHogs to małe narzędzie sieciowe w stylu programu top. Zamiast
27rozbijania ruchu na protokoły lub podsieci, jak robi większość
28narzędzi, grupuje pasmo według procesów - i nie polega przy tym na
29specjalnym module jądra. Jeśli nagle jest duży ruch w sieci, można
30uruchomić NetHogs i od razu zobaczyć, który PID to powoduje i
31ewentualnie go zabić.
5d861751 32
db63296d 33%prep
a2d4f43d 34%setup -q -n %{name}
db63296d
AM
35
36%build
37%{__make} \
53c31b23
AM
38 CXX="%{__cxx}" \
39 CFLAGS="%{rpmcflags} %{rpmcppflags} -I/usr/include/ncurses"
db63296d
AM
40
41%install
42rm -rf $RPM_BUILD_ROOT
5f59e2ea 43install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
5d861751 44
5f59e2ea
AG
45install %{name} $RPM_BUILD_ROOT%{_bindir}
46install %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8
db63296d
AM
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
eca06c28 53%doc Changelog README
db63296d 54%attr(755,root,root) %{_bindir}/*
5f59e2ea 55%{_mandir}/man8/*
This page took 0.094923 seconds and 4 git commands to generate.