]> git.pld-linux.org Git - packages/gr-osmosdr.git/blame - gr-osmosdr.spec
- rebuild with boost 1.57.0
[packages/gr-osmosdr.git] / gr-osmosdr.spec
CommitLineData
e5cb1905 1%define snap 20140111
a3fe4f39 2%define rel 4
e5cb1905
AM
3Summary: Common software API for various radio hardware
4Name: gr-osmosdr
5Version: 0.1.1
2b30afda 6Release: 0.%{snap}.%{rel}
e5cb1905
AM
7License: GPL v3+
8Group: Applications/Engineering
9URL: http://sdr.osmocom.org/trac/wiki/GrOsmoSDR
10Source0: %{name}-%{snap}.tar.bz2
11# Source0-md5: 15fbc7e472ee40669c083c1715c7bc58
12BuildRequires: boost-devel
13BuildRequires: cmake
14BuildRequires: doxygen
e5d3419e 15BuildRequires: gnuradio-devel >= 3.7
e5cb1905 16BuildRequires: graphviz
d6cfa776 17BuildRequires: librtlsdr-devel
e5cb1905 18BuildRequires: python-devel
e5cb1905
AM
19BuildRequires: swig
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Primarily gr-osmosdr supports the OsmoSDR hardware, but it also offers
24a wrapper functionality for FunCube Dongle, Ettus UHD and rtl-sdr
25radios. By using gr-osmosdr source you can take advantage of a common
26software api in your application(s) independent of the underlying
27radio hardware.
28
29%package devel
30Summary: Development files for gr-osmosdr
31Group: Applications/Engineering
32Requires: %{name} = %{version}-%{release}
33
34%description devel
35Development files for gr-osmosdr.
36
37%prep
38%setup -q -n %{name}
39
40%build
41install -d build
42cd build
43%cmake \
44 -DENABLE_DOXYGEN=on \
45 -DGR_PKG_DOC_DIR=%{_docdir}/%{name} \
46 ..
47
48%{__make}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} -C build install \
54 DESTDIR=$RPM_BUILD_ROOT
55
e5d3419e
AM
56rm -rf doc-inst
57mv $RPM_BUILD_ROOT%{_docdir}/%{name} doc-inst
58
e5cb1905
AM
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%post -p /sbin/ldconfig
63%postun -p /sbin/ldconfig
64
65%files
66%defattr(644,root,root,755)
e5d3419e
AM
67%doc AUTHORS COPYING doc-inst/*
68%attr(755,root,root) %{_bindir}/osmocom_fft
69%attr(755,root,root) %{_bindir}/osmocom_siggen
70%attr(755,root,root) %{_bindir}/osmocom_siggen_nogui
71%attr(755,root,root) %{_bindir}/osmocom_spectrum_sense
72%attr(755,root,root) %{_libdir}/libgnuradio-osmosdr-*.so.*.*
73%attr(755,root,root) %ghost %{_libdir}/libgnuradio-osmosdr-*.so.0
74%dir %{py_sitedir}/osmosdr
75%attr(755,root,root) %{py_sitedir}/osmosdr/*.so
76%{py_sitedir}/osmosdr/*.py*
77%{_datadir}/gnuradio/grc/blocks/osmosdr_sink.xml
78%{_datadir}/gnuradio/grc/blocks/osmosdr_source.xml
79%{_datadir}/gnuradio/grc/blocks/rtlsdr_source.xml
e5cb1905
AM
80
81%files devel
82%defattr(644,root,root,755)
83%{_includedir}/osmosdr
e5d3419e
AM
84%attr(755,root,root) %{_libdir}/libgnuradio-osmosdr.so
85%attr(755,root,root) %{_libdir}/libgnuradio-osmosdr-*.so
86%{_pkgconfigdir}/gnuradio-osmosdr.pc
This page took 0.091342 seconds and 4 git commands to generate.