Blob Blame History Raw
# spec file for package acarsdec
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017, 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

Name:           acarsdec
Version:        3.4
Release:        0
Summary:        ACARS SDR decoder 
License:        GPL-2.0-or-later
Patch0:         acarsdec-fix-makefile.diff
#BuildRequires:  pkgconfig(libairspy)
BuildRequires:  pkgconfig(alsa)
BuildRequires:  pkgconfig(librtlsdr)
BuildRequires:  pkgconfig(libusb-1.0)
BuildRequires:  pkgconfig(sndfile)
BuildRequires:  pkgconfig(sqlite3)

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

%setup -q -n %{name}-%{name}-%{version}
%patch0 -p1

export CFLAGS='%{optflags}'
make acarsdec acarsserv %{?_smp_mflags}

install -Dpm 0755 acarsdec %{buildroot}/%{_bindir}/acarsdec
install -Dpm 0755 acarsserv %{buildroot}/%{_bindir}/acarsserv

%doc docs/