Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:plater
python-pcapy
python-pcapy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pcapy.spec of Package python-pcapy
# # spec file for package python-TraitsGUI # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-pcapy Version: 0.11.4 Release: 0 Summary: Python Pcap Extension URL: https://pypi.org/project/pcapy/ License: Apache-1.1 Group: Development/Libraries/Python Source: https://files.pythonhosted.org/packages/b0/68/b49e008f9e2b5ab727fb4b820c2e7d0914bd8dacb3c2d668a36b6e5d8991/pcapy-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: gcc-c++ BuildRequires: libpcap-devel %if 0%{?suse_version} PreReq: python >= 3.6 %endif %{!?python3_sitelib: %global python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python3_lib; print get_python3_lib()")} %{!?python3_sitearch: %global python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python3_lib; print get_python3_lib(1)")} %description Pcapy is a Python extension module that enables software written in Python to access the routines from the pcap packet capture library. From libpcap's documentation: "Libpcap is a system-independent interface for user-level packet capture. Libpcap provides a portable framework for low-level network monitoring. Applications include network statistics collection, security monitoring, network debugging, etc." %prep %setup -q -n pcapy-%{version} %autopatch -p1 %build export CFLAGS="%{optflags}" python3 setup.py build %install sed -i 's|\r||' ChangeLog LICENSE README # Fix wrong EOL encoding python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} rm -rf %{buildroot}%{_datadir}/doc %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc ChangeLog README pcapy.html %license LICENSE %{python3_sitearch}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor