- me broke, me fix
[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.6.4
5 Release:        1
6 License:        GPL
7 Group:          Networking/Utilities
8 Group(cs):      Sí»ové/Utility
9 Group(da):      Netværks/Værktøj
10 Group(de):      Netzwerkwesen/Dienstprogramme
11 Group(es):      Red/Utilitarios
12 Group(fr):      Réseau/Utilitaires
13 Group(is):      Net/Tól
14 Group(it):      Rete/Utility
15 Group(no):      Nettverks/Verktøy
16 Group(pl):      Sieciowe/Narzêdzia
17 Group(pt_BR):   Rede/Utilitários
18 Group(pt):      Rede/Utilidades
19 Group(ru):      óÅÔØ/õÔÉÌÉÔÙ
20 Group(sl):      Omre¾ni/Pripomoèki
21 Group(sv):      Nätverk/Verktyg
22 Group(uk):      íÅÒÅÖÁ/õÔÉ̦ÔÉ
23 Source0:        http://ettercap.sourceforge.net/download/%{name}-%{version}.tar.gz
24 Patch0:         %{name}-dont_require_root.patch
25 Patch1:         %{name}-ncurses.patch
26 Patch2:         %{name}-plugin_dir.patch
27 Patch3:         %{name}-kernel_version.patch
28 URL:            http://ettercap.sourceforge.net/
29 BuildRequires:  awk
30 BuildRequires:  textutils
31 BuildRequires:  grep
32 BuildRequires:  autoconf
33 BuildRequires:  automake
34 BuildRequires:  ncurses-devel
35 BuildRequires:  openssl-devel
36 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 ettercap is a multipurpose sniffer/interceptor/logger for switched or
40 "hubbed" LAN.
41
42 %description -l pl
43 ettercap jest wieloczynno¶ciowym snifferem/przechwytywaczem/loggerem
44 dla sieci LAN opartych na switchach lub hubach.
45
46 %prep
47 %setup -q
48 #%patch0 -p1
49 %patch1 -p1
50 #%patch2 -p1
51 %patch3 -p1
52
53 %build
54 aclocal
55 autoconf
56 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
57 %configure \
58         --%{!?debug:dis}%{?debug:en}able-debug \
59         --enable-ncurses
60 %{__make}
61 %{__make} plug-ins
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install DESTDIR=$RPM_BUILD_ROOT
67 %{__make} plug-ins_install DESTDIR=$RPM_BUILD_ROOT
68
69 gzip -9nf \
70         README README.PLUGINS HISTORY CHANGELOG AUTHORS TODO \
71         THANKS KNOWN-BUGS PORTINGS
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc *.gz
79 %attr(755,root,root) %{_sbindir}/*
80 %{_libdir}/ettercap
81 %{_datadir}/ettercap
82 %{_mandir}/man8/*
This page took 0.109321 seconds and 3 git commands to generate.