1 Summary: Network monitoring tool
2 Summary(pl): Narzêdzie do monitorowania sieci
8 Group(de): Netzwerkwesen
10 Source0: ftp://ftp.ntop.org/pub/local/ntop/snapshots/%{name}-src-Oct-26-2000.tar.gz
11 Patch0: %{name}-configure.patch
12 Patch1: %{name}-plugins.patch
13 URL: http://www.ntop.org/
14 BuildRequires: libpcap-devel
15 BuildRequires: libwrap-devel
16 BuildRequires: ncurses-devel
17 BuildRequires: readline-devel
18 BuildRequires: openssl-devel
19 BuildRequires: ucd-snmp-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 ntop is a tool that shows the network usage, similar to what the
25 popular top Unix command does.
28 ntop to narzêdzie, które pokazuje u¿ycie sieci w podobny sposób jak
29 robi to popularna Unixowa komenda top.
33 tar xzf %{name}-*.tar.gz
34 tar xzf gdchart*.tar.gz
45 cd ../%{name}-%{version}
46 libtoolize --copy --force
49 automake --add-missing --gnu
52 --with-gdchart-root=../gdchart* \
53 --with-ossl-root=%{_prefix} \
56 --localstatedir=%{_var}/%{ntop}
61 rm -rf $RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT%{_var}/%{name}
66 %{__make} install DESTDIR=$RPM_BUILD_ROOT
67 rm -f $RPM_BUILD_ROOT%{_bindir}/*.pem
69 gzip -9nf AUTHORS FAQ KNOWN_BUGS NEWS README THANKS TODO
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_bindir}/*
79 %attr(755,root,root) %{_libdir}/lib*