Name: gr-hpsdr URL: https://github.com/Tom-McDermott/gr-hpsdr Version: 1.2 Release: 4%{?dist} License: GPLv3+ BuildRequires: cmake, gcc-c++, gnuradio-devel, cppunit-devel, doxygen, swig BuildRequires: boost-filesystem, boost-system, python2-devel Summary: GNU Radio modules for OpenHPSDR Hermes / Metis and Red Pitaya Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # https://github.com/Tom-McDermott/gr-hpsdr/issues/6 Patch0: gr-hpsdr-1.2-build-fix.patch # https://github.com/Tom-McDermott/gr-hpsdr/issues/7 Patch1: gr-hpsdr-1.2-soname-fix.patch %description GNU Radio modules for OpenHPSDR Hermes / Metis and Red Pitaya using the OpenHpsdr protocol. %package devel Summary: Development files for gr-hpsdr Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for gr-hpsdr. %package doc Summary: Documentation files for gr-hpsdr Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation files for gr-hpsdr. %prep %setup -q %patch0 -p1 -b .build-fix %patch1 -p1 -b .soname-fix %build mkdir build cd build %cmake .. -DENABLE_DOXYGEN=on -DGR_PKG_DOC_DIR=%{_docdir}/%{name} # parallel build is broken make -j1 %install cd build %make_install %ldconfig_scriptlets %files %exclude %{_docdir}/%{name}/html %exclude %{_docdir}/%{name}/xml %license license.txt %doc README.md %{_libdir}/*.so.* %{python2_sitearch}/* %{_datadir}/gnuradio/grc/blocks/* %files devel %{_includedir}/hpsdr %{_libdir}/*.so %files doc %doc %{_docdir}/%{name}/html %doc %{_docdir}/%{name}/xml %changelog * Thu Jul 19 2018 Jaroslav Škarvada - 1.2-4 - More fixes according to review * Wed Jul 4 2018 Jaroslav Škarvada - 1.2-3 - More fixes according to review * Wed Jul 4 2018 Jaroslav Škarvada - 1.2-2 - Various fixes according to review * Tue Jul 3 2018 Jaroslav Škarvada - 1.2-1 - Initial version