File darc2json.spec of Package darc2json
#
# spec file for package darc2json
#
# Copyright (c) 2018, 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 http://bugs.opensuse.org/
#
Name: darc2json
Version: 0.0.0.git1522476635.0282227
Release: 0
Summary: Decoder for DARC subcarriers on FM radio
License: MIT
Group: Productivity/Hamradio/Other
URL: https://github.com/windytan/darc2json
#Git-Clone: https://github.com/windytan/darc2json.git
Source: %{name}-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libliquid-devel
BuildRequires: libsndfile-devel
Recommends: rtl-sdr
Recommends: jq
%description
darc2json is a DARC demodulator for Linux/macOS. It takes an FM multiplex
signal as input, in raw PCM format, and outputs line-delimited JSON messages.
It was designed to be used with the RTL-SDR tool rtl_fm, but it can read
any FM multiplex signals.
The default input sample rate is 228 kHz.
%prep
%setup -q
%build
autoreconf -fiv
%configure
make VERBOSE=1 %{?_smp_mflags}
%install
%make_install
rm %{buildroot}/%{_datadir}/doc/darc2json/README.md
%files
%license LICENSE
%doc README.md
%{_bindir}/darc2json
%changelog