ettercap.spec.in
上传用户:nilegod
上传日期:2007-01-08
资源大小:220k
文件大小:1k
- %define prefix @prefix@
- Summary: @PROG@ is a ncurses-based sniffer/interceptor utility
- Name: @PROG@
- Version: @VERSION@
- Release: @RELEASE@
- Serial: @SERIAL@
- Packager: ALoR <alor@users.sourceforge.net>
- Source: http://@PROG@.sourceforge.net/download/%{name}-%{version}.tar.gz
- URL: http://@PROG@.sourceforge.net/
- License: GPL
- Group: Networking/Utilities
- Prefix: %{prefix}
- Buildroot: %{_tmppath}/%{name}-%{version}-root
- %description
- @PROG@ is a multipurpose sniffer/interceptor/logger for switched or "hubbed" LAN.
- %prep
- %setup -q
- %build
- ./configure --prefix=%{prefix} --disable-debug --mandir=%{_mandir}
- make
- make plug-ins
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- make plug-ins_install DESTDIR=$RPM_BUILD_ROOT
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root)
- %{_mandir}/man8/*
- %doc COPYING README README.PLUGINS HISTORY CHANGELOG AUTHORS TODO THANKS KNOWN-BUGS PORTINGS
- %{prefix}/bin/*
- %{prefix}/share/@PROG@/*