From 452372d6167972ee282958f38081f571a065b30e77ffe8395ff9ac4835de2e5d Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 24 Mar 2021 11:07:11 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/gnuradio?expand=0&rev=92 --- gnuradio.spec | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/gnuradio.spec b/gnuradio.spec index 8030f00..f5b4b98 100644 --- a/gnuradio.spec +++ b/gnuradio.spec @@ -1,7 +1,7 @@ # # spec file for package gnuradio # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,14 +15,13 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + +%define sover 3_8_3 %ifarch %{arm} # boo#1182440 %define _lto_cflags %{nil} %endif - %bcond_without docs - -%define sover 3_8_3 Name: gnuradio Version: 3.8.3.0 Release: 0 @@ -41,13 +40,6 @@ BuildRequires: alsa-devel BuildRequires: cmake >= 3.8 BuildRequires: cppunit-devel BuildRequires: cppzmq-devel -%if %{with docs} -BuildRequires: doxygen -# TeX is required for formula rendering -BuildRequires: texlive-dvips -BuildRequires: texlive-latex -BuildRequires: tex(newunicodechar.sty) -%endif BuildRequires: fdupes BuildRequires: fftw3-threads-devel BuildRequires: gcc-c++ @@ -78,6 +70,9 @@ BuildRequires: python3-qt5-devel BuildRequires: python3-six BuildRequires: qwt6-qt5-devel BuildRequires: swig >= 3.0.8 +BuildRequires: typelib(Gtk) = 3.0 +BuildRequires: typelib(PangoCairo) = 1.0 +BuildRequires: typelib(cairo) = 1.0 BuildRequires: uhd-devel BuildRequires: update-desktop-files BuildRequires: pkgconfig(codec2) @@ -85,16 +80,20 @@ BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(py3cairo) BuildRequires: pkgconfig(volk) >= 2.0 -BuildRequires: typelib(Gtk) = 3.0 -BuildRequires: typelib(PangoCairo) = 1.0 -BuildRequires: typelib(cairo) = 1.0 -Requires: python3-numpy -Requires: python3-pyaml >= 3.11 -Requires: python3-qt5 # gr_modtool dependencies Requires: python3-click Requires: python3-click-plugins Requires: python3-mako +Requires: python3-numpy +Requires: python3-pyaml >= 3.11 +Requires: python3-qt5 +%if %{with docs} +BuildRequires: doxygen +# TeX is required for formula rendering +BuildRequires: texlive-dvips +BuildRequires: texlive-latex +BuildRequires: tex(newunicodechar.sty) +%endif %description GNU Radio is a collection of software that when combined with minimal