diff --git a/.cvsignore b/.cvsignore index e69de29..1ff0a46 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +scapy-1.1.1.tar.gz diff --git a/scapy.spec b/scapy.spec new file mode 100644 index 0000000..cf07505 --- /dev/null +++ b/scapy.spec @@ -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 1.1.1-4 +- Switch to using rm macro. + +* Mon Jan 21 2008 Devan Goodwin 1.1.1-2 +- Spec file cleanup. + +* Fri Jan 18 2008 Devan Goodwin 1.1.1-1 +- Initial packaging for Fedora. + diff --git a/sources b/sources index e69de29..1ed09ff 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8ac720a1bea4304797c713ef1ed063f1 scapy-1.1.1.tar.gz