Blob Blame History Raw
# spec file for package acarsdec
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2017-2022, Martin Hauke <>
# 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

%define srcname %{name}-%{name}-%{version}
Name:           acarsdec
Version:        3.7
Release:        0
Summary:        ACARS SDR decoder
License:        GPL-2.0-or-later
Patch0:         reproducible.patch
BuildRequires:  cmake
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(libacars-2) >= 2.0.0
BuildRequires:  pkgconfig(libairspy)
BuildRequires:  pkgconfig(librtlsdr)
BuildRequires:  pkgconfig(sndfile)
Provides:       bundled(cJSON)

A multi-channels acars decoder with built-in rtl_sdr front end.
It comes with a database backend : acarsserv to store receved acars messages.

%autosetup -n %{srcname} -p1

%cmake \
  -DLIBRTL=1 \
  -DLIBAIR=1 \