Importing scapy SRPM.
This commit is contained in:
parent
7dcaa37a65
commit
8c33e264f3
@ -0,0 +1 @@
|
||||
scapy-1.1.1.tar.gz
|
||||
51
scapy.spec
Normal file
51
scapy.spec
Normal file
@ -0,0 +1,51 @@
|
||||
Name: scapy
|
||||
Version: 1.1.1
|
||||
Release: 4%{?dist}
|
||||
Summary: Interactive packet manipulation tool and network scanner
|
||||
|
||||
Group: Applications/Internet
|
||||
License: GPLv2
|
||||
URL: http://www.secdev.org/projects/scapy/
|
||||
Source0: http://www.secdev.org/projects/scapy/files/scapy-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python >= 2.3
|
||||
|
||||
Requires: python >= 2.3
|
||||
|
||||
%description
|
||||
Scapy is a powerful interactive packet manipulation program built on top
|
||||
of the Python interpreter. It can be used to forge or decode packets of
|
||||
a wide number of protocols, send them over the wire, capture them, match
|
||||
requests and replies, and much more.
|
||||
|
||||
%prep
|
||||
%setup -q -n scapy-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
%{__rm} -rf %{buildroot}
|
||||
%{__install} -Dp -m0755 scapy.py %{buildroot}%{_bindir}/scapy
|
||||
%{__install} -Dp -m0644 scapy.1 %{buildroot}%{_mandir}/man1/scapy.1
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS changelog COPYING README
|
||||
%doc %{_mandir}/man1/scapy.1*
|
||||
%{_bindir}/scapy
|
||||
|
||||
%changelog
|
||||
* Tue Jan 22 2008 Devan Goodwin <dgoodwin@dangerouslyinc.com> 1.1.1-4
|
||||
- Switch to using rm macro.
|
||||
|
||||
* Mon Jan 21 2008 Devan Goodwin <dgoodwin@dangerouslyinc.com> 1.1.1-2
|
||||
- Spec file cleanup.
|
||||
|
||||
* Fri Jan 18 2008 Devan Goodwin <dgoodwin@dangerouslyinc.com> 1.1.1-1
|
||||
- Initial packaging for Fedora.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user