1 Summary: ettercap is a ncurses-based sniffer/interceptor utility
2 Summary(pl): ettercap jest opartym o ncurses narzêdziem do sniffowania/przechwytywania
7 Group: Networking/Utilities
8 Source0: http://ettercap.sourceforge.net/download/%{name}-%{version}.tar.gz
9 Patch0: %{name}-dont_require_root.patch
10 Patch1: %{name}-ncurses.patch
11 Patch2: %{name}-plugin_dir.patch
12 Patch3: %{name}-kernel_version.patch
13 URL: http://ettercap.sourceforge.net/
15 BuildRequires: textutils
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: ncurses-devel
20 BuildRequires: openssl-devel
21 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 ettercap is a multipurpose sniffer/interceptor/logger for switched or
28 ettercap jest wieloczynno¶ciowym snifferem/przechwytywaczem/loggerem
29 dla sieci LAN opartych na switchach lub hubach.
41 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
43 --%{!?debug:dis}%{?debug:en}able-debug \
49 rm -rf $RPM_BUILD_ROOT
51 %{__make} install DESTDIR=$RPM_BUILD_ROOT
52 %{__make} plug-ins_install DESTDIR=$RPM_BUILD_ROOT
55 README README.PLUGINS HISTORY CHANGELOG AUTHORS TODO \
56 THANKS KNOWN-BUGS PORTINGS
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %attr(755,root,root) %{_sbindir}/*