]> git.pld-linux.org Git - packages/gqrx.git/blame - gqrx.spec
- up to 2.3.2
[packages/gqrx.git] / gqrx.spec
CommitLineData
11dfa3ae
AM
1#
2%bcond_with pulseaudio
3#
c1111171
AM
4Summary: Software defined radio receiver powered by GNU Radio and Qt
5Name: gqrx
dd32e5b0 6Version: 2.3.2
e7b196f2 7Release: 1
c1111171 8License: GPL v3+
195207e1 9Group: Applications/Engineering
e7b196f2 10Source0: http://downloads.sourceforge.net/gqrx/%{name}-%{version}.tar.xz
dd32e5b0 11# Source0-md5: 2dae602db3e7d637a01c7deced7fad4f
11dfa3ae 12Patch0: %{name}-nopulse.patch
cba1a377 13URL: http://gqrx.dk/
195207e1
AM
14BuildRequires: QtCore-devel
15BuildRequires: QtGui-devel
16BuildRequires: QtSvg-devel
c1111171
AM
17BuildRequires: boost-devel
18BuildRequires: gnuradio-devel >= 3.7
19BuildRequires: gr-osmosdr-devel
11dfa3ae 20%if %{with pulseaudio}
c1111171 21BuildRequires: pulseaudio-devel
11dfa3ae
AM
22%else
23BuildRequires: portaudio-devel
24%endif
195207e1
AM
25BuildRequires: qt4-qmake
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
c1111171
AM
27
28%description
29Gqrx is a software defined radio receiver powered by the GNU Radio SDR
30framework and the Qt graphical toolkit.
31
32%prep
33%setup -q
11dfa3ae 34%patch0 -p1
c1111171
AM
35
36%build
195207e1
AM
37install -d build
38cd build
39qmake-qt4 \
40 PREFIX=%{_prefix} \
11dfa3ae 41 AUDIO_BACKEND=%{?with_pulseaudio:pulse}%{!?with_pulseaudio:portaudio} \
195207e1
AM
42 ../gqrx.pro
43%{__make}
c1111171
AM
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
195207e1 48%{__make} -C build install \
c1111171
AM
49 INSTALL_ROOT=$RPM_BUILD_ROOT
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
195207e1
AM
56%doc README.md
57%attr(755,root,root) %{_bindir}/gqrx
This page took 0.064314 seconds and 4 git commands to generate.