1 |
%define major 0 |
2 |
%define libuhd %mklibname %{name}-uhd %{major} |
3 |
%define devuhd %mklibname %{name}-uhd -d |
4 |
%define libdigital %mklibname %{name}-digital %{major} |
5 |
%define devdigital %mklibname %{name}-digital -d |
6 |
%define libvolk %mklibname %{name}-volk %{major} |
7 |
%define devvolk %mklibname %{name}-volk -d |
8 |
%define libatsc %mklibname %{name}-atsc %{major} |
9 |
%define devatsc %mklibname %{name}-atsc -d |
10 |
%define libaudio %mklibname %{name}-audio %{major} |
11 |
%define devaudio %mklibname %{name}-audio -d |
12 |
%define libruntime %mklibname %{name}-runtime %{major} |
13 |
%define devruntime %mklibname %{name}-runtime -d |
14 |
%define libvocoder %mklibname %{name}-vocoder %{major} |
15 |
%define devvocoder %mklibname %{name}-vocoder -d |
16 |
%define libnoaa %mklibname %{name}-noaa %{major} |
17 |
%define devnoaa %mklibname %{name}-noaa -d |
18 |
%define libpager %mklibname %{name}-pager %{major} |
19 |
%define devpager %mklibname %{name}-pager -d |
20 |
%define libqtgui %mklibname %{name}-qtgui %{major} |
21 |
%define devqtgui %mklibname %{name}-qtgui -d |
22 |
%define libtrellis %mklibname %{name}-trellis %{major} |
23 |
%define devtrellis %mklibname %{name}-trellis -d |
24 |
%define libvideo_sdl %mklibname %{name}-video-sdl %{major} |
25 |
%define devvideo_sdl %mklibname %{name}-video-sdl -d |
26 |
%define libfcd %mklibname %{name}-fcd %{major} |
27 |
%define devfcd %mklibname %{name}-fcd -d |
28 |
%define libwavelet %mklibname %{name}-wavelet %{major} |
29 |
%define devwavelet %mklibname %{name}-wavelet -d |
30 |
%define libfft %mklibname %{name}-fft %{major} |
31 |
%define devfft %mklibname %{name}-fft -d |
32 |
%define libfilter %mklibname %{name}-filter %{major} |
33 |
%define devfilter %mklibname %{name}-filter -d |
34 |
%define libanalog %mklibname %{name}-analog %{major} |
35 |
%define devanalog %mklibname %{name}-analog -d |
36 |
%define libblocks %mklibname %{name}-blocks %{major} |
37 |
%define devblocks %mklibname %{name}-blocks -d |
38 |
%define libwxgui %mklibname %{name}-wxgui %{major} |
39 |
%define devwxgui %mklibname %{name}-wxgui -d |
40 |
%define libchannels %mklibname %{name}-channels %{major} |
41 |
%define devchannels %mklibname %{name}-channels -d |
42 |
%define libfec %mklibname %{name}-fec %{major} |
43 |
%define devfec %mklibname %{name}-fec -d |
44 |
%define libpmt %mklibname %{name}-pmt %{major} |
45 |
%define devpmt %mklibname %{name}-pmt -d |
46 |
%define libzeromq %mklibname %{name}-zeromq %{major} |
47 |
%define devzeromq %mklibname %{name}-zeromq -d |
48 |
%define libdtv %mklibname %{name}-dtv %{major} |
49 |
%define devdtv %mklibname %{name}-dtv -d |
50 |
|
51 |
# The following retained only for obsoletes |
52 |
%define libcore %mklibname %{name}-core %{major} |
53 |
%define devcore %mklibname %{name}-core -d |
54 |
%define libgruel %mklibname gruel %{major} |
55 |
%define devgruel %mklibname gruel -d |
56 |
|
57 |
####################################################### |
58 |
# Set release here! |
59 |
%define rel 1 |
60 |
|
61 |
# For official releases define rev 0 otherwise use git revision |
62 |
%define rev 0 |
63 |
|
64 |
%if %{rev} |
65 |
%define release %mkrel -c %{rev} %{rel} |
66 |
%else |
67 |
%define release %mkrel %{rel} |
68 |
%endif |
69 |
|
70 |
####################################################### |
71 |
Name: gnuradio |
72 |
Version: 3.7.5 |
73 |
Release: %{release} |
74 |
Summary: Software defined radio framework |
75 |
Group: Communications/Radio |
76 |
License: GPLv3+ |
77 |
URL: http://www.gnuradio.org |
78 |
%if %{rev} |
79 |
Source0: %{name}-%{version}-%{rev}.tar.gz |
80 |
%else |
81 |
Source0: http://gnuradio.org/releases/gnuradio/%{name}-%{version}.tar.gz |
82 |
%endif |
83 |
|
84 |
# Create tarball from git with: |
85 |
# $ ./make-tarball gnuradio http://gnuradio.org/git/gnuradio.git |
86 |
# See note in make-tarball script |
87 |
Source1: make-tarball |
88 |
|
89 |
Patch0: gnuradio-3.7.1-mga-cmakelists.patch |
90 |
|
91 |
BuildRequires: cmake |
92 |
BuildRequires: fftw-devel |
93 |
BuildRequires: cppunit-devel |
94 |
BuildRequires: wxPython |
95 |
BuildRequires: xmlto |
96 |
BuildRequires: graphviz |
97 |
BuildRequires: boost-devel |
98 |
BuildRequires: python-devel |
99 |
BuildRequires: swig |
100 |
BuildRequires: doxygen |
101 |
BuildRequires: pkgconfig(libusb) |
102 |
BuildRequires: pkgconfig(alsa) |
103 |
BuildRequires: pkgconfig(sdl) |
104 |
BuildRequires: pkgconfig(guile-2.0) |
105 |
BuildRequires: portaudio-devel |
106 |
BuildRequires: libtool |
107 |
BuildRequires: gsl-devel |
108 |
BuildRequires: python-qt4-devel |
109 |
BuildRequires: libqwtplot3d-devel |
110 |
BuildRequires: python-cheetah |
111 |
BuildRequires: xdg-utils |
112 |
BuildRequires: python-lxml |
113 |
BuildRequires: pygtk2.0-libglade |
114 |
BuildRequires: liborc-devel |
115 |
BuildRequires: uhd-devel |
116 |
BuildRequires: python-numpy |
117 |
BuildRequires: libcanberra-gtk-devel |
118 |
BuildRequires: qwt5-devel |
119 |
BuildRequires: python-ice-devel |
120 |
BuildRequires: ice-devel |
121 |
BuildRequires: pkgconfig(libzmq) = 4.0.4 |
122 |
BuildRequires: python-pyzmq |
123 |
BuildRequires: python-qt4-core |
124 |
BuildRequires: codec2-devel |
125 |
|
126 |
Requires(pre): shadow-utils |
127 |
|
128 |
Requires: %{name}-companion = %{version}-%{release} |
129 |
Requires: %{name}-doc = %{version}-%{release} |
130 |
Requires: %{name}-examples = %{version}-%{release} |
131 |
Requires: %{name}-noaa = %{version}-%{release} |
132 |
Requires: %{name}-pager = %{version}-%{release} |
133 |
Requires: %{name}-utils = %{version}-%{release} |
134 |
Requires: %{libatsc} = %{version}-%{release} |
135 |
Requires: %{libruntime} = %{version}-%{release} |
136 |
Requires: %{libnoaa} = %{version}-%{release} |
137 |
Requires: %{libpager} = %{version}-%{release} |
138 |
Requires: %{libqtgui} = %{version}-%{release} |
139 |
Requires: %{libtrellis} = %{version}-%{release} |
140 |
Requires: %{libvideo_sdl} = %{version}-%{release} |
141 |
Requires: %{libuhd} = %{version}-%{release} |
142 |
Requires: %{libdigital} = %{version}-%{release} |
143 |
Requires: %{libvolk} = %{version}-%{release} |
144 |
Requires: %{libaudio} = %{version}-%{release} |
145 |
Requires: %{libvocoder} = %{version}-%{release} |
146 |
Requires: %{libfcd} = %{version}-%{release} |
147 |
Requires: %{libwavelet} = %{version}-%{release} |
148 |
Requires: %{libfft} = %{version}-%{release} |
149 |
Requires: %{libfilter} = %{version}-%{release} |
150 |
Requires: %{libanalog} = %{version}-%{release} |
151 |
Requires: %{libblocks} = %{version}-%{release} |
152 |
Requires: %{libwxgui} = %{version}-%{release} |
153 |
Requires: %{libchannels} = %{version}-%{release} |
154 |
Requires: %{libfec} = %{version}-%{release} |
155 |
Requires: %{libpmt} = %{version}-%{release} |
156 |
Requires: %{libzeromq} = %{version}-%{release} |
157 |
Requires: %{libdtv} = %{version}-%{release} |
158 |
|
159 |
Requires: python-%{name}-atsc = %{version}-%{release} |
160 |
Requires: python-%{name}-runtime = %{version}-%{release} |
161 |
Requires: python-%{name}-qtgui = %{version}-%{release} |
162 |
Requires: python-%{name}-trellis = %{version}-%{release} |
163 |
Requires: python-%{name}-video-sdl = %{version}-%{release} |
164 |
Requires: python-%{name}-wxgui = %{version}-%{release} |
165 |
Requires: python-%{name}-digital = %{version}-%{release} |
166 |
Requires: python-%{name}-vocoder = %{version}-%{release} |
167 |
Requires: python-%{name}-audio = %{version}-%{release} |
168 |
Requires: python-%{name}-uhd = %{version}-%{release} |
169 |
Requires: python-%{name}-fcd = %{version}-%{release} |
170 |
Requires: python-%{name}-wavelet = %{version}-%{release} |
171 |
Requires: python-%{name}-fft = %{version}-%{release} |
172 |
Requires: python-%{name}-filter = %{version}-%{release} |
173 |
Requires: python-%{name}-modtool = %{version}-%{release} |
174 |
Requires: python-%{name}-channels = %{version}-%{release} |
175 |
Requires: python-%{name}-fec = %{version}-%{release} |
176 |
Requires: python-%{name}-pmt = %{version}-%{release} |
177 |
Requires: python-%{name}-blocks = %{version}-%{release} |
178 |
Requires: python-%{name}-analog = %{version}-%{release} |
179 |
Requires: python-%{name}-zeromq = %{version}-%{release} |
180 |
Requires: python-%{name}-dtv = %{version}-%{release} |
181 |
|
182 |
Provides: %{name} = %{version}-%{release} |
183 |
|
184 |
%description |
185 |
GNU Radio is a collection of software that when combined with minimal |
186 |
hardware, allows the construction of radios where the actual wave forms |
187 |
transmitted and received are defined by software. What this means is |
188 |
that it turns the digital modulation schemes used in today's high |
189 |
performance wireless devices into software problems. |
190 |
This is a virtual package that installs the entire GNU Radio software set. |
191 |
|
192 |
%files |
193 |
|
194 |
############################ |
195 |
%package doc |
196 |
Summary: Software Defined Radio |
197 |
Group: Communications/Radio |
198 |
BuildArch: noarch |
199 |
|
200 |
%description doc |
201 |
This package contains the documentation for the GNU Radio software |
202 |
defined radio system. |
203 |
|
204 |
%files doc |
205 |
%doc %{_docdir}/* |
206 |
%{_datadir}/applications/%{name}-doc.desktop |
207 |
|
208 |
############################ |
209 |
%package examples |
210 |
Summary: GNU Radio Example Programs |
211 |
Group: Communications/Radio |
212 |
|
213 |
%description examples |
214 |
This package provides examples of GNU Radio usage using Python. |
215 |
|
216 |
%files examples |
217 |
%{_datadir}/%{name} |
218 |
%exclude %{_datadir}/%{name}/grc |
219 |
|
220 |
####################################################### |
221 |
####################################################### |
222 |
# |
223 |
# Lib and devel packages |
224 |
# |
225 |
####################################################### |
226 |
####################################################### |
227 |
|
228 |
############################ |
229 |
%package -n %{libuhd} |
230 |
Summary: uhd |
231 |
Group: System/Libraries |
232 |
Obsoletes: %{_lib}%{name}-usrp0 < 3.5.1 |
233 |
Obsoletes: %{_lib}%{name}-usrp2_0 < 3.5.1 |
234 |
Obsoletes: usrp < 3.5.1 |
235 |
|
236 |
%description -n %{libuhd} |
237 |
This is the GNU Radio UHD package. |
238 |
It is the interface to the UHD library to connect to and send and receive data |
239 |
between the Ettus Research, LLC product line. |
240 |
|
241 |
%files -n %{libuhd} |
242 |
%{_libdir}/lib%{name}-uhd*.so.%{major}* |
243 |
|
244 |
############################ |
245 |
%package -n %{devuhd} |
246 |
Summary: Uhd devel files |
247 |
Group: Development/Other |
248 |
Requires: %{libuhd} = %{version}-%{release} |
249 |
Obsoletes: %{_lib}%{name}-usrp2-devel < 3.5.1 |
250 |
Obsoletes: %{_lib}%{name}-usrp-devel < 3.5.1 |
251 |
Requires: %{devruntime} = %{version}-%{release} |
252 |
|
253 |
%description -n %{devuhd} |
254 |
This package contains header files needed by developers. |
255 |
|
256 |
%files -n %{devuhd} |
257 |
%{_includedir}/%{name}/uhd/*.h |
258 |
%{_libdir}/pkgconfig/%{name}-uhd.pc |
259 |
%{_libdir}/lib%{name}-uhd*.so |
260 |
|
261 |
############################ |
262 |
%package -n %{libdigital} |
263 |
Summary: GNU Radio digital modulation blocks |
264 |
Group: System/Libraries |
265 |
|
266 |
%description -n %{libdigital} |
267 |
This is the gr-digital package. |
268 |
It contains all of the digital modulation blocks, utilities, and examples. |
269 |
|
270 |
%files -n %{libdigital} |
271 |
%{_libdir}/lib%{name}-digital*.so.%{major}* |
272 |
|
273 |
############################ |
274 |
%package -n %{devdigital} |
275 |
Summary: digital |
276 |
Group: Development/Other |
277 |
Requires: %{libdigital} = %{version}-%{release} |
278 |
|
279 |
%description -n %{devdigital} |
280 |
This package contains header files needed by developers. |
281 |
|
282 |
%files -n %{devdigital} |
283 |
%{_includedir}/%{name}/digital/*.h |
284 |
%{_libdir}/pkgconfig/%{name}-digital.pc |
285 |
%{_libdir}/lib%{name}-digital*.so |
286 |
|
287 |
############################ |
288 |
%package -n %{libvolk} |
289 |
Summary: GNU Radio Volk |
290 |
Group: System/Libraries |
291 |
|
292 |
%description -n %{libvolk} |
293 |
VOLK stands for Vector-Optimized Library of Kernels. |
294 |
It is a library that was introduced into GNU Radio in December 2010. |
295 |
|
296 |
%files -n %{libvolk} |
297 |
%{_libdir}/libvolk.so.%{major}* |
298 |
%{_libdir}/cmake/volk/VolkConfig.cmake |
299 |
|
300 |
############################ |
301 |
%package -n %{devvolk} |
302 |
Summary: GNU Radio Volk devel files |
303 |
Group: Development/Other |
304 |
Requires: %{libvolk} = %{version}-%{release} |
305 |
|
306 |
%description -n %{devvolk} |
307 |
This package contains header files needed by developers. |
308 |
|
309 |
%files -n %{devvolk} |
310 |
%{_includedir}/volk/* |
311 |
%{_libdir}/pkgconfig/volk.pc |
312 |
%{_libdir}/libvolk.so |
313 |
|
314 |
############################ |
315 |
%package -n %{libatsc} |
316 |
Summary: The GNU Radio blocks for ATSC decoding |
317 |
Group: System/Libraries |
318 |
|
319 |
%description -n %{libatsc} |
320 |
This pacage provides ATSC (HDTV) transmitter and receiver blocks. |
321 |
Code related to the Advanced Television Standards Committee HDTV |
322 |
implementation. |
323 |
|
324 |
%files -n %{libatsc} |
325 |
%{_libdir}/lib%{name}-atsc*.so.%{major}* |
326 |
|
327 |
############################ |
328 |
%package -n %{devatsc} |
329 |
Summary: The GNU Radio blocks for ATSC decoding |
330 |
Group: Development/Other |
331 |
Requires: %{libatsc} = %{version}-%{release} |
332 |
|
333 |
%description -n %{devatsc} |
334 |
This package contains header files needed by developers. |
335 |
|
336 |
%files -n %{devatsc} |
337 |
%{_includedir}/%{name}/atsc/*.h |
338 |
%{_includedir}/%{name}/atsc/CMakeLists.txt |
339 |
%{_libdir}/pkgconfig/%{name}-atsc.pc |
340 |
%{_libdir}/lib%{name}-atsc*.so |
341 |
|
342 |
|
343 |
############################ |
344 |
%package -n %{libaudio} |
345 |
Summary: GNU Radio audio interfaces |
346 |
Group: System/Libraries |
347 |
Obsoletes: %{name}-sounder < 3.5.1 |
348 |
Obsoletes: %{_lib}%{name}-audio-alsa0 < 3.5.1 |
349 |
Obsoletes: %{_lib}%{name}-audio-jack0 < 3.5.1 |
350 |
Obsoletes: %{_lib}%{name}-audio-portaudio0 < 3.5.1 |
351 |
|
352 |
%description -n %{libaudio} |
353 |
This package includes all of the supported audio interfaces. |
354 |
|
355 |
%files -n %{libaudio} |
356 |
%{_libdir}/lib%{name}-audio*.so.%{major}* |
357 |
%config(noreplace) %{_sysconfdir}/%{name}/conf.d/gr-audio-*.conf |
358 |
|
359 |
############################ |
360 |
%package -n %{devaudio} |
361 |
Summary: GNU Radio audio interfaces - devel files |
362 |
Group: Development/Other |
363 |
Requires: %{libaudio} = %{version}-%{release} |
364 |
Obsoletes: %{_lib}%{name}-audio-alsa-devel < 3.5.1 |
365 |
Obsoletes: %{_lib}%{name}-audio-jack-devel < 3.5.1 |
366 |
Obsoletes: %{_lib}%{name}-audio-portaudio-devel < 3.5.1 |
367 |
Requires: %{devruntime} = %{version}-%{release} |
368 |
|
369 |
%description -n %{devaudio} |
370 |
This package contains header files needed by developers. |
371 |
|
372 |
%files -n %{devaudio} |
373 |
%{_includedir}/%{name}/audio/*.h |
374 |
%{_libdir}/pkgconfig/%{name}-audio.pc |
375 |
%{_libdir}/lib%{name}-audio*.so |
376 |
|
377 |
############################ |
378 |
%package -n %{libruntime} |
379 |
Summary: The GNU Radio Runtime Library |
380 |
Group: System/Libraries |
381 |
# Obsoletes with no new corresponding package added here |
382 |
Obsoletes: %{name}-gpio < 3.5.1 |
383 |
Obsoletes: %{name}-radar-mono < 3.5.1 |
384 |
Obsoletes: %{name}-radio-astronomy < 3.5.1 |
385 |
Obsoletes: %{_lib}%{name}-msdd6000_0 < 3.5.1 |
386 |
Obsoletes: %{libcore} < %{version}-%{release} |
387 |
Obsoletes: %{libgruel} < %{version}-%{release} |
388 |
Obsoletes: %{devgruel} < %{version}-%{release} |
389 |
Obsoletes: %{devcore} < %{version}-%{release} |
390 |
Obsoletes: %{devgruel} < %{version}-%{release} |
391 |
|
392 |
%description -n %{libruntime} |
393 |
This package contains the GNU Radio runtime libraries. |
394 |
|
395 |
%files -n %{libruntime} |
396 |
%{_libdir}/lib%{name}-runtime*.so.%{major}* |
397 |
|
398 |
############################ |
399 |
%package -n %{devruntime} |
400 |
Summary: The GNU Radio runtime devel files |
401 |
Group: Development/Other |
402 |
Requires: %{libruntime} = %{version}-%{release} |
403 |
Provides: %{devruntime} = %{version}-%{release} |
404 |
Obsoletes: %{_lib}%{name}-msdd6000-devel < 3.5.1 |
405 |
|
406 |
%description -n %{devruntime} |
407 |
This package contains header files needed by developers. |
408 |
|
409 |
%files -n %{devruntime} |
410 |
%dir %{_includedir}/%{name} |
411 |
%{_includedir}/%{name}/*.h |
412 |
%{_includedir}/%{name}/messages/*.h |
413 |
%{_includedir}/%{name}/thread/*.h |
414 |
%{_includedir}/%{name}/swig |
415 |
%{_libdir}/pkgconfig/%{name}-runtime.pc |
416 |
%{_libdir}/lib%{name}-runtime*.so |
417 |
|
418 |
############################ |
419 |
#libgnuradio-vocoder |
420 |
|
421 |
%package -n %{libvocoder} |
422 |
Summary: GNU Radio C++ vocoder blocks |
423 |
Group: System/Libraries |
424 |
Obsoletes: %{_lib}%{name}-cvsd-vocoder0 < 3.5.1 |
425 |
Obsoletes: %{_lib}%{name}-gsm-fr-vocoder0 < 3.5.1 |
426 |
|
427 |
%description -n %{libvocoder} |
428 |
This is the gr-vocoder package. |
429 |
It contains all available vocoders in GNU Radio. |
430 |
|
431 |
%files -n %{libvocoder} |
432 |
%{_libdir}/lib%{name}-vocoder*.so.%{major}* |
433 |
|
434 |
############################ |
435 |
%package -n %{devvocoder} |
436 |
Summary: GNU Radio vocoder devel files |
437 |
Group: Development/Other |
438 |
Requires: %{libvocoder} = %{version}-%{release} |
439 |
Obsoletes: %{_lib}%{name}-cvsd-vocoder-devel < 3.5.1 |
440 |
Obsoletes: %{_lib}%{name}-gsm-fr-vocoder-devel < 3.5.1 |
441 |
|
442 |
%description -n %{devvocoder} |
443 |
This package contains header files needed by developers. |
444 |
|
445 |
%files -n %{devvocoder} |
446 |
%{_includedir}/%{name}/vocoder/*.h |
447 |
%{_libdir}/pkgconfig/%{name}-vocoder.pc |
448 |
%{_libdir}/lib%{name}-vocoder*.so |
449 |
|
450 |
############################ |
451 |
#libgnuradio-noaa0 |
452 |
|
453 |
%package -n %{libnoaa} |
454 |
Summary: GNU Radio C++ block implementing the NOAA |
455 |
Group: System/Libraries |
456 |
|
457 |
%description -n %{libnoaa} |
458 |
This package provides a NOAA POES HRPT receiver/demodulator block |
459 |
for GNU Radio. |
460 |
|
461 |
%files -n %{libnoaa} |
462 |
%{_libdir}/lib%{name}-noaa*.so.%{major}* |
463 |
|
464 |
############################ |
465 |
%package -n %{devnoaa} |
466 |
Summary: GNU Radio C++ block implementing the NOAA |
467 |
Group: Development/Other |
468 |
Requires: %{libnoaa} = %{version}-%{release} |
469 |
|
470 |
%description -n %{devnoaa} |
471 |
This package contains header files needed by developers. |
472 |
|
473 |
%files -n %{devnoaa} |
474 |
%{_includedir}/%{name}/noaa/*.h |
475 |
%{_libdir}/lib%{name}-noaa*.so |
476 |
%{_libdir}/pkgconfig/%{name}-noaa.pc |
477 |
|
478 |
############################ |
479 |
#libgnuradio-pager0 |
480 |
|
481 |
%package -n %{libpager} |
482 |
Summary: GNU Radio C++ block implementing the FLEX one-way pager protocol |
483 |
Group: System/Libraries |
484 |
|
485 |
%description -n %{libpager} |
486 |
This package provides an implementation of the FLEX one-way pager protocol |
487 |
for GNU Radio. |
488 |
|
489 |
%files -n %{libpager} |
490 |
%{_libdir}/lib%{name}-pager*.so.%{major}* |
491 |
|
492 |
############################ |
493 |
%package -n %{devpager} |
494 |
Summary: GNU Radio C++ block implementing the FLEX one-way pager protocol |
495 |
Group: Development/Other |
496 |
Requires: %{libpager} = %{version}-%{release} |
497 |
|
498 |
%description -n %{devpager} |
499 |
This package contains header files needed by developers. |
500 |
|
501 |
%files -n %{devpager} |
502 |
%{_includedir}/%{name}/pager/*.h |
503 |
%{_libdir}/pkgconfig/%{name}-pager.pc |
504 |
%{_libdir}/lib%{name}-pager*.so |
505 |
|
506 |
############################ |
507 |
%package -n %{libqtgui} |
508 |
Summary: GNU Radio C++ blocks for QT-based GUI applications |
509 |
Group: System/Libraries |
510 |
|
511 |
%description -n %{libqtgui} |
512 |
This package contains the C++ library for using GNU Radio inside |
513 |
QT-based GUI applications. |
514 |
|
515 |
%files -n %{libqtgui} |
516 |
%{_libdir}/lib%{name}-qtgui*.so.%{major}* |
517 |
%config(noreplace) %{_sysconfdir}/%{name}/conf.d/gr-qtgui.conf |
518 |
|
519 |
############################ |
520 |
%package -n %{devqtgui} |
521 |
Summary: GNU Radio C++ blocks for QT-based GUI applications |
522 |
Group: Development/Other |
523 |
Requires: %{libqtgui} = %{version}-%{release} |
524 |
|
525 |
%description -n %{devqtgui} |
526 |
This package contains the C++ library for using GNU Radio inside |
527 |
QT-based GUI applications. |
528 |
This package contains header files needed by developers. |
529 |
|
530 |
%files -n %{devqtgui} |
531 |
%{_includedir}/%{name}/qtgui/*.h |
532 |
%{_includedir}/%{name}/qtgui/CMakeLists.txt |
533 |
%{_libdir}/pkgconfig/%{name}-qtgui.pc |
534 |
%{_libdir}/lib%{name}-qtgui*.so |
535 |
|
536 |
############################ |
537 |
%package -n %{libtrellis} |
538 |
Summary: GNU Radio C++ block implementing trellis-coded modulation |
539 |
Group: System/Libraries |
540 |
|
541 |
%description -n %{libtrellis} |
542 |
This package provides an implementation of tellis-coded modulation |
543 |
for GNU Radio. |
544 |
|
545 |
%files -n %{libtrellis} |
546 |
%{_libdir}/lib%{name}-trellis*.so.%{major}* |
547 |
|
548 |
############################ |
549 |
%package -n %{devtrellis} |
550 |
Summary: GNU Radio C++ block implementing trellis-coded modulation |
551 |
Group: Development/Other |
552 |
Requires: %{libtrellis} = %{version}-%{release} |
553 |
|
554 |
%description -n %{devtrellis} |
555 |
This package contains header files needed by developers. |
556 |
|
557 |
%files -n %{devtrellis} |
558 |
%{_includedir}/%{name}/trellis/*.h |
559 |
%{_libdir}/pkgconfig/%{name}-trellis.pc |
560 |
%{_libdir}/lib%{name}-trellis*.so |
561 |
|
562 |
############################ |
563 |
%package -n %{libvideo_sdl} |
564 |
Summary: GNU Radio C++ block implementing video-sdl-coded modulation |
565 |
Group: System/Libraries |
566 |
|
567 |
%description -n %{libvideo_sdl} |
568 |
This package provides an interface to the SDL rendering library |
569 |
for GNU Radio. |
570 |
|
571 |
%files -n %{libvideo_sdl} |
572 |
%{_libdir}/lib%{name}-video-sdl*.so.%{major}* |
573 |
|
574 |
############################ |
575 |
%package -n %{devvideo_sdl} |
576 |
Summary: GNU Radio C++ block implementing video-sdl-coded modulation |
577 |
Group: Development/Other |
578 |
Requires: %{libvideo_sdl} = %{version}-%{release} |
579 |
|
580 |
%description -n %{devvideo_sdl} |
581 |
This package provides an interface to the SDL rendering library |
582 |
for GNU Radio. |
583 |
|
584 |
This package contains header files needed by developers. |
585 |
|
586 |
%files -n %{devvideo_sdl} |
587 |
%{_includedir}/%{name}/video_sdl/*.h |
588 |
%{_libdir}/pkgconfig/%{name}-video-sdl.pc |
589 |
%{_libdir}/lib%{name}-video-sdl*.so |
590 |
|
591 |
############################ |
592 |
%package -n %{libfcd} |
593 |
Summary: Fun Cube Dongle libs |
594 |
Group: System/Libraries |
595 |
|
596 |
%description -n %{libfcd} |
597 |
Fun Cube Dongle library files |
598 |
|
599 |
%files -n %{libfcd} |
600 |
%{_libdir}/lib%{name}-fcd*.so.%{major}* |
601 |
|
602 |
############################ |
603 |
%package -n %{devfcd} |
604 |
Summary: fcd |
605 |
Group: System/Libraries |
606 |
Requires: %{libfcd} = %{version}-%{release} |
607 |
|
608 |
%description -n %{devfcd} |
609 |
This package contains header files needed by developers. |
610 |
|
611 |
%files -n %{devfcd} |
612 |
|
613 |
%{_includedir}/%{name}/fcd/*.h |
614 |
%{_libdir}/pkgconfig/%{name}-fcd.pc |
615 |
%{_libdir}/lib%{name}-fcd*.so |
616 |
|
617 |
############################ |
618 |
%package -n %{libwavelet} |
619 |
Summary: GnuRadio Wavelet |
620 |
Group: System/Libraries |
621 |
|
622 |
%description -n %{libwavelet} |
623 |
GnuRadio Wavelet module. |
624 |
|
625 |
%files -n %{libwavelet} |
626 |
%{_libdir}/lib%{name}-wavelet*.so.%{major}* |
627 |
|
628 |
############################ |
629 |
%package -n %{devwavelet} |
630 |
Summary: GnuRadio Wavelet development files |
631 |
Group: System/Libraries |
632 |
Requires: %{libwavelet} = %{version}-%{release} |
633 |
|
634 |
%description -n %{devwavelet} |
635 |
This package contains header files needed by developers. |
636 |
|
637 |
%files -n %{devwavelet} |
638 |
%{_includedir}/%{name}/wavelet/*.h |
639 |
%{_libdir}/lib%{name}-wavelet*.so |
640 |
%{_libdir}/pkgconfig/%{name}-wavelet.pc |
641 |
|
642 |
############################ |
643 |
%package -n %{libfft} |
644 |
Summary: GnuRadio fft |
645 |
Group: System/Libraries |
646 |
|
647 |
%description -n %{libfft} |
648 |
GnuRadio fft module. |
649 |
|
650 |
%files -n %{libfft} |
651 |
%{_libdir}/lib%{name}-fft*.so.%{major}* |
652 |
|
653 |
############################ |
654 |
%package -n %{devfft} |
655 |
Summary: GnuRadio fft development files |
656 |
Group: System/Libraries |
657 |
Requires: %{libfft} = %{version}-%{release} |
658 |
|
659 |
%description -n %{devfft} |
660 |
This package contains header files needed by developers. |
661 |
|
662 |
%files -n %{devfft} |
663 |
%{_includedir}/%{name}/fft/*.h |
664 |
%{_libdir}/lib%{name}-fft*.so |
665 |
%{_libdir}/pkgconfig/%{name}-fft.pc |
666 |
|
667 |
############################ |
668 |
%package -n %{libfilter} |
669 |
Summary: GnuRadio filters |
670 |
Group: System/Libraries |
671 |
|
672 |
%description -n %{libfilter} |
673 |
GnuRadio filter module. |
674 |
|
675 |
%files -n %{libfilter} |
676 |
%{_libdir}/lib%{name}-filter*.so.%{major}* |
677 |
|
678 |
############################ |
679 |
%package -n %{devfilter} |
680 |
Summary: GnuRadio filter development files |
681 |
Group: System/Libraries |
682 |
Requires: %{libfilter} = %{version}-%{release} |
683 |
|
684 |
%description -n %{devfilter} |
685 |
This package contains header files needed by developers. |
686 |
|
687 |
%files -n %{devfilter} |
688 |
%{_includedir}/%{name}/filter/*.h |
689 |
%{_libdir}/lib%{name}-filter*.so |
690 |
%{_libdir}/pkgconfig/%{name}-filter.pc |
691 |
|
692 |
############################ |
693 |
%package -n %{libanalog} |
694 |
Summary: GnuRadio analog |
695 |
Group: System/Libraries |
696 |
|
697 |
%description -n %{libanalog} |
698 |
GnuRadio analog module. |
699 |
|
700 |
%files -n %{libanalog} |
701 |
%{_libdir}/lib%{name}-analog*.so.%{major}* |
702 |
|
703 |
############################ |
704 |
%package -n %{devanalog} |
705 |
Summary: GnuRadio analog development files |
706 |
Group: System/Libraries |
707 |
Requires: %{libanalog} = %{version}-%{release} |
708 |
|
709 |
%description -n %{devanalog} |
710 |
This package contains header files needed by developers. |
711 |
|
712 |
%files -n %{devanalog} |
713 |
%{_includedir}/%{name}/analog/*.h |
714 |
%{_libdir}/lib%{name}-analog*.so |
715 |
%{_libdir}/pkgconfig/%{name}-analog.pc |
716 |
|
717 |
############################ |
718 |
%package -n %{libblocks} |
719 |
Summary: GnuRadio blocks |
720 |
Group: System/Libraries |
721 |
|
722 |
%description -n %{libblocks} |
723 |
GnuRadio blocks module. |
724 |
|
725 |
%files -n %{libblocks} |
726 |
%{_libdir}/lib%{name}-blocks*.so.%{major}* |
727 |
|
728 |
############################ |
729 |
%package -n %{devblocks} |
730 |
Summary: GnuRadio blocks development files |
731 |
Group: System/Libraries |
732 |
Requires: %{libblocks} = %{version}-%{release} |
733 |
|
734 |
%description -n %{devblocks} |
735 |
This package contains header files needed by developers. |
736 |
|
737 |
%files -n %{devblocks} |
738 |
%{_includedir}/%{name}/blocks/*.h |
739 |
%{_libdir}/lib%{name}-blocks*.so |
740 |
%{_libdir}/pkgconfig/%{name}-blocks.pc |
741 |
|
742 |
############################ |
743 |
%package -n %{libwxgui} |
744 |
Summary: GnuRadio wxgui |
745 |
Group: System/Libraries |
746 |
|
747 |
%description -n %{libwxgui} |
748 |
GnuRadio wxgui module. |
749 |
|
750 |
%files -n %{libwxgui} |
751 |
%{_libdir}/lib%{name}-wxgui*.so.%{major}* |
752 |
|
753 |
############################ |
754 |
%package -n %{devwxgui} |
755 |
Summary: GnuRadio wxgui development files |
756 |
Group: System/Libraries |
757 |
Requires: %{libwxgui} = %{version}-%{release} |
758 |
|
759 |
%description -n %{devwxgui} |
760 |
This package contains header files needed by developers. |
761 |
|
762 |
%files -n %{devwxgui} |
763 |
%{_includedir}/%{name}/wxgui/*.h |
764 |
%{_libdir}/lib%{name}-wxgui*.so |
765 |
%{_libdir}/pkgconfig/gr-wxgui.pc |
766 |
|
767 |
############################ |
768 |
%package -n %{libchannels} |
769 |
Summary: GnuRadio channels |
770 |
Group: System/Libraries |
771 |
|
772 |
%description -n %{libchannels} |
773 |
GnuRadio channels module. |
774 |
|
775 |
%files -n %{libchannels} |
776 |
%{_libdir}/lib%{name}-channels*.so.%{major}* |
777 |
|
778 |
############################ |
779 |
%package -n %{devchannels} |
780 |
Summary: GnuRadio channels development files |
781 |
Group: System/Libraries |
782 |
Requires: %{libchannels} = %{version}-%{release} |
783 |
|
784 |
%description -n %{devchannels} |
785 |
This package contains header files needed by developers. |
786 |
|
787 |
%files -n %{devchannels} |
788 |
%{_includedir}/%{name}/channels/*.h |
789 |
%{_libdir}/lib%{name}-channels*.so |
790 |
%{_libdir}/pkgconfig/%{name}-channels.pc |
791 |
|
792 |
############################ |
793 |
%package -n %{libfec} |
794 |
Summary: GnuRadio fec |
795 |
Group: System/Libraries |
796 |
|
797 |
%description -n %{libfec} |
798 |
GnuRadio fec module. |
799 |
|
800 |
%files -n %{libfec} |
801 |
%{_libdir}/lib%{name}-fec*.so.%{major}* |
802 |
|
803 |
############################ |
804 |
%package -n %{devfec} |
805 |
Summary: GnuRadio fec development files |
806 |
Group: System/Libraries |
807 |
Requires: %{libfec} = %{version}-%{release} |
808 |
|
809 |
%description -n %{devfec} |
810 |
This package contains header files needed by developers. |
811 |
|
812 |
%files -n %{devfec} |
813 |
%{_includedir}/%{name}/fec/*.h |
814 |
%{_libdir}/lib%{name}-fec*.so |
815 |
%{_libdir}/pkgconfig/%{name}-fec.pc |
816 |
|
817 |
############################ |
818 |
%package -n %{libpmt} |
819 |
Summary: GnuRadio pmt |
820 |
Group: System/Libraries |
821 |
|
822 |
%description -n %{libpmt} |
823 |
GnuRadio pmt module. |
824 |
|
825 |
%files -n %{libpmt} |
826 |
%{_libdir}/lib%{name}-pmt*.so.%{major}* |
827 |
|
828 |
############################ |
829 |
%package -n %{devpmt} |
830 |
Summary: GnuRadio pmt development files |
831 |
Group: System/Libraries |
832 |
Requires: %{libpmt} = %{version}-%{release} |
833 |
|
834 |
%description -n %{devpmt} |
835 |
This package contains header files needed by developers. |
836 |
|
837 |
%files -n %{devpmt} |
838 |
%{_libdir}/lib%{name}-pmt*.so |
839 |
%{_includedir}/pmt/*.h |
840 |
|
841 |
############################ |
842 |
%package -n %{libzeromq} |
843 |
Summary: GnuRadio zeromq |
844 |
Group: System/Libraries |
845 |
|
846 |
%description -n %{libzeromq} |
847 |
GnuRadio zeromq module. |
848 |
|
849 |
%files -n %{libzeromq} |
850 |
%{_libdir}/lib%{name}-zeromq*.so.%{major}* |
851 |
|
852 |
############################ |
853 |
%package -n %{devzeromq} |
854 |
Summary: GnuRadio zeromq development files |
855 |
Group: System/Libraries |
856 |
Requires: %{libzeromq} = %{version}-%{release} |
857 |
|
858 |
%description -n %{devzeromq} |
859 |
This package contains header files needed by developers. |
860 |
|
861 |
%files -n %{devzeromq} |
862 |
%{_libdir}/lib%{name}-zeromq*.so |
863 |
%{_includedir}/%{name}/zeromq/*.h |
864 |
%{_libdir}/pkgconfig/%{name}-zeromq.pc |
865 |
|
866 |
############################ |
867 |
%package -n %{libdtv} |
868 |
Summary: GnuRadio dtv |
869 |
Group: System/Libraries |
870 |
|
871 |
%description -n %{libdtv} |
872 |
GnuRadio dtv module. |
873 |
|
874 |
%files -n %{libdtv} |
875 |
%{_libdir}/lib%{name}-dtv*.so.%{major}* |
876 |
|
877 |
############################ |
878 |
%package -n %{devdtv} |
879 |
Summary: GnuRadio dtv development files |
880 |
Group: System/Libraries |
881 |
Requires: %{libdtv} = %{version}-%{release} |
882 |
|
883 |
%description -n %{devdtv} |
884 |
This package contains header files needed by developers. |
885 |
|
886 |
%files -n %{devdtv} |
887 |
%{_libdir}/lib%{name}-dtv*.so |
888 |
%{_includedir}/%{name}/dtv/*.h |
889 |
%{_libdir}/pkgconfig/%{name}-dtv.pc |
890 |
|
891 |
####################################################### |
892 |
####################################################### |
893 |
# |
894 |
# Python packages |
895 |
# |
896 |
####################################################### |
897 |
####################################################### |
898 |
|
899 |
############################ |
900 |
%package -n python-%{name}-runtime |
901 |
Summary: Python bindings for GNU Radio runtime library |
902 |
Group: Development/Python |
903 |
Requires: python-numpy |
904 |
Requires: python-lxml |
905 |
Requires: pygtk2.0 |
906 |
Requires: python-cheetah |
907 |
Requires: wxPython |
908 |
Requires: python-scipy |
909 |
Requires: python-opengl |
910 |
# Explicit require on PyQt4 Resolves: rhbz#781494 |
911 |
Requires: PyQt4 |
912 |
Obsoletes: python-%{name}-msdd6000 < 3.5.1 |
913 |
Obsoletes: python-%{name}-gruel < %{version}-%{release} |
914 |
Obsoletes: python-%{name}-core < %{version}-%{release} |
915 |
|
916 |
%description -n python-%{name}-runtime |
917 |
This package provides the modules that enable one to use gnuradio from |
918 |
Python scripts. |
919 |
|
920 |
%files -n python-%{name}-runtime |
921 |
%dir %{_sysconfdir}/%{name} |
922 |
%dir %{_sysconfdir}/%{name}/conf.d |
923 |
%config(noreplace) %{_sysconfdir}/%{name}/conf.d/%{name}-runtime.conf |
924 |
%dir %{python_sitearch}/%{name} |
925 |
%{python_sitearch}/%{name}/gr |
926 |
%{python_sitearch}/%{name}/gru |
927 |
%{python_sitearch}/%{name}/__init__.* |
928 |
%{python_sitearch}/%{name}/eng_notation.* |
929 |
%{python_sitearch}/%{name}/eng_option.* |
930 |
%{python_sitearch}/%{name}/gr_unittest.* |
931 |
%{python_sitearch}/%{name}/gr_xmlrunner.* |
932 |
|
933 |
############################ |
934 |
%package -n python-%{name}-digital |
935 |
Summary: Python bindings for GNU Radio digital |
936 |
Group: Development/Python |
937 |
Requires: python-%{name}-runtime = %{version}-%{release} |
938 |
|
939 |
%description -n python-%{name}-digital |
940 |
This package contains Python bindings for GNU Radio Digital. |
941 |
|
942 |
%files -n python-%{name}-digital |
943 |
%{python_sitearch}/%{name}/digital/* |
944 |
|
945 |
############################ |
946 |
%package -n python-%{name}-vocoder |
947 |
Summary: Python bindings for GNU Radio vocoder |
948 |
Group: Development/Python |
949 |
Requires: python-%{name}-runtime = %{version}-%{release} |
950 |
Obsoletes: python-%{name}-cvsd-vocoder < 3.5.1 |
951 |
Obsoletes: python-%{name}-gsm-fr-vocoder < 3.5.1 |
952 |
|
953 |
%description -n python-%{name}-vocoder |
954 |
This package contains Python bindings for GNU Radio ATSC decoding. |
955 |
|
956 |
%files -n python-%{name}-vocoder |
957 |
%{python_sitearch}/%{name}/vocoder/* |
958 |
|
959 |
############################ |
960 |
%package -n python-%{name}-atsc |
961 |
Summary: Python bindings for GNU Radio ATSC decoding |
962 |
Group: Development/Python |
963 |
Requires: python-%{name}-runtime = %{version}-%{release} |
964 |
|
965 |
%description -n python-%{name}-atsc |
966 |
This package contains Python bindings for GNU Radio ATSC decoding. |
967 |
Code related to the Advanced Television Standards Committee HDTV |
968 |
implementation. |
969 |
|
970 |
%files -n python-%{name}-atsc |
971 |
%{python_sitearch}/%{name}/atsc/* |
972 |
|
973 |
############################ |
974 |
%package -n python-%{name}-audio |
975 |
Summary: GNU Radio Python Audio Driver |
976 |
Group: Development/Python |
977 |
Requires: python-%{name}-runtime = %{version}-%{release} |
978 |
Obsoletes: python-%{name}-audio-alsa < 3.5.1 |
979 |
Obsoletes: python-%{name}-audio-jack < 3.5.1 |
980 |
Obsoletes: python-%{name}-audio-portaudio < 3.5.1 |
981 |
|
982 |
%description -n python-%{name}-audio |
983 |
This package provides the Python interface to the GNU Radio driver for the |
984 |
audio system. |
985 |
|
986 |
%files -n python-%{name}-audio |
987 |
%config(noreplace) %{_sysconfdir}/%{name}/conf.d/gr-audio.conf |
988 |
%{python_sitearch}/%{name}/audio/* |
989 |
|
990 |
############################ |
991 |
%package -n python-%{name}-qtgui |
992 |
Summary: GNU Radio Graphical Interface Routines based on QT |
993 |
Group: Development/Python |
994 |
Requires: python-%{name}-runtime = %{version}-%{release} |
995 |
|
996 |
%description -n python-%{name}-qtgui |
997 |
This package provides the Python wrappers around the GNU Radio QT GUI |
998 |
C++ blocks. |
999 |
|
1000 |
%files -n python-%{name}-qtgui |
1001 |
%{python_sitearch}/%{name}/qtgui |
1002 |
|
1003 |
############################ |
1004 |
%package -n python-%{name}-trellis |
1005 |
Summary: GNU Radio Trellis-Coded Modulation library |
1006 |
Group: Development/Python |
1007 |
Requires: python-%{name}-runtime = %{version}-%{release} |
1008 |
|
1009 |
%description -n python-%{name}-trellis |
1010 |
This package provides an implementation of trellis-coded modulation for |
1011 |
GNU Radio. |
1012 |
|
1013 |
%files -n python-%{name}-trellis |
1014 |
%{python_sitearch}/%{name}/trellis/* |
1015 |
|
1016 |
############################ |
1017 |
%package -n python-%{name}-uhd |
1018 |
Summary: Python bindings for GNU Radio uhd driver |
1019 |
Group: Development/Python |
1020 |
Requires: python-%{name}-runtime = %{version}-%{release} |
1021 |
Obsoletes: python-%{name}-usrp < 3.5.1 |
1022 |
Obsoletes: python-%{name}-usrp2 < 3.5.1 |
1023 |
|
1024 |
%description -n python-%{name}-uhd |
1025 |
This package provides the Python interface to the GNU Radio uhd driver |
1026 |
and daughterboard drivers. |
1027 |
|
1028 |
%files -n python-%{name}-uhd |
1029 |
%{python_sitearch}/%{name}/uhd |
1030 |
|
1031 |
############################ |
1032 |
%package -n python-%{name}-video-sdl |
1033 |
Summary: GNU Radio SDL Interface Library |
1034 |
Group: Development/Python |
1035 |
Requires: python-%{name}-runtime = %{version}-%{release} |
1036 |
|
1037 |
%description -n python-%{name}-video-sdl |
1038 |
This package provides an interface to the SDL rendering library for GNU Radio. |
1039 |
|
1040 |
%files -n python-%{name}-video-sdl |
1041 |
%{python_sitearch}/%{name}/video_sdl/* |
1042 |
|
1043 |
############################ |
1044 |
%package -n python-%{name}-wxgui |
1045 |
Summary: GNU Radio GUI Routines based on wxPython |
1046 |
Group: Development/Python |
1047 |
Requires: python-%{name}-runtime = %{version}-%{release} |
1048 |
|
1049 |
%description -n python-%{name}-wxgui |
1050 |
This package provides high level GUI construction classes based upon the wxPython bindings |
1051 |
for wxWidgets. |
1052 |
|
1053 |
%files -n python-%{name}-wxgui |
1054 |
%config(noreplace) %{_sysconfdir}/%{name}/conf.d/gr-wxgui.conf |
1055 |
%{python_sitearch}/%{name}/wxgui |
1056 |
|
1057 |
############################ |
1058 |
%package -n python-%{name}-channels |
1059 |
Summary: GNU Radio channels |
1060 |
Group: Development/Python |
1061 |
Requires: python-%{name}-runtime = %{version}-%{release} |
1062 |
|
1063 |
%description -n python-%{name}-channels |
1064 |
GNU Radio channels |
1065 |
|
1066 |
%files -n python-%{name}-channels |
1067 |
%{python_sitearch}/%{name}/channels |
1068 |
|
1069 |
############################ |
1070 |
%package -n python-%{name}-fec |
1071 |
Summary: GNU Radio fec |
1072 |
Group: Development/Python |
1073 |
Requires: python-%{name}-runtime = %{version}-%{release} |
1074 |
|
1075 |
%description -n python-%{name}-fec |
1076 |
GNU Radio fec |
1077 |
|
1078 |
%files -n python-%{name}-fec |
1079 |
%{python_sitearch}/%{name}/fec |
1080 |
|
1081 |
############################ |
1082 |
%package -n python-%{name}-pmt |
1083 |
Summary: GNU Radio pmt |
1084 |
Group: Development/Python |
1085 |
Requires: python-%{name}-runtime = %{version}-%{release} |
1086 |
Requires: python-numpy |
1087 |
Requires: python-opengl |
1088 |
|
1089 |
%description -n python-%{name}-pmt |
1090 |
GNU Radio pmt |
1091 |
|
1092 |
%files -n python-%{name}-pmt |
1093 |
%{python_sitearch}/pmt/* |
1094 |
|
1095 |
############################ |
1096 |
%package -n python-%{name}-fcd |
1097 |
Summary: GNU Radio Fun Cube Dongle |
1098 |
Group: Development/Python |
1099 |
|
1100 |
%description -n python-%{name}-fcd |
1101 |
GNU Radio Fun Cube Dongle |
1102 |
|
1103 |
%files -n python-%{name}-fcd |
1104 |
%{python_sitearch}/%{name}/fcd |
1105 |
|
1106 |
############################ |
1107 |
%package -n python-%{name}-wavelet |
1108 |
Summary: GNU Radio wavelet |
1109 |
Group: Development/Python |
1110 |
|
1111 |
%description -n python-%{name}-wavelet |
1112 |
GNU Radio wavelet |
1113 |
|
1114 |
%files -n python-%{name}-wavelet |
1115 |
%{python_sitearch}/%{name}/wavelet |
1116 |
|
1117 |
############################ |
1118 |
%package -n python-%{name}-fft |
1119 |
Summary: GNU Radio fft |
1120 |
Group: Development/Python |
1121 |
|
1122 |
%description -n python-%{name}-fft |
1123 |
GNU Radio fft |
1124 |
|
1125 |
%files -n python-%{name}-fft |
1126 |
%{python_sitearch}/%{name}/fft |
1127 |
%{python_sitearch}/%{name}/plot_fft_base.* |
1128 |
|
1129 |
############################ |
1130 |
%package -n python-%{name}-filter |
1131 |
Summary: GNU Radio filter |
1132 |
Group: Development/Python |
1133 |
|
1134 |
%description -n python-%{name}-filter |
1135 |
GNU Radio filter |
1136 |
|
1137 |
%files -n python-%{name}-filter |
1138 |
%{python_sitearch}/%{name}/filter |
1139 |
%{python_sitearch}/%{name}/pyqt_filter.* |
1140 |
|
1141 |
############################ |
1142 |
%package -n python-%{name}-analog |
1143 |
Summary: GNU Radio analog |
1144 |
Group: Development/Python |
1145 |
|
1146 |
%description -n python-%{name}-analog |
1147 |
GNU Radio analog |
1148 |
|
1149 |
%files -n python-%{name}-analog |
1150 |
%{python_sitearch}/%{name}/analog |
1151 |
|
1152 |
############################ |
1153 |
%package -n python-%{name}-blocks |
1154 |
Summary: GNU Radio blocks |
1155 |
Group: Development/Python |
1156 |
|
1157 |
%description -n python-%{name}-blocks |
1158 |
GNU Radio blocks |
1159 |
|
1160 |
%files -n python-%{name}-blocks |
1161 |
%{python_sitearch}/%{name}/blocks |
1162 |
|
1163 |
############################ |
1164 |
%package -n python-%{name}-modtool |
1165 |
Summary: GNU Radio modtool |
1166 |
Group: Development/Python |
1167 |
|
1168 |
%description -n python-%{name}-modtool |
1169 |
GNU Radio modtool |
1170 |
|
1171 |
%files -n python-%{name}-modtool |
1172 |
%config(noreplace) %{_sysconfdir}/%{name}/conf.d/modtool.conf |
1173 |
%{python_sitearch}/%{name}/modtool |
1174 |
%{python_sitearch}/volk_modtool/* |
1175 |
|
1176 |
############################ |
1177 |
%package -n python-%{name}-ctrlport |
1178 |
Summary: GNU Radio ctrlport |
1179 |
Group: Development/Python |
1180 |
|
1181 |
%description -n python-%{name}-ctrlport |
1182 |
GNU Radio ctrlport |
1183 |
|
1184 |
%files -n python-%{name}-ctrlport |
1185 |
%{python_sitearch}/%{name}/ctrlport |
1186 |
|
1187 |
############################ |
1188 |
%package -n python-%{name}-zeromq |
1189 |
Summary: GNU Radio zeromq |
1190 |
Group: Development/Python |
1191 |
Requires: python-%{name}-runtime = %{version}-%{release} |
1192 |
Requires: python-numpy |
1193 |
Requires: python-opengl |
1194 |
|
1195 |
%description -n python-%{name}-zeromq |
1196 |
GNU Radio zeromq |
1197 |
|
1198 |
%files -n python-%{name}-zeromq |
1199 |
%{python_sitearch}/%{name}/zeromq/* |
1200 |
|
1201 |
############################ |
1202 |
%package -n python-%{name}-dtv |
1203 |
Summary: GNU Radio dtv |
1204 |
Group: Development/Python |
1205 |
Requires: python-%{name}-runtime = %{version}-%{release} |
1206 |
Requires: python-numpy |
1207 |
Requires: python-opengl |
1208 |
|
1209 |
%description -n python-%{name}-dtv |
1210 |
GNU Radio dtv |
1211 |
|
1212 |
%files -n python-%{name}-dtv |
1213 |
%{python_sitearch}/%{name}/dtv/* |
1214 |
####################################################### |
1215 |
####################################################### |
1216 |
# |
1217 |
# Software packages and others |
1218 |
# |
1219 |
####################################################### |
1220 |
####################################################### |
1221 |
|
1222 |
%package companion |
1223 |
Summary: The GNU Radio Companion |
1224 |
Group: Communications/Radio |
1225 |
Requires: python-%{name}-runtime = %{version}-%{release} |
1226 |
Requires: python-gnuradio-pmt = %{version}-%{release} |
1227 |
Suggests: %{name}-examples = %{version}-%{release} |
1228 |
Requires: python-cheetah |
1229 |
Requires: pygtk2.0 |
1230 |
Requires: python-lxml |
1231 |
Obsoletes: grc < 3.5.1 |
1232 |
|
1233 |
%description companion |
1234 |
GRC is a graphical flowgraph editor for the GNU Software Radio. |
1235 |
|
1236 |
%files companion |
1237 |
%config(noreplace) %{_sysconfdir}/%{name}/conf.d/grc.conf |
1238 |
%{_bindir}/%{name}-companion |
1239 |
%{_datadir}/applications/%{name}-grc.desktop |
1240 |
%{_datadir}/mime/application/*.xml |
1241 |
%{_iconsdir}/hicolor/*/apps/%{name}-grc.png |
1242 |
%{_datadir}/%{name}/grc |
1243 |
%{python_sitearch}/%{name}/grc |
1244 |
%{python_sitearch}/grc_%{name} |
1245 |
|
1246 |
|
1247 |
############################ |
1248 |
%package noaa |
1249 |
Summary: GNU Radio NOAA POES HRPT receiver |
1250 |
Group: Communications/Radio |
1251 |
Requires: python-%{name}-runtime = %{version}-%{release} |
1252 |
|
1253 |
%description noaa |
1254 |
This package provides and implements an NOAA POES HRPT receiver. |
1255 |
|
1256 |
%files noaa |
1257 |
%{python_sitearch}/%{name}/noaa |
1258 |
|
1259 |
############################ |
1260 |
%package pager |
1261 |
Summary: GNU Radio FLEX Pager Decoder |
1262 |
Group: Communications/Radio |
1263 |
Requires: python-%{name}-uhd = %{version}-%{release} |
1264 |
|
1265 |
%description pager |
1266 |
This package provides a decoder for the FLEX paging protocol for GNU Radio. |
1267 |
|
1268 |
%files pager |
1269 |
%{_bindir}/usrp_flex* |
1270 |
%{python_sitearch}/%{name}/pager |
1271 |
|
1272 |
############################ |
1273 |
%package utils |
1274 |
Summary: GNU Radio Utilities |
1275 |
Group: Communications/Radio |
1276 |
Requires: python-%{name}-wxgui = %{version}-%{release} |
1277 |
Requires: python-matplotlib |
1278 |
Requires: python-scipy |
1279 |
Requires: python-qt4 |
1280 |
Requires: python-qwt |
1281 |
|
1282 |
%description utils |
1283 |
This package provides commonly used utilities for GNU Radio. |
1284 |
|
1285 |
%files utils |
1286 |
%{python_sitearch}/%{name}/plot_psd_base.* |
1287 |
%{python_sitearch}/%{name}/plot_data.* |
1288 |
%{python_sitearch}/%{name}/pyqt_plot.* |
1289 |
%{_bindir}/%{name}-config-info |
1290 |
|
1291 |
## Where do these live? |
1292 |
%{_bindir}/gr_filter_design |
1293 |
%{_bindir}/gr_plot_* |
1294 |
%{_bindir}/uhd_* |
1295 |
%{_bindir}/gr_read_file_metadata |
1296 |
%{_bindir}/grcc |
1297 |
%{_bindir}/gr_modtool |
1298 |
%{_bindir}/gr_constellation_plot |
1299 |
%{_bindir}/gr_psd_plot_b |
1300 |
%{_bindir}/gr_psd_plot_c |
1301 |
%{_bindir}/gr_psd_plot_f |
1302 |
%{_bindir}/gr_psd_plot_i |
1303 |
%{_bindir}/gr_psd_plot_s |
1304 |
%{_bindir}/gr_spectrogram_plot_b |
1305 |
%{_bindir}/gr_spectrogram_plot_c |
1306 |
%{_bindir}/gr_spectrogram_plot_f |
1307 |
%{_bindir}/gr_spectrogram_plot_i |
1308 |
%{_bindir}/gr_spectrogram_plot_s |
1309 |
%{_bindir}/gr_time_plot_b |
1310 |
%{_bindir}/gr_time_plot_c |
1311 |
%{_bindir}/gr_time_plot_f |
1312 |
%{_bindir}/gr_time_plot_i |
1313 |
%{_bindir}/gr_time_plot_s |
1314 |
%{_bindir}/gr_time_raster_b |
1315 |
%{_bindir}/gr_time_raster_f |
1316 |
%{_bindir}/volk_modtool |
1317 |
%{_bindir}/volk_profile |
1318 |
%{_bindir}/volk-config-info |
1319 |
%{_libdir}/cmake/%{name} |
1320 |
|
1321 |
####################################################### |
1322 |
####################################################### |
1323 |
%prep |
1324 |
%if %{rev} |
1325 |
%setup -q -n %{name} |
1326 |
%else |
1327 |
%setup -q -n %{name}-%{version} |
1328 |
%endif |
1329 |
|
1330 |
%apply_patches |
1331 |
|
1332 |
%build |
1333 |
%cmake |
1334 |
%make |
1335 |
|
1336 |
%check |
1337 |
# Some tests fail only in i586 build. |
1338 |
# qa_qtgui and qa_zeromq_pub tests fail in iurt. |
1339 |
# Test failures do not halt builds, so check the log. |
1340 |
cd build |
1341 |
export LD_LIBRARY_PATH=%{buildroot}%{_libdir} |
1342 |
ctest -V ||: |
1343 |
|
1344 |
%install |
1345 |
%makeinstall_std -C build |
1346 |
|
1347 |
#icons |
1348 |
for i in 32 48 64 128 256; do |
1349 |
install -Dpm0644 %{buildroot}%{_datadir}/%{name}/grc/freedesktop/grc-icon-${i}.png \ |
1350 |
%{buildroot}/%{_iconsdir}/hicolor/${i}x${i}/apps/%{name}-grc.png |
1351 |
done |
1352 |
|
1353 |
############################ |
1354 |
# Desktop files |
1355 |
mkdir -p %{buildroot}%{_datadir}/applications |
1356 |
mkdir -p %{buildroot}%{_datadir}/mime/application |
1357 |
mv %{buildroot}%{_datadir}/%{name}/grc/freedesktop/%{name}-grc.xml %{buildroot}%{_datadir}/mime/application/ |
1358 |
|
1359 |
cat > %{name}-doc.desktop << EOF |
1360 |
[Desktop Entry] |
1361 |
Version=1.0 |
1362 |
Name=Gnu Radio C++ API Documentation |
1363 |
GenericName=Gnu Radio C++ API Documentation |
1364 |
Exec=xdg-open /usr/share/doc/%{name}-%{version}/html/index.html |
1365 |
Icon=%{name}-grc |
1366 |
Terminal=false |
1367 |
Type=Application |
1368 |
Categories=System;Documentation;X-Mageia-CrossDesktop; |
1369 |
X-Desktop-File-Install-Version=0.19 |
1370 |
EOF |
1371 |
|
1372 |
desktop-file-install \ |
1373 |
--dir=%{buildroot}%{_datadir}/applications %{name}-doc.desktop |
1374 |
|
1375 |
desktop-file-install \ |
1376 |
--add-category='X-Mageia-CrossDesktop' \ |
1377 |
--set-key=Name \ |
1378 |
--set-value='Gnu Radio Companion' \ |
1379 |
--dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/%{name}/grc/freedesktop/%{name}-grc.desktop |
1380 |
|
1381 |
############################ |
1382 |
# We don't need these: |
1383 |
find %{buildroot} -name "*.la" -delete |
1384 |
rm -f %{buildroot}%{_libexecdir}/%{name}/grc_setup_freedesktop |