File RTLSDR-Scanner.spec of Package RTLSDR-Scanner

#
# spec file for package rtlsdr-scanner
#
# 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:           RTLSDR-Scanner
Version:        1.3.0
Release:        0
Summary:        A Python frequency scanning GUI for the OsmoSDR rtl-sdr library
License:        GPL-3.0
Group:          Productivity/Hamradio/Other
Url:            http://eartoearoak.com/software/rtlsdr-scanner/
#Git-Clone:     https://github.com/EarToEarOak/RTLSDR-Scanner.git
Source0:        https://github.com/EarToEarOak/RTLSDR-Scanner/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.xz
Source1:        wrapper.sh
Requires:       python-matplotlib
Requires:       python-matplotlib-wx
Requires:       python-numpy
Requires:       python-pyrtlsdr
Requires:       python-wxWidgets
Requires:       rtl-sdr
Recommends:     gpsd
BuildArch:      noarch

%description
A Python frequency scanning GUI for the OsmoSDR rtl-sdr library.

%prep
%setup -q

%build

%install
mkdir -p %{buildroot}/%{_datadir}/rtlsdr-scanner
cp -r rtlsdr_scanner/res/ conf/ %{buildroot}/%{_datadir}/rtlsdr-scanner/
cp nsis/rtlsdr_scan.ico %{buildroot}/%{_datadir}/rtlsdr-scanner/
install -Dpm 0755 %{SOURCE1} %{buildroot}/%{_bindir}/rtlsdr-scanner

%files
%doc COPYING readme.md
%{_datadir}/rtlsdr-scanner
%{_bindir}/rtlsdr-scanner

%changelog
openSUSE Build Service is sponsored by