File sdr-server.spec of Package sdr-server
#
# spec file for package sdr-server
#
# Copyright (c) 2021, 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: sdr-server
Version: 0~git1612548789.eac5e2d
Release: 0
Summary: High performant TCP server for rtl-sdr
License: GPL-2.0-or-later
Group: Productivity/Hamradio/Other
URL: https://github.com/dernasherbrezon/sdr-server
#Git-Clone: https://github.com/dernasherbrezon/sdr-server
Source: sdr-server-%{version}.tar.xz
Patch0: x.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig(check)
BuildRequires: pkgconfig(volk)
BuildRequires: pkgconfig(librtlsdr)
BuildRequires: pkgconfig(libconfig)
BuildRequires: pkgconfig(zlib)
%description
High performant TCP server for rtl-sdr.
Key features:
- Share available RF bandwidth between several independent clients:
+ Total bandwidth can be 2016000 samples/sec at 436,600,000 hz
+ One client might request 48000 samples/sec at 436,700,000 hz
+ Another client might request 96000 samples/sec at 435,000,000 hz
- Several clients can access the same band simultaneously
- Output saved onto disk or streamed back via TCP socket
- Output can be gzipped (by default = true)
- Output will be decimated to the requested bandwidth
- Clients can request overlapping RF spectrum
- Rtl-sdr starts only after first client connects (i.e. saves solar
power &etc). Stops only when the last client disconnects
%prep
%setup -q
%patch0 -p1
%build
%cmake
%make_jobs
%install
%cmake_install
%files
%license LICENSE
%doc README.md
%doc ./test/resources/configuration.config
%{_bindir}/sdr_server
%changelog