]> git.pld-linux.org Git - packages/ettercap6.git/commitdiff
- Added dont_require_root patch so it will build as any user.
authormkochano <mkochano@pld-linux.org>
Thu, 6 Sep 2001 15:39:36 +0000 (15:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Added ncurses so it will build ncurses interface.
- More BuildRequires.
- Gzipped documentation.
- Removed COPYING from docs. Clear copyright in License field.

Changed files:
    ettercap6.spec -> 1.2

ettercap6.spec

index 8c48f7e3bab31c45754fa2ba4beb73a53fdc51d7..e09c8bd753596e04bdc7757a45c27477e82cdf07 100644 (file)
@@ -3,6 +3,8 @@ Name:           ettercap
 Version:       0.5.4
 Release:       1
 Source0:       http://ettercap.sourceforge.net/download/%{name}-%{version}.tar.gz
+Patch0:                %{name}-dont_require_root.patch
+Patch1:                %{name}-ncurses.patch
 URL:           http://ettercap.sourceforge.net/
 License:       GPL
 Group:         Networking/Utilities
@@ -10,6 +12,8 @@ Group(de):    Netzwerkwesen/Werkzeuge
 Group(es):     Red/Utilitarios
 Group(pl):     Sieciowe/Narzêdzia
 Group(pt_BR):  Rede/Utilitários
+BuildRequires: ncurses-devel
+BuildRequires: openssl-devel
 Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -18,9 +22,15 @@ ettercap is a multipurpose sniffer/interceptor/logger for switched or
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
-%configure --disable-debug
+aclocal
+autoconf
+%configure \
+       --disable-debug \
+       --enable-ncurses \
 %{__make}
 %{__make} plug-ins
 
@@ -29,12 +39,16 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 %{__make} plug-ins_install DESTDIR=$RPM_BUILD_ROOT
 
+gzip -9nf \
+       README README.PLUGINS HISTORY CHANGELOG AUTHORS TODO \
+       THANKS KNOWN-BUGS PORTINGS
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %{_mandir}/man8/*
-%doc COPYING README README.PLUGINS HISTORY CHANGELOG AUTHORS TODO THANKS KNOWN-BUGS PORTINGS
+%doc *.gz
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/ettercap/*
This page took 0.096989 seconds and 4 git commands to generate.