File rtl-dab.spec of Package rtl-dab
#
# spec file for package rtl-dab
#
# Copyright (c) 2017, 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: rtl-dab
Version: 0.0.0+git.20150414
Release: 0
Summary: DAB/DAB+ receiver for use with rtl-sdr sticks
License: GPL-2.0 and GPL-3.0
Group: Productivity/Hamradio/Other
Url: https://github.com/maydavid/rtl-dab
Source: %{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: pkgconfig(librtlsdr)
BuildRequires: pkgconfig(fftw3)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
DAB/DAB+ receiver for use with rtl-sdr sticks
Features:
- FIC decoding
- Simple BER Analysis (more to come)
- Mode I supported
%prep
%setup -q
%build
mkdir build
cd build
cmake ..
make %{?_smp_mflags}
%install
install -Dm755 build/src/rtldab %{buildroot}/%{_bindir}/rtldab
%files
%defattr(-,root,root)
%doc README.md
%{_bindir}/rtldab
#%%{_bindir}/rtldab_fault_injection
#%%{_bindir}/rtldab_test
%changelog