]> git.pld-linux.org Git - packages/ettercap6.git/blob - ettercap6.spec
- Added dont_require_root patch so it will build as any user.
[packages/ettercap6.git] / ettercap6.spec
1 Summary:        ettercap is a ncurses-based sniffer/interceptor utility
2 Name:           ettercap
3 Version:        0.5.4
4 Release:        1
5 Source0:        http://ettercap.sourceforge.net/download/%{name}-%{version}.tar.gz
6 Patch0:         %{name}-dont_require_root.patch
7 Patch1:         %{name}-ncurses.patch
8 URL:            http://ettercap.sourceforge.net/
9 License:        GPL
10 Group:          Networking/Utilities
11 Group(de):      Netzwerkwesen/Werkzeuge
12 Group(es):      Red/Utilitarios
13 Group(pl):      Sieciowe/Narzêdzia
14 Group(pt_BR):   Rede/Utilitários
15 BuildRequires:  ncurses-devel
16 BuildRequires:  openssl-devel
17 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 ettercap is a multipurpose sniffer/interceptor/logger for switched or
21 "hubbed" LAN.
22
23 %prep
24 %setup -q
25 %patch0 -p1
26 %patch1 -p1
27
28 %build
29 aclocal
30 autoconf
31 %configure \
32         --disable-debug \
33         --enable-ncurses \
34 %{__make}
35 %{__make} plug-ins
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40 %{__make} plug-ins_install DESTDIR=$RPM_BUILD_ROOT
41
42 gzip -9nf \
43         README README.PLUGINS HISTORY CHANGELOG AUTHORS TODO \
44         THANKS KNOWN-BUGS PORTINGS
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %{_mandir}/man8/*
52 %doc *.gz
53 %attr(755,root,root) %{_bindir}/*
54 %{_datadir}/ettercap/*
This page took 0.037088 seconds and 4 git commands to generate.