Back to the airtraf rpmsCurrent spec in pydar2:
# $Id: airtraf.spec 4303 2006-04-18 22:05:03Z dries $
# Authority: dag
Summary: Wireless sniffer for 802.11 wireless networks
Name: airtraf
Version: 1.1
Release: 0.2
License: GPL
Group: Applications/Internet
URL: http://www.elixar.com/products/airtraf.html
Source: http://www.elixar.com/airtraf-%{version}.tar.gz
Patch: airtraf-1.1-gcc34.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: ncurses-devel
%description
AirTraf is a wireless sniffer that can detect and determine exactly what
is being transmitted over 802.11 wireless networks. This open-source
program tracks and identifies legitimate and rogue access points, keeps
performance statistics on a by-user and by-protocol basis, measures the
signal strength of network components, and more.
%prep
%setup
%patch
### FIXME: Remove interactive read from Makefile during install
#{__perl} -pi.orig -e 's|^\t\@read|#\t\@read|' src/Makefile
%build
%{__make} %{?_smp_mflags} -C src
%install
%{__rm} -rf %{buildroot}
#makeinstall -C src \
# INSTALL_DIR="%{buildroot}%{_bindir}"
%{__install} -Dp -m0755 src/airtraf %{buildroot}%{_bindir}/airtraf
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc Authors COMPATIBILITY COPYING docs/*
%{_bindir}/*
%changelog
* Sat Apr 08 2006 Dries Verachtert - 1.1-0.2
- Rebuild for Fedora Core 5.
* Sat Jul 12 2003 Dag Wieers - 1.1-0
- Updated to release 1.1.
- Initial package. (using DAR)