File adsb_deku.spec of Package adsb_deku
#
# spec file for package adsb_deku
#
# Copyright (c) 2023, 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: adsb_deku
Version: 2023.11.22
Release: 0
Summary: ADS-B decoder + tui radar application
License: GPL-2.0-or-later
Group: Productivity/Hamradio/Other
URL: https://github.com/rsadsb/adsb_deku/
Source: https://github.com/rsadsb/adsb_deku/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo
BuildRequires: cargo-packaging
BuildRequires: clang-devel
BuildRequires: pkgconfig
BuildRequires: rust
%description
ADS-B decoder + tui radar application:
* adsb_deku_radar
An ADS-B client for the terminal written in Rust. Radar
connects to an ADS-B demodulation server and stores this
info, allowing an operator to control the display of the
data.
* adsb_deku_1090
Display protocol data structures and currently tracked planes
using this library in the same fashion as dump1090-fa to a
terminal stdout. Optionally panic on missing
implementation or fmt::Display, see > "adsb_deku_1090 -h".
%prep
%autosetup -p 1 -a 1
%build
%{cargo_build}
%install
install -D -m0755 target/release/radar %{buildroot}%{_bindir}/adsb_deku_radar
install -D -m0755 target/release/1090 %{buildroot}%{_bindir}/adsb_deku_1090
%files
%license LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/adsb_deku_radar
%{_bindir}/adsb_deku_1090
%changelog