]> git.pld-linux.org Git - packages/ettercap6.git/blob - ettercap6.spec
- added pl description and summary
[packages/ettercap6.git] / ettercap6.spec
1 Summary:        ettercap is a ncurses-based sniffer/interceptor utility
2 Summary(pl):    ettercap jest opartym o ncurses narzêdziem do sniffowania/przechwytywania
3 Name:           ettercap
4 Version:        0.5.4
5 Release:        1
6 License:        GPL
7 Group:          Networking/Utilities
8 Group(de):      Netzwerkwesen/Werkzeuge
9 Group(es):      Red/Utilitarios
10 Group(pl):      Sieciowe/Narzêdzia
11 Group(pt_BR):   Rede/Utilitários
12 Source0:        http://ettercap.sourceforge.net/download/%{name}-%{version}.tar.gz
13 Patch0:         %{name}-dont_require_root.patch
14 Patch1:         %{name}-ncurses.patch
15 Patch2:         %{name}-plugin_dir.patch
16 Patch3:         %{name}-kernel_version.patch
17 URL:            http://ettercap.sourceforge.net/
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  ncurses-devel
21 BuildRequires:  openssl-devel
22 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 ettercap is a multipurpose sniffer/interceptor/logger for switched or
26 "hubbed" LAN.
27
28 %description -l pl
29 ettercap jest wieloczynno¶ciowym snifferem/przechwytywaczem/loggerem dla sieci LAN 
30 opartych na switchach lub hubach.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35 %patch1 -p1
36 %patch2 -p1
37 %patch3 -p1
38
39 %build
40 aclocal
41 autoconf
42 %configure \
43         --%{!?debug:dis}%{?debug:en}able-debug \
44         --enable-ncurses
45 %{__make}
46 %{__make} plug-ins
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install DESTDIR=$RPM_BUILD_ROOT
52 %{__make} plug-ins_install DESTDIR=$RPM_BUILD_ROOT
53
54 gzip -9nf \
55         README README.PLUGINS HISTORY CHANGELOG AUTHORS TODO \
56         THANKS KNOWN-BUGS PORTINGS
57
58 install -d $RPM_BUILD_ROOT%{_libdir}
59 mv -f $RPM_BUILD_ROOT{%{_datadir},%{_libdir}}/%{name}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc *.gz
67 %attr(755,root,root) %{_bindir}/*
68 %{_libdir}/ettercap
69 %{_mandir}/man8/*
This page took 0.031999 seconds and 3 git commands to generate.