4 Summary: Software defined radio receiver powered by GNU Radio and Qt
9 Group: Applications/Engineering
10 Source0: https://github.com/csete/gqrx/releases/download/v%{version}/%{name}-sdr-%{version}-src.tar.xz
11 # Source0-md5: fed4994d5c04daf70cb19e2393da7a04
13 BuildRequires: Qt5Core-devel
14 BuildRequires: Qt5Gui-devel
15 BuildRequires: Qt5Svg-devel
16 BuildRequires: boost-devel
17 BuildRequires: gnuradio-devel >= 3.7
18 BuildRequires: gr-osmosdr-devel
19 %if %{with pulseaudio}
20 BuildRequires: pulseaudio-devel
22 BuildRequires: portaudio-devel
24 BuildRequires: qt5-qmake
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Gqrx is a software defined radio receiver powered by the GNU Radio SDR
29 framework and the Qt graphical toolkit.
32 %setup -q -n %{name}-sdr-%{version}
39 AUDIO_BACKEND=%{?with_pulseaudio:pulse}%{!?with_pulseaudio:portaudio} \
44 rm -rf $RPM_BUILD_ROOT
46 %{__make} -C build install \
47 INSTALL_ROOT=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %attr(755,root,root) %{_bindir}/gqrx