Group :: Rede/Outros
RPM: scapy
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%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
Group: Networking/Other
License: GPL3
Packager: Mikhail Pokidko <pma at 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
…
Todas as alterações você pod ver aqui
Name: scapy
Summary: Scapy is a powerful interactive packet manipulation program written in Python
Version: 2.0.0.10
Release: alt1
Group: Networking/Other
License: GPL3
Packager: Mikhail Pokidko <pma at 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
…
Todas as alterações você pod ver aqui