File rtl-power-fftw.spec of Package rtl-power-fftw

#
# spec file for package rtl-power-fftw
#
# 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-power-fftw
Version:        0.0.0+git.20170312
Release:        0
Summary:        Power spectrum for RTLSDR dongles
License:        GPL-3.0
Group:          Productivity/Hamradio/Other
Url:            https://github.com/AD-Vega/rtl-power-fftw
Source:         %{name}-%{version}.tar.xz
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  pkg-config
BuildRequires:  tclap
BuildRequires:  pkgconfig(fftw3)
BuildRequires:  pkgconfig(librtlsdr)
BuildRequires:  pkgconfig(libusb-1.0)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
rtl_power_fftw is a program that obtains a power spectrum from RTL devices using
the FFTW library to do FFT. It is inspired by the program rtl_power in librtlsdr.

%prep
%setup -q

%build
%cmake
make VERBOSE=1 %{?_smp_mflags}

%install
%cmake_install

%files
%defattr(-,root,root)
%doc COPYING README.md
%{_bindir}/rtl_power_fftw
%{_mandir}/man1/rtl_power_fftw.1%{ext_man}

%changelog
openSUSE Build Service is sponsored by