File qradiolink.spec of Package qradiolink

# spec file for package qradiolink
# Copyright (c) 2017-2020, Martin Hauke <>
# 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

%define realver 0.8.5-2
Name:           qradiolink
Version:        0.8.5
Release:        0
Summary:        SDR TX/RX
License:        GPL-3.0
Group:          Productivity/Hamradio/Other
%if 0%{?suse_version} > 1325
BuildRequires:  libboost_program_options-devel
BuildRequires:  libboost_system-devel
BuildRequires:  libboost_thread-devel
BuildRequires:  boost-devel
BuildRequires:  gcc-c++
BuildRequires:  gnuradio-devel
BuildRequires:  libgsm-devel
BuildRequires:  libjpeg-devel
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Multimedia)
BuildRequires:  pkgconfig(Qt5Concurrent)
BuildRequires:  pkgconfig
BuildRequires:  qwt-devel
BuildRequires:  gr-osmosdr-devel
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(alsa)
BuildRequires:  pkgconfig(sndfile)
BuildRequires:  pkgconfig(codec2)
BuildRequires:  pkgconfig(libconfig++)
BuildRequires:  pkgconfig(libpulse)
BuildRequires:  pkgconfig(opus)
BuildRequires:  pkgconfig(protobuf)
BuildRequires:  pkgconfig(speex)
BuildRequires:  pkgconfig(libftdi)
Requires(post): update-desktop-files
Requires(postun): update-desktop-files

QRadioLink is a GUI for a collection of GNURadio modems, built for
hobbyists, tinkerers and radio enthusiasts, which allows experimenting
with SDR hardware using different digital and analog modes.

It can also be used as a SDR transceiver for amateur radio.

%setup -q -n %{name}-%{realver}

mkdir build
cd src/ext
protoc --cpp_out=. Mumble.proto
protoc --cpp_out=. QRadioLink.proto
cd ../..
make %{?_smp_mflags}

install -d %{buildroot}/%{_bindir}
install -m0755 qradiolink %{buildroot}/%{_bindir}
install -Dm0644 src/res/logo.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png
%suse_update_desktop_file -c qradiolink QRadioLink "SDR TX/RX" qradiolink qradiolink "Network;HamRadio"


openSUSE Build Service is sponsored by