Package scapy: Specfile

%define packagename python-module-scapy
Name:		scapy
Summary:	Scapy is a powerful interactive packet manipulation program written in Python
Version:	2.0.0.10
Release:	alt1.1
Group:		Networking/Other
License:	GPL3
Packager: 	Mikhail Pokidko <pma@altlinux.ru>
URL:		http://www.secdev.org/projects/scapy/	
Source:		%name-%version.tar.gz
BuildArch: 	noarch
Requires:	python >= 2.5

# Automatically added by buildreq on Thu Oct 16 2008 (-bi)
BuildRequires: python-devel python-module-setuptools

%description
Scapy is a powerful interactive packet manipulation program. 
It is able to forge or decode packets of a wide number of protocols, 
send them on the wire, capture them, match requests and replies, and much more. 
It can easily handle most classical tasks like scanning, tracerouting, probing,
unit tests, attacks or network discovery.

%prep
%setup -q

%build
%{__python} setup.py build

%install
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES

%files
#doc AUTHORS README COPYING changelog
%_bindir/*scapy
%_man1dir/*
%python_sitelibdir/%name

%changelog
* Thu Dec 03 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.0.10-alt1.1
- Rebuilt with python 2.6

* Thu Oct 16 2008 Mikhail Pokidko <pma@altlinux.org> 2.0.0.10-alt1
- Migrating to version 2.0.0.10

* Fri Apr 25 2008 Mikhail Pokidko <pma@altlinux.org> 1.1.1-alt1
- Initial ALT build