]> git.pld-linux.org Git - packages/python-pycap.git/blame - python-pycap.spec
- release 8 (rebuild with libnet 1.2)
[packages/python-pycap.git] / python-pycap.spec
CommitLineData
b13664e7 1Summary: Python Packet Capture and Injection Library
42afa3b5 2Summary(pl.UTF-8): Biblioteka Pythona do przechwytywania i wstrzykiwania pakietów
b13664e7
AM
3Name: python-pycap
4Version: 0.1.6
8a7c6988 5Release: 8
b13664e7
AM
6License: BSD
7Group: Libraries/Python
8Source0: http://dl.sourceforge.net/pycap/pycap-%{version}.tar.gz
9# Source0-md5: c90bc5382dede1a941e023e7bc27c473
10URL: http://pycap.sourceforge.net/
11BuildRequires: libnet-devel
55dd37d0 12BuildRequires: libpcap-devel
16fd5976 13BuildRequires: python-devel >= 1:2.5
d9e2bafa 14BuildRequires: rpm-pythonprov
8a7c6988
JB
15BuildRequires: rpmbuild(macros) >= 1.714
16Requires: python-modules >= 1:2.5
b13664e7
AM
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20This package provides the ability to capture packets from, and inject
21packets onto, network interfaces. It supports commonly found protocols
22such as Ethernet, PPP, IP, ARP, TCP, UDP, and ICMP.
23
3c56d8d5
JR
24%description -l pl.UTF-8
25Ten pakiet daje możliwość przechwytywania pakietów oraz wstrzykiwania
26ich poprzez interfejsy sieciowe. Obsługuje często spotykane protokoły
16fd5976
JB
27takie jak Ethernet, PPP, IP, ARP, TCP, UDP i ICMP.
28
b13664e7
AM
29%prep
30%setup -q -n pycap-%{version}
31
32%build
e77a1597 33%py_build
b13664e7
AM
34
35%install
36rm -rf $RPM_BUILD_ROOT
e77a1597
JR
37
38%py_install
8a7c6988 39
e77a1597 40%py_postclean
b13664e7 41
b13664e7
AM
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
8a7c6988 47%doc docs/*.{html,*.css}
b13664e7 48%dir %{py_sitedir}/pycap
b13664e7
AM
49%attr(755,root,root) %{py_sitedir}/pycap/*.so
50%{py_sitedir}/pycap/*.py[co]
51%dir %{py_sitedir}/pycap/constants
52%{py_sitedir}/pycap/constants/*.py[co]
8a7c6988 53%{py_sitedir}/pycap-%{version}-py*.egg-info
This page took 0.050109 seconds and 4 git commands to generate.