File packetq.spec of Package packetq
#
# spec file for package packetq
#
# Copyright (c) 2017-2020, 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/
#
Name: packetq
Version: 1.4.3
Release: 0
Summary: CLI tool to run SQL queries directly on PCAP files
License: GPL-3.0-or-later
Group: Productivity/Networking/DNS/Utilities
URL: https://www.dns-oarc.net/tools/packetq
Source: https://www.dns-oarc.net/files/packetq/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: zlib-devel
%description
A command line tool to run SQL queries directly on PCAP files, the results
can be outputted as JSON (default), formatted/compact CSV and XML.#
It also contain a very simplistic web-server in order to inspect PCAP files
remotely.
PacketQ was previously known as DNS2db but was renamed in 2011 when it was
rebuilt and could handle protocols other than DNS among other things.
%prep
%setup -q
%build
%configure
%make_build
%install
%make_install
rm -r %{buildroot}/%{_datadir}/doc/packetq
%check
%make_build check
%files
%license COPYING
%doc CHANGES FAQ.md FIELDS.md FUNCTIONS.md README.md
%{_bindir}/packetq
%changelog