Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:linkedprojecttest
mingw32-libpcap
mingw32-libpcap.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-libpcap.spec of Package mingw32-libpcap
# # spec file for package mingw32-libpcap # # Copyright (c) 2024, Martin Hauke <mardnh@gmx.de> # # 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/ # %define realname libpcap Name: mingw32-libpcap Version: 1.10.4 Release: 0 Summary: A Library for Network Sniffers License: BSD-3-Clause Group: Development/Libraries/C and C++ #Git-Clone: https://github.com/the-tcpdump-group/libpcap.git URL: https://www.tcpdump.org/ Source: https://www.tcpdump.org/release/%{realname}-%{version}.tar.gz BuildRequires: flex BuildRequires: bison BuildRequires: mingw32-cross-cmake BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-filesystem %_mingw32_package_header_debug BuildArch: noarch %description libpcap is a library used by packet sniffer programs. It provides an interface for them to capture and analyze packets from network devices. This package is only needed if you plan to compile or write such a program yourself. %package devel Summary: A Library for Network Sniffers Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel libpcap is a library used by packet sniffer programs. It provides an interface for them to capture and analyze packets from network devices. This package is only needed if you plan to compile or write such a program yourself. %_mingw32_debug_package %prep %setup -q -n %{realname}-%{version} %build %{_mingw32_cmake} -DENABLE_REMOTE=OFF %{_mingw32_cmake_build} %install %{_mingw32_cmake_install} rm %{buildroot}%{_mingw32_libdir}/libpcap.a %files %{_mingw32_bindir}/pcap.dll %files devel %license LICENSE %doc CHANGES CREDITS README.md doc/README.linux TODO %exclude %{_mingw32_bindir}/pcap-config %{_mingw32_includedir}/pcap %{_mingw32_includedir}/pcap.h %{_mingw32_includedir}/pcap-* %{_mingw32_libdir}/libpcap.dll.a %{_mingw32_libdir}/pkgconfig/libpcap.pc %{_mingw32_mandir}/man[1-8]/* %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