Author: arekm Date: Sat Dec 2 18:59:33 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: python-pycap.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/python-pycap.spec diff -u /dev/null SPECS/python-pycap.spec:1.1 --- /dev/null Sat Dec 2 19:59:33 2006 +++ SPECS/python-pycap.spec Sat Dec 2 19:59:28 2006 @@ -0,0 +1,54 @@ +# $Revision$, $Date$ +Summary: Python Packet Capture and Injection Library +Name: python-pycap +Version: 0.1.6 +Release: 1 +License: BSD +Group: Libraries/Python +Source0: http://dl.sourceforge.net/pycap/pycap-%{version}.tar.gz +# Source0-md5: c90bc5382dede1a941e023e7bc27c473 +URL: http://pycap.sourceforge.net/ +BuildRequires: libnet-devel +BuildRequires: python-devel >= 2.2.1 +%pyrequires_eq python-modules +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This package provides the ability to capture packets from, and inject +packets onto, network interfaces. It supports commonly found protocols +such as Ethernet, PPP, IP, ARP, TCP, UDP, and ICMP. + +%prep +%setup -q -n pycap-%{version} + +%build +env CFLAGS="%{rpmcflags}" %{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python -- setup.py install --root=$RPM_BUILD_ROOT --optimize=2 + + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc docs/*.html docs/*.css +%dir %{py_sitedir}/pycap +%{py_sitedir}/*.egg-info +%attr(755,root,root) %{py_sitedir}/pycap/*.so +%{py_sitedir}/pycap/*.py[co] +%dir %{py_sitedir}/pycap/constants +%{py_sitedir}/pycap/constants/*.py[co] + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/12/02 18:59:28 arekm +- new + + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
