]>
Commit | Line | Data |
---|---|---|
587c2997 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
587c2997 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = pcapy |
7 | version = 0.10.5 | |
8 | release = 1 | |
587c2997 | 9 | |
802ea3af MT |
10 | groups = Development/Languages |
11 | url = http://oss.coresecurity.com/projects/pcapy.html | |
12 | license = ASL 1.1 | |
13 | summary = A Python interface to libpcap. | |
587c2997 | 14 | |
802ea3af MT |
15 | description |
16 | Pcapy is a Python extension module that interfaces with the libpcap | |
17 | packet capture library. Pcapy enables python scripts to capture packets | |
18 | on the network. Pcapy is highly effective when used in conjunction with | |
19 | a packet-handling package such as Impacket, which is a collection of | |
20 | Python classes for constructing and dissecting network packets. | |
21 | end | |
587c2997 | 22 | |
802ea3af | 23 | source_dl = |
587c2997 | 24 | |
802ea3af MT |
25 | build |
26 | requires | |
27 | gcc-c++ | |
28 | libpcap-devel | |
29 | python-devel | |
30 | end | |
587c2997 | 31 | |
802ea3af MT |
32 | build |
33 | python setup.py build | |
34 | end | |
587c2997 | 35 | |
802ea3af MT |
36 | install |
37 | python setup.py install -O1 --skip-build --root %{BUILDROOT} | |
38 | end | |
39 | end | |
587c2997 | 40 | |
802ea3af MT |
41 | packages |
42 | package %{name} | |
1f9bc2f0 MT |
43 | |
44 | package %{name}-debuginfo | |
45 | template DEBUGINFO | |
46 | end | |
802ea3af | 47 | end |