2 Summary: Common software API for various radio hardware
7 Group: Applications/Engineering
8 URL: http://sdr.osmocom.org/trac/wiki/GrOsmoSDR
9 Source0: %{name}-%{snap}.tar.bz2
10 # Source0-md5: 15fbc7e472ee40669c083c1715c7bc58
11 BuildRequires: boost-devel
13 BuildRequires: doxygen
14 BuildRequires: gnuradio-devel >= 3.7
15 BuildRequires: graphviz
16 BuildRequires: python-devel
17 BuildRequires: rtl-sdr-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Primarily gr-osmosdr supports the OsmoSDR hardware, but it also offers
23 a wrapper functionality for FunCube Dongle, Ettus UHD and rtl-sdr
24 radios. By using gr-osmosdr source you can take advantage of a common
25 software api in your application(s) independent of the underlying
29 Summary: Development files for gr-osmosdr
30 Group: Applications/Engineering
31 Requires: %{name} = %{version}-%{release}
34 Development files for gr-osmosdr.
44 -DGR_PKG_DOC_DIR=%{_docdir}/%{name} \
50 rm -rf $RPM_BUILD_ROOT
52 %{__make} -C build install \
53 DESTDIR=$RPM_BUILD_ROOT
56 mv $RPM_BUILD_ROOT%{_docdir}/%{name} doc-inst
59 rm -rf $RPM_BUILD_ROOT
61 %post -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
65 %defattr(644,root,root,755)
66 %doc AUTHORS COPYING doc-inst/*
67 %attr(755,root,root) %{_bindir}/osmocom_fft
68 %attr(755,root,root) %{_bindir}/osmocom_siggen
69 %attr(755,root,root) %{_bindir}/osmocom_siggen_nogui
70 %attr(755,root,root) %{_bindir}/osmocom_spectrum_sense
71 %attr(755,root,root) %{_libdir}/libgnuradio-osmosdr-*.so.*.*
72 %attr(755,root,root) %ghost %{_libdir}/libgnuradio-osmosdr-*.so.0
73 %dir %{py_sitedir}/osmosdr
74 %attr(755,root,root) %{py_sitedir}/osmosdr/*.so
75 %{py_sitedir}/osmosdr/*.py*
76 %{_datadir}/gnuradio/grc/blocks/osmosdr_sink.xml
77 %{_datadir}/gnuradio/grc/blocks/osmosdr_source.xml
78 %{_datadir}/gnuradio/grc/blocks/rtlsdr_source.xml
81 %defattr(644,root,root,755)
82 %{_includedir}/osmosdr
83 %attr(755,root,root) %{_libdir}/libgnuradio-osmosdr.so
84 %attr(755,root,root) %{_libdir}/libgnuradio-osmosdr-*.so
85 %{_pkgconfigdir}/gnuradio-osmosdr.pc