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