rpm build

This commit is contained in:
2025-03-22 12:58:26 +01:00
parent 4c37704ddc
commit 94266b53a9
2 changed files with 46 additions and 1 deletions

27
pcapmirror.spec Normal file
View File

@@ -0,0 +1,27 @@
Name: pcapmirror
Version: 0.2
Release: %autorelease
Summary: A simple packet capture mirror
License: BSD 3-Clause License
URL: https://git.freestone.net/cramer/pcapmirror
Source: https://git.freestone.net/cramer/pcapmirror/-/archive/v%version/pcapmirror-v%version.tar.gz
BuildRequires: gcc
BuildRequires: make
BuildRequires: libpcap-devel
%description
pcapmirror is a command-line tool for capturing and mirroring network traffic using TZSP encapsulation. It leverages the `libpcap` library for packet capture and supports BPF syntax for filtering traffic.
%build
%make_build
%install
%make_install
%files
%{_bindir}/pcapmirror
%license LICENSE
%doc README.md
%changelog
%autochangelog