]>
Commit | Line | Data |
---|---|---|
c1111171 AM |
1 | Summary: Software defined radio receiver powered by GNU Radio and Qt |
2 | Name: gqrx | |
3 | Version: 2.2.0 | |
a9c5f3d5 | 4 | Release: 3 |
c1111171 | 5 | License: GPL v3+ |
195207e1 | 6 | Group: Applications/Engineering |
c1111171 AM |
7 | Source0: http://downloads.sourceforge.net/gqrx/%{name}-%{version}-src.tar.gz |
8 | # Source0-md5: ff771b9c31ee17f704859398362b8cc0 | |
cba1a377 | 9 | URL: http://gqrx.dk/ |
195207e1 AM |
10 | BuildRequires: QtCore-devel |
11 | BuildRequires: QtGui-devel | |
12 | BuildRequires: QtSvg-devel | |
c1111171 AM |
13 | BuildRequires: boost-devel |
14 | BuildRequires: gnuradio-devel >= 3.7 | |
15 | BuildRequires: gr-osmosdr-devel | |
16 | BuildRequires: pulseaudio-devel | |
195207e1 AM |
17 | BuildRequires: qt4-qmake |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
c1111171 AM |
19 | |
20 | %description | |
21 | Gqrx is a software defined radio receiver powered by the GNU Radio SDR | |
22 | framework and the Qt graphical toolkit. | |
23 | ||
24 | %prep | |
25 | %setup -q | |
26 | ||
27 | %build | |
195207e1 AM |
28 | install -d build |
29 | cd build | |
30 | qmake-qt4 \ | |
31 | PREFIX=%{_prefix} \ | |
32 | ../gqrx.pro | |
33 | %{__make} | |
c1111171 AM |
34 | |
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
195207e1 | 38 | %{__make} -C build install \ |
c1111171 AM |
39 | INSTALL_ROOT=$RPM_BUILD_ROOT |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
195207e1 AM |
46 | %doc README.md |
47 | %attr(755,root,root) %{_bindir}/gqrx |