]> git.pld-linux.org Git - SPECS.git/blob - python-pylibpcap.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / python-pylibpcap.spec
1 Summary:        A Python interface to libpcap
2 Summary(pl.UTF-8):      Interfejs Pythona do libpcap
3 Name:           python-pylibpcap
4 Version:        0.4
5 Release:        9
6 License:        BSD
7 Group:          Libraries/Python
8 Source0:        http://dl.sourceforge.net/pylibpcap/pylibpcap-%{version}.tar.gz
9 # Source0-md5:  38c9a47db4113594b57aa0944b1ebdcf
10 Patch0:         %{name}-swig_sources.patch
11 URL:            http://pylibpcap.sourceforge.net/
12 BuildRequires:  rpmbuild(macros) >= 1.710
13 BuildRequires:  python-devel >= 2.2.1
14 BuildRequires:  libpcap-devel
15 BuildRequires:  python-modules
16 BuildRequires:  rpm-pythonprov
17 %pyrequires_eq  python-modules
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Python module for the libpcap packet capture library, based on the
22 original Python libpcap module by Aaron Rhodes.
23
24 %description -l pl.UTF-8
25 Moduł Pythona do przechwytywania pakietów za pomocą biblioteki
26 libpcap.
27
28 %prep
29 %setup -q -n pylibpcap-%{version}
30 %patch0 -p1
31
32 %build
33 %py_build
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %py_install
39 %py_postclean
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc README
47 %attr(755,root,root) %{py_sitedir}/*.so
48 %{py_sitedir}/*.py[co]
49 %{py_sitedir}/pylibpcap-%{version}-py*.egg-info
This page took 0.132162 seconds and 3 git commands to generate.