File fcl.spec of Package fcl

#
# spec file for package fcl
#
# 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:           fcl
Version:        0.0.0+git.20160811
Release:        0
Summary:        A fast spectrum channelizer
License:        MIT
Group:          Productivity/Hamradio/Other
URL:            https://brmlab.cz/project/sdr/fcl
Source:         %{name}-%{version}.tar.xz
Patch0:         fcl-fix-makefile.patch
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(fftw3f)
BuildRequires:  pkgconfig(volk)

%description
FCL splits wideband spectrum from your SDR into narrowband channels.
This is useful for networks that have lots of transmitters side-by-side,
like for example FM broadcast, TETRA, Tetrapol and GSM.

It supports everything you would expect from a decent channelizer:

 * Channelization
 * Oversampling and overlapping channels.
 * On-the-fly frequency correction and signal power detection.
 * Multiple input formats (float, unsigned and signed integer).
 * Multithreading.

%prep
%setup -q
%patch0 -p1

%build
export CFLAGS='%{optflags}'
make VERBOSE=1 %{?_smp_mflags}

%install
install -Dpm 0755 fcl %{buildroot}/%{_bindir}/fcl

%files
%doc fir.py examples/tetra.py
%{_bindir}/fcl

%changelog
openSUSE Build Service is sponsored by