Name: gr-dvbs2rx Version: 1.4.0 Release: 1%{?dist} Summary: DVB-S2 Receiver GNU Radio Module License: GPLv3 URL: https://igorauad.github.io/%{name}/ Source0: https://github.com/igorauad/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: doxygen BuildRequires: fftw-devel BuildRequires: g++ BuildRequires: gmp-devel BuildRequires: gnuradio-devel >= 3.10 BuildRequires: graphviz BuildRequires: libsndfile-devel BuildRequires: pybind11-devel BuildRequires: spdlog-devel Requires: gnuradio >= 3.10 Requires: python3 Requires: python3-packaging Recommends: gr-osmosdr %description A GNU Radio out-of-tree module containing signal processing blocks and full transmitter/receiver applications for DVB-S2 over software-defined radio. %package devel Summary: DVB-S2 Receiver GNU Radio Module - Development Requires: %{name}% = %{version}-%{release} Requires: cmake %description devel gr-dvbs2rx GNU Radio out-of-tree module headers. %package doc Summary: DVB-S2 Receiver GNU Radio Module - Documentation Requires: %{name} = %{version}-%{release} %description doc gr-dvbs2rx GNU Radio out-of-tree module documentation. %prep %setup -q %build %cmake -DNATIVE_OPTIMIZATIONS=OFF -D__INCLUDED_GR_PYTHON_LOCAL_CMAKE=True -DGR_PYTHON_DIR=%{python3_sitearch} # NOTE: D__INCLUDED_GR_PYTHON_LOCAL_CMAKE ensures GR_PYTHON_DIR is not set by # the GrPythonLocal module of gr-dvbs2rx. This is necessary because, as of # v1.4.0, the GrPythonLocal module relies on the deprecated distutils Python # package to define the path, which does not work with the Python 3.12 version # of Fedora 39 and later. # FIXME: Remove this workaround when the GrPythonLocal module is fixed. %cmake_build %install %cmake_install %check %ctest %ldconfig_scriptlets %files %{_bindir}/* %{_libdir}/lib*.so.* %{_datadir}/gnuradio %{python3_sitearch}/gnuradio/dvbs2rx/ %{_mandir}/man1/* %files devel %{_includedir}/* %{_libdir}/lib*.so %{_libdir}/cmake/dvbs2rx %files doc %doc %{_docdir}/%{name} %changelog * Wed Nov 29 2023 Igor Freire - 1.4.0-1 - Update to version 1.4.0. * Tue Oct 31 2023 Igor Freire - 1.3.0-1 - Update to version 1.3.0. * Tue May 23 2023 Igor Freire - 1.2.0-1 - Update to version 1.2.0. * Wed Mar 1 2023 Igor Freire - 1.1.0-1 - Update to version 1.1.0. * Sat Aug 20 2022 Igor Freire - 1.0.0-1 - Initial version.