|
|
e2eee06 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
e2eee06 |
|
|
|
8c33e26 |
Name: scapy
|
|
|
ace6626 |
Version: 2.0.0.10
|
|
|
2fe63c6 |
Release: 3%{?dist}
|
|
|
8c33e26 |
Summary: Interactive packet manipulation tool and network scanner
|
|
|
8c33e26 |
|
|
|
8c33e26 |
Group: Applications/Internet
|
|
|
8c33e26 |
License: GPLv2
|
|
|
8c33e26 |
URL: http://www.secdev.org/projects/scapy/
|
|
|
8c33e26 |
Source0: http://www.secdev.org/projects/scapy/files/scapy-%{version}.tar.gz
|
|
|
8c33e26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
8c33e26 |
|
|
|
8c33e26 |
BuildArch: noarch
|
|
|
e2eee06 |
BuildRequires: python >= 2.5
|
|
|
cb23bdf |
BuildRequires: python-devel >= 2.5
|
|
|
8c33e26 |
|
|
|
e2eee06 |
Requires: python >= 2.5
|
|
|
8c33e26 |
|
|
|
8c33e26 |
%description
|
|
|
8c33e26 |
Scapy is a powerful interactive packet manipulation program built on top
|
|
|
8c33e26 |
of the Python interpreter. It can be used to forge or decode packets of
|
|
|
8c33e26 |
a wide number of protocols, send them over the wire, capture them, match
|
|
|
8c33e26 |
requests and replies, and much more.
|
|
|
8c33e26 |
|
|
|
8c33e26 |
%prep
|
|
|
8c33e26 |
%setup -q -n scapy-%{version}
|
|
|
8c33e26 |
|
|
|
8c33e26 |
%build
|
|
|
e2eee06 |
%{__python} setup.py build
|
|
|
8c33e26 |
|
|
|
8c33e26 |
%install
|
|
|
8c33e26 |
%{__rm} -rf %{buildroot}
|
|
|
e2eee06 |
%{__install} -Dp -m0644 doc/scapy.1.gz %{buildroot}%{_mandir}/man1/scapy.1.gz
|
|
|
e2eee06 |
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
e2eee06 |
%{__rm} -f %{buildroot}%{python_sitelib}/*egg-info/requires.txt
|
|
|
e2eee06 |
|
|
|
8c33e26 |
|
|
|
8c33e26 |
%clean
|
|
|
8c33e26 |
%{__rm} -rf %{buildroot}
|
|
|
8c33e26 |
|
|
|
8c33e26 |
%files
|
|
|
8c33e26 |
%defattr(-,root,root,-)
|
|
|
8c33e26 |
%doc %{_mandir}/man1/scapy.1*
|
|
|
8c33e26 |
%{_bindir}/scapy
|
|
|
e2eee06 |
%{_bindir}/UTscapy
|
|
|
e2eee06 |
%{python_sitelib}/scapy/*
|
|
|
e2eee06 |
%{python_sitelib}/scapy-*.egg-info
|
|
|
8c33e26 |
|
|
|
8c33e26 |
%changelog
|
|
|
2fe63c6 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0.10-3
|
|
|
2fe63c6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
2fe63c6 |
|
|
|
9ff636e |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0.10-2
|
|
|
9ff636e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
9ff636e |
|
|
|
ace6626 |
* Mon Dec 22 2008 Devan Goodwin <dgoodwin@dangerouslyinc.com> 2.0.0.10-1
|
|
|
ace6626 |
- Update to Scapy 2.0.0.10.
|
|
|
ace6626 |
|
|
|
e2eee06 |
* Sun Dec 07 2008 Devan Goodwin <dgoodwin@dangerouslyinc.com> 2.0.0.9-2
|
|
|
e2eee06 |
- Update for Scapy 2.0.0.9.
|
|
|
e2eee06 |
|
|
|
8c33e26 |
* Tue Jan 22 2008 Devan Goodwin <dgoodwin@dangerouslyinc.com> 1.1.1-4
|
|
|
8c33e26 |
- Switch to using rm macro.
|
|
|
8c33e26 |
|
|
|
8c33e26 |
* Mon Jan 21 2008 Devan Goodwin <dgoodwin@dangerouslyinc.com> 1.1.1-2
|
|
|
8c33e26 |
- Spec file cleanup.
|
|
|
8c33e26 |
|
|
|
8c33e26 |
* Fri Jan 18 2008 Devan Goodwin <dgoodwin@dangerouslyinc.com> 1.1.1-1
|
|
|
8c33e26 |
- Initial packaging for Fedora.
|
|
|
8c33e26 |
|