4 Summary: Software defined radio receiver powered by GNU Radio and Qt
9 Group: Applications/Engineering
10 Source0: http://downloads.sourceforge.net/gqrx/%{name}-%{version}-src.tar.gz
11 # Source0-md5: ff771b9c31ee17f704859398362b8cc0
12 Patch0: %{name}-nopulse.patch
14 BuildRequires: QtCore-devel
15 BuildRequires: QtGui-devel
16 BuildRequires: QtSvg-devel
17 BuildRequires: boost-devel
18 BuildRequires: gnuradio-devel >= 3.7
19 BuildRequires: gr-osmosdr-devel
20 %if %{with pulseaudio}
21 BuildRequires: pulseaudio-devel
23 BuildRequires: portaudio-devel
25 BuildRequires: qt4-qmake
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Gqrx is a software defined radio receiver powered by the GNU Radio SDR
30 framework and the Qt graphical toolkit.
41 AUDIO_BACKEND=%{?with_pulseaudio:pulse}%{!?with_pulseaudio:portaudio} \
46 rm -rf $RPM_BUILD_ROOT
48 %{__make} -C build install \
49 INSTALL_ROOT=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %attr(755,root,root) %{_bindir}/gqrx