File gqrx.spec of Package gqrx
#
# spec file for package gqrx
#
# Copyright (c) 2013-2025 Walter Fey DL8FCL
#
# This file is under MIT license
Name: gqrx
Version: 2.17.7
Release: 0
License: GPL-3.0-only
Summary: Software defined radio receiver
Url: https://gqrx.dk/
Group: Productivity/Hamradio/Other
Source0: %{name}-%{version}.tar.xz
Patch0: %{name}-desktop.diff
BuildRequires: gnuradio-devel
BuildRequires: gr-osmosdr-devel
BuildRequires: hicolor-icon-theme
BuildRequires: libboost_atomic-devel
BuildRequires: libboost_date_time-devel
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_program_options-devel
BuildRequires: libboost_regex-devel
%if 0%{?suse_version} < 1600
BuildRequires: libboost_system-devel
%endif
BuildRequires: libboost_test-devel
BuildRequires: libboost_thread-devel
BuildRequires: orc
BuildRequires: pkgconfig
%if 0%{?suse_version} > 1600
BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6Network)
BuildRequires: pkgconfig(Qt6Svg)
%else
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Svg)
%endif
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(portaudio-2.0)
BuildRequires: pkgconfig(sndfile)
%description
Gqrx is an open source software defined radio receiver (SDR) powered by the
GNU Radio and the Qt graphical toolkit. It supports many of the SDR hardware
available, including Airspy, Funcube Dongles, rtl-sdr, HackRF and USRP devices.
%prep
%autosetup -p1
%build
%cmake
%make_build
%install
%cmake_install
%files
%license COPYING
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/dk.gqrx.gqrx.desktop
%{_datadir}/icons/hicolor/scalable/apps/gqrx.svg
%{_datadir}/metainfo/dk.gqrx.gqrx.appdata.xml
%changelog