File sdr-rx.spec of Package sdr-rx

#
# spec file for package sdr-rx
#
# Copyright (c) 2019, 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:           sdr-rx
Version:        0.1.0
Release:        0
Summary:        A simple SDR receiver using libsdr
License:        GPL-2.0-or-later
Group:          Productivity/Hamradio/Other
URL:            https://github.com/hmatuschek/sdr-rx
#Git-Clone:     https://github.com/hmatuschek/sdr-rx.git
Source:         https://github.com/hmatuschek/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0:         sdr-rx-fix-desktop-file-and-iconpath.patch
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  libsdr-devel
BuildRequires:  libsdr-gui-devel
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Widgets)

%description
A simple SDR receiver application using libsdr.
It supports several input sources (i.e. sound card, files, RTL2382
dongles etc.) and modes (i.e. AM, FM, SSB, CW, etc.).

%prep
%setup -q
%patch0 -p1

%build
%cmake
%make_jobs

%install
%cmake_install

%files
%license LICENSE
%doc README.md
%{_bindir}/sdr-rx
%{_datadir}/applications/sdr-rx.desktop
%{_datadir}/icons/hicolor/scalable/apps/sdr-rx.svg

%changelog
openSUSE Build Service is sponsored by