File dumphfdl.spec of Package dumphfdl

#
# spec file for package dumphfdl
#
# Copyright (c) 2021-2025, 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 https://bugs.opensuse.org/
#


Name:           dumphfdl
Version:        1.7.0
Release:        0
Summary:        Multichannel HFDL (High Frequency Data Link) decoder
License:        GPL-3.0-only
Group:          Productivity/Hamradio/Other
URL:            https://github.com/szpajder/dumphfdl
#Git-Clone:     https://github.com/szpajder/dumphfdl.git
Source:         https://github.com/szpajder/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.xz
BuildRequires:  cmake
BuildRequires:  pkgconfig
BuildRequires:  libliquid-devel
BuildRequires:  pkgconfig(fftw3f)
BuildRequires:  pkgconfig(SoapySDR)
BuildRequires:  pkgconfig(glib-2.0) >= 2.46
BuildRequires:  pkgconfig(libacars-2) >= 2.1.0
BuildRequires:  pkgconfig(libconfig++)
BuildRequires:  pkgconfig(libzmq) >= 3.2.0
BuildRequires:  pkgconfig(rdkafka) >= 1.8.0
BuildRequires:  pkgconfig(sqlite3)
Recommends:     sqlite3

%description
A multichannel HFDL (High Frequency Data Link) decoder.

Features:
 * Decodes multiple channels simultaneously, up to available CPU
   power and SDR bandwidth (no fixed channel count limit)
 * Interfaces directly with SDR hardware via SoapySDR library
   (no pipes / virtual audio cables needed)
 * Reads prerecorded I/Q data from a file
 * Automatically reassembles multiblock ACARS messages and MIAM
   file transfers
 * Supports various outputs and output formats (see below)
 * Enriches logged messages with data from external sources:
 * - ground station details - from the system table file
 * - aircraft data - from Basestation SQLite database
 * Extracts aircraft position information from decoded messages
   and provides a data feed for external plane tracking apps
   (eg. Virtual Radar Server)
 * Produces decoding statistics using Etsy StatsD protocol

%prep
%autosetup

%build
%cmake \
 -DSOAPYSDR=ON \
 -DETSY_STATSD=OFF \
 -DSQLITE=ON \
 -DZMQ=ON
%make_jobs

%install
%cmake_install

%files
%license LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/dumphfdl

%changelog
openSUSE Build Service is sponsored by