|
Bernhard M. Wiedemann |
830673 |
#
|
|
Bernhard M. Wiedemann |
830673 |
# spec file for package acarsdec
|
|
Bernhard M. Wiedemann |
830673 |
#
|
|
|
3926ab |
# Copyright (c) 2022 SUSE LLC
|
|
|
3926ab |
# Copyright (c) 2017-2022, Martin Hauke <mardnh@gmx.de>
|
|
Bernhard M. Wiedemann |
830673 |
#
|
|
Bernhard M. Wiedemann |
830673 |
# All modifications and additions to the file contributed by third parties
|
|
Bernhard M. Wiedemann |
830673 |
# remain the property of their copyright owners, unless otherwise agreed
|
|
Bernhard M. Wiedemann |
830673 |
# upon. The license for this file, and modifications and additions to the
|
|
Bernhard M. Wiedemann |
830673 |
# file, is the same license as for the pristine package itself (unless the
|
|
Bernhard M. Wiedemann |
830673 |
# license for the pristine package is not an Open Source License, in which
|
|
Bernhard M. Wiedemann |
830673 |
# case the license is the MIT License). An "Open Source License" is a
|
|
Bernhard M. Wiedemann |
830673 |
# license that conforms to the Open Source Definition (Version 1.9)
|
|
Bernhard M. Wiedemann |
830673 |
# published by the Open Source Initiative.
|
|
Bernhard M. Wiedemann |
830673 |
|
|
Bernhard M. Wiedemann |
3b8d27 |
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
Bernhard M. Wiedemann |
830673 |
#
|
|
Bernhard M. Wiedemann |
830673 |
|
|
Bernhard M. Wiedemann |
830673 |
|
|
|
fface6 |
%define srcname %{name}-%{name}-%{version}
|
|
Bernhard M. Wiedemann |
830673 |
Name: acarsdec
|
|
|
fface6 |
Version: 3.7
|
|
Bernhard M. Wiedemann |
830673 |
Release: 0
|
|
|
3926ab |
Summary: ACARS SDR decoder
|
|
Bernhard M. Wiedemann |
3b8d27 |
License: GPL-2.0-or-later
|
|
|
3926ab |
URL: https://github.com/TLeconte/acarsdec
|
|
Bernhard M. Wiedemann |
830673 |
#Git-Clone: https://github.com/TLeconte/acarsdec.git
|
|
|
fface6 |
Source: https://github.com/TLeconte/acarsdec/archive/acarsdec-%{version}.tar.gz#/%{srcname}.tar.gz
|
|
|
395cd4 |
Patch0: reproducible.patch
|
|
|
3926ab |
BuildRequires: cmake
|
|
|
3926ab |
BuildRequires: pkgconfig
|
|
|
3926ab |
BuildRequires: pkgconfig(libacars-2) >= 2.0.0
|
|
|
3926ab |
BuildRequires: pkgconfig(libairspy)
|
|
Bernhard M. Wiedemann |
830673 |
BuildRequires: pkgconfig(librtlsdr)
|
|
Bernhard M. Wiedemann |
830673 |
BuildRequires: pkgconfig(sndfile)
|
|
|
3926ab |
Provides: bundled(cJSON)
|
|
Bernhard M. Wiedemann |
830673 |
|
|
Bernhard M. Wiedemann |
830673 |
%description
|
|
Bernhard M. Wiedemann |
830673 |
A multi-channels acars decoder with built-in rtl_sdr front end.
|
|
Bernhard M. Wiedemann |
830673 |
It comes with a database backend : acarsserv to store receved acars messages.
|
|
Bernhard M. Wiedemann |
830673 |
|
|
Bernhard M. Wiedemann |
830673 |
%prep
|
|
|
fface6 |
%setup -q -n %{srcname}
|
|
|
395cd4 |
%patch0 -p1
|
|
Bernhard M. Wiedemann |
830673 |
|
|
Bernhard M. Wiedemann |
830673 |
%build
|
|
|
3926ab |
%cmake \
|
|
|
3926ab |
-DLIBRTL=1 \
|
|
|
3926ab |
-DLIBAIR=1 \
|
|
|
3926ab |
-DMQTT=0
|
|
|
3926ab |
%make_build
|
|
Bernhard M. Wiedemann |
830673 |
|
|
Bernhard M. Wiedemann |
830673 |
%install
|
|
|
3926ab |
%cmake_install
|
|
Bernhard M. Wiedemann |
830673 |
|
|
Bernhard M. Wiedemann |
830673 |
%files
|
|
|
3926ab |
%doc README.md
|
|
Bernhard M. Wiedemann |
830673 |
%{_bindir}/acarsdec
|
|
Bernhard M. Wiedemann |
830673 |
|
|
Bernhard M. Wiedemann |
830673 |
%changelog
|