File dump1090_rs.spec of Package dump1090_rs

#
# spec file for package dump1090_rs
#
# Copyright (c) 2023-2024, 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:           dump1090_rs
Version:        0.8.1
Release:        0
Summary:        ADS-B Demodulator and Server
License:        GPL-2.0-or-later
Group:          Productivity/Hamradio/Other
URL:            https://github.com/rsadsb/dump1090_rs
Source:         https://github.com/rsadsb/dump1090_rs/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1:        vendor.tar.zst
BuildRequires:  cargo
BuildRequires:  clang-devel
BuildRequires:  pkgconfig
BuildRequires:  rust
BuildRequires:  cargo-packaging
BuildRequires:  pkgconfig(SoapySDR) >= 0.6.0

%description
ADS-B Demodulator and Server.

%prep
%autosetup -p 1 -a 1

%build
%{cargo_build}

%install
install -D -m0755 target/release/dump1090_rs %{buildroot}%{_bindir}/dump1090_rs

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

%changelog
openSUSE Build Service is sponsored by