This commit is contained in:
parent
eaecbf7872
commit
bea94d7eed
514
gnuradio.spec
514
gnuradio.spec
@ -16,80 +16,108 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_without docs
|
%define sover 3_7_12-0_0_0
|
||||||
|
%define sover_volk 1_4
|
||||||
%define sover 3_8_0
|
%define volk_version 1.4
|
||||||
Name: gnuradio
|
Name: gnuradio
|
||||||
Version: 3.8.0.0
|
Version: 3.7.13.5
|
||||||
Release: 0
|
Release: 2.7
|
||||||
Summary: GNU software radio
|
Summary: GNU software radio
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Productivity/Hamradio/Other
|
Group: Productivity/Hamradio/Other
|
||||||
URL: https://gnuradio.org
|
URL: http://gnuradio.org
|
||||||
Source0: https://github.com/gnuradio/gnuradio/releases/download/v%{version}/gnuradio-%{version}.tar.xz
|
Source0: https://github.com/gnuradio/gnuradio/releases/download/v%{version}/gnuradio-%{version}.tar.xz
|
||||||
Source1: https://github.com/gnuradio/gnuradio/releases/download/v%{version}/gnuradio-%{version}.tar.xz.asc
|
Source1: https://github.com/gnuradio/gnuradio/releases/download/v%{version}/gnuradio-%{version}.tar.xz.asc
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
|
Source3: https://github.com/gnuradio/volk/archive/v%{volk_version}.tar.gz#/volk-%{volk_version}.tar.gz
|
||||||
# http://www.nathanwest.us/grc_to_37.sh
|
# http://www.nathanwest.us/grc_to_37.sh
|
||||||
Source4: grc_to_37.sh
|
Source4: grc_to_37.sh
|
||||||
Source99: %{name}-rpmlintrc
|
Source99: %{name}-rpmlintrc
|
||||||
Patch0: missing_library.patch
|
Patch0: missing_library.patch
|
||||||
|
# PATCH 100-120 Qt5 port patches
|
||||||
|
Patch100: qt5-maint-0001-CMake-Update-required-minimum-version-to-2.8.12.patch
|
||||||
|
Patch101: qt5-maint-0002-CMake-FindQwt-Find-the-Qt5-version-of-QWT-instead-of.patch
|
||||||
|
Patch102: qt5-maint-0003-gr-qtgui-update-for-Qt5.patch
|
||||||
|
Patch103: qt5-maint-0004-grc-Generate-Python-scripts-that-use-PyQt5.patch
|
||||||
|
Patch104: qt5-maint-0005-gr-qtgui-Add-a-workaround-for-an-upstream-bug-of-uic.patch
|
||||||
|
Patch105: qt5-maint-0006-qtgui-fixed-examples-for-Qt5-compatibility.patch
|
||||||
|
Patch106: qt5-maint-0007-qtgui-Fixes-for-edit_box_msg-to-work-with-QT5.patch
|
||||||
|
Patch107: qt5-maint-0008-gr-qtgui-Allow-build-with-Qt4-or-Qt5-default.patch
|
||||||
|
Patch108: qt5-maint-0009-gr-qtgui-Fix-PyQt-4-5-include-in-XMLs-for-GRC.patch
|
||||||
|
Patch109: qt5-maint-0010-gr-qtgui-Fix-range.py-to-work-with-both-Qt4-and-Qt5.patch
|
||||||
|
Patch110: qt5-maint-0011-gr-qtgui-Re-introduce-some-Qt4-specific-code.patch
|
||||||
|
Patch111: qt5-maint-0012-grc-Fix-generation-of-Python-code-for-Qt4-and-Qt5.patch
|
||||||
|
Patch112: qt5-maint-0013-grc-replace-templated-xml-files-with-search-and-repl.patch
|
||||||
|
Patch113: qt5-maint-0014-qtgui-replace-templated-xml-files-with-search-and-re.patch
|
||||||
|
Patch114: qt5-maint-0017-qtgui-fix-stylesheet-for-qt5.patch
|
||||||
|
Patch115: qt5-maint-0019-qtgui-fixed-apps-for-Qt5-compatibility.patch
|
||||||
|
Patch116: qt5-maint-0021-gnuradio-runtime-ctrlport-qt5.patch
|
||||||
|
Patch117: qt5-maint-0022-gr-uhd-qt5.patch
|
||||||
|
Patch118: qt5-maint-0023-gr-qtgui-util.patch
|
||||||
|
Patch119: qt5-maint-0024-gr-qtgui-restoreGeometry.patch
|
||||||
|
#PATCH-FIX-OPENSUSE 0001-Add-the-include-path-used-by-the-openSUSE-package.patch
|
||||||
|
Patch120: 0001-Add-the-include-path-used-by-the-openSUSE-package.patch
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
BuildRequires: cmake >= 3.8
|
%if 0%{?suse_version} > 1325
|
||||||
BuildRequires: cppunit-devel
|
BuildRequires: libboost_filesystem-devel
|
||||||
BuildRequires: cppzmq-devel
|
BuildRequires: libboost_system-devel
|
||||||
%if %{with docs}
|
%else
|
||||||
BuildRequires: doxygen
|
BuildRequires: boost-devel
|
||||||
# TeX is required for formula rendering
|
|
||||||
BuildRequires: texlive-dvips
|
|
||||||
BuildRequires: texlive-latex
|
|
||||||
BuildRequires: tex(newunicodechar.sty)
|
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: cppunit-devel
|
||||||
|
BuildRequires: doxygen
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: fftw3-threads-devel
|
BuildRequires: fftw3-threads-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gmp-devel
|
|
||||||
BuildRequires: gsl-devel
|
BuildRequires: gsl-devel
|
||||||
BuildRequires: libSDL-devel
|
BuildRequires: libSDL-devel
|
||||||
BuildRequires: libboost_atomic-devel >= 1.53
|
|
||||||
BuildRequires: libboost_filesystem-devel >= 1.53
|
|
||||||
BuildRequires: libboost_system-devel
|
|
||||||
BuildRequires: libgsm-devel
|
BuildRequires: libgsm-devel
|
||||||
BuildRequires: libjack-devel
|
BuildRequires: libjack-devel
|
||||||
BuildRequires: libmpir-devel
|
BuildRequires: libxslt-python
|
||||||
BuildRequires: log4cpp-devel
|
|
||||||
BuildRequires: memory-constraints
|
BuildRequires: memory-constraints
|
||||||
BuildRequires: orc
|
BuildRequires: orc
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: portaudio-devel
|
BuildRequires: portaudio-devel
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-Cheetah
|
||||||
BuildRequires: python3-Sphinx
|
BuildRequires: python-Sphinx
|
||||||
BuildRequires: python3-click
|
BuildRequires: python-gtk
|
||||||
BuildRequires: python3-click-plugins
|
BuildRequires: python-lxml
|
||||||
BuildRequires: python3-gobject
|
BuildRequires: python-mako
|
||||||
BuildRequires: python3-gobject-cairo
|
BuildRequires: python-numpy
|
||||||
BuildRequires: python3-mako >= 0.9.1
|
%if 0%{?suse_version} > 1500
|
||||||
BuildRequires: python3-numpy
|
BuildRequires: python-qt5-devel
|
||||||
BuildRequires: python3-pyaml >= 3.11
|
|
||||||
BuildRequires: python3-qt5-devel
|
|
||||||
BuildRequires: python3-six
|
|
||||||
BuildRequires: qwt6-qt5-devel
|
BuildRequires: qwt6-qt5-devel
|
||||||
BuildRequires: swig >= 3.0.8
|
%else
|
||||||
|
BuildRequires: python-qt4-devel
|
||||||
|
BuildRequires: qwt6-devel
|
||||||
|
%endif
|
||||||
|
BuildRequires: swig
|
||||||
|
BuildRequires: texlive-dvips
|
||||||
|
BuildRequires: texlive-latex
|
||||||
BuildRequires: uhd-devel
|
BuildRequires: uhd-devel
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: pkgconfig(codec2)
|
BuildRequires: pkgconfig(codec2)
|
||||||
BuildRequires: pkgconfig(libusb-1.0)
|
BuildRequires: pkgconfig(libusb-1.0)
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
BuildRequires: pkgconfig(py3cairo)
|
# Workaround for openssl migration
|
||||||
BuildRequires: pkgconfig(volk) >= 2.0
|
#!BuildIgnore: openssl-1_0_0
|
||||||
BuildRequires: typelib(Gtk) = 3.0
|
Requires: python
|
||||||
BuildRequires: typelib(PangoCairo) = 1.0
|
Requires: python-Cheetah
|
||||||
BuildRequires: typelib(cairo) = 1.0
|
Requires: python-gtk
|
||||||
Requires: python3-numpy
|
Requires: python-lxml
|
||||||
Requires: python3-qt5
|
Requires: python-numpy
|
||||||
# gr_modtool dependencies
|
%if 0%{?suse_version} > 1500
|
||||||
Requires: python3-click
|
Requires: python-qt5
|
||||||
Requires: python3-click-plugins
|
%else
|
||||||
Requires: python3-mako
|
Requires: python-qt4
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1320
|
||||||
|
BuildRequires: python-wxWidgets-3_0
|
||||||
|
%else
|
||||||
|
BuildRequires: python-wxWidgets
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GNU Radio is a collection of software that when combined with minimal
|
GNU Radio is a collection of software that when combined with minimal
|
||||||
@ -98,6 +126,24 @@ transmitted and received are defined by software. What this means is
|
|||||||
that it turns the digital modulation schemes used in today's high
|
that it turns the digital modulation schemes used in today's high
|
||||||
performance wireless devices into software problems.
|
performance wireless devices into software problems.
|
||||||
|
|
||||||
|
%package wxgui
|
||||||
|
Summary: Libraries for GNU Radio
|
||||||
|
Group: System/Libraries
|
||||||
|
%if 0%{?suse_version} > 1320
|
||||||
|
Requires: python-wxWidgets-3_0
|
||||||
|
%else
|
||||||
|
Requires: python-wxWidgets
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description wxgui
|
||||||
|
GNU Radio is a collection of software that when combined with minimal
|
||||||
|
hardware, allows the construction of radios where the actual waveforms
|
||||||
|
transmitted and received are defined by software. What this means is
|
||||||
|
that it turns the digital modulation schemes used in today's high
|
||||||
|
performance wireless devices into software problems.
|
||||||
|
|
||||||
|
This package contains the wxgui blocks
|
||||||
|
|
||||||
%package -n libgnuradio-%{sover}
|
%package -n libgnuradio-%{sover}
|
||||||
Summary: Libraries for GNU Radio
|
Summary: Libraries for GNU Radio
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -112,12 +158,25 @@ performance wireless devices into software problems.
|
|||||||
|
|
||||||
This package contains the libraries for GNU Radio.
|
This package contains the libraries for GNU Radio.
|
||||||
|
|
||||||
|
%package -n libvolk%{sover_volk}
|
||||||
|
Summary: Libraries for GNU Radio
|
||||||
|
Group: System/Libraries
|
||||||
|
Conflicts: libgnuradio0
|
||||||
|
Obsoletes: libvolk0_0_0
|
||||||
|
|
||||||
|
%description -n libvolk%{sover_volk}
|
||||||
|
GNU Radio is a collection of software that when combined with minimal
|
||||||
|
hardware, allows the construction of radios where the actual waveforms
|
||||||
|
transmitted and received are defined by software. What this means is
|
||||||
|
that it turns the digital modulation schemes used in today's high
|
||||||
|
performance wireless devices into software problems.
|
||||||
|
|
||||||
|
This package contains the Vector-Optimized Library of Kernels (VOLK)
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Deveopment files for GNU Radio
|
Summary: Deveopment files for GNU Radio
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: gmp-devel
|
|
||||||
Requires: log4cpp-devel
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
GNU Radio is a collection of software that when combined with minimal
|
GNU Radio is a collection of software that when combined with minimal
|
||||||
@ -158,9 +217,47 @@ performance wireless devices into software problems.
|
|||||||
|
|
||||||
This package contains some examples of using GNU Radio.
|
This package contains some examples of using GNU Radio.
|
||||||
|
|
||||||
|
%package examples-wxgui
|
||||||
|
Summary: GNU Radio wxgui examples
|
||||||
|
Group: Productivity/Hamradio/Other
|
||||||
|
Requires: %{name}-wxgui = %{version}
|
||||||
|
|
||||||
|
%description examples-wxgui
|
||||||
|
GNU Radio is a collection of software that when combined with minimal
|
||||||
|
hardware, allows the construction of radios where the actual waveforms
|
||||||
|
transmitted and received are defined by software. What this means is
|
||||||
|
that it turns the digital modulation schemes used in today's high
|
||||||
|
performance wireless devices into software problems.
|
||||||
|
|
||||||
|
This package contains the examples of using GNU Radio depending on wxWidgets.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
tar xzf %{SOURCE3} -C volk/ --strip-components=1
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%patch100 -p1
|
||||||
|
%patch101 -p1
|
||||||
|
%patch102 -p1
|
||||||
|
%patch103 -p1
|
||||||
|
%patch104 -p1
|
||||||
|
%patch105 -p1
|
||||||
|
%patch106 -p1
|
||||||
|
%patch107 -p1
|
||||||
|
%patch108 -p1
|
||||||
|
%patch109 -p1
|
||||||
|
%patch110 -p1
|
||||||
|
%patch111 -p1
|
||||||
|
%patch112 -p1
|
||||||
|
%patch113 -p1
|
||||||
|
%patch114 -p1
|
||||||
|
%patch115 -p1
|
||||||
|
%patch116 -p1
|
||||||
|
%patch117 -p1
|
||||||
|
%patch118 -p1
|
||||||
|
%patch119 -p1
|
||||||
|
%patch120 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
# remove buildtime from documentation
|
# remove buildtime from documentation
|
||||||
sed -i 's|^HTML_TIMESTAMP = YES|HTML_TIMESTAMP = NO|' docs/doxygen/Doxyfile.in
|
sed -i 's|^HTML_TIMESTAMP = YES|HTML_TIMESTAMP = NO|' docs/doxygen/Doxyfile.in
|
||||||
@ -168,13 +265,12 @@ sed -i 's|^HTML_TIMESTAMP = YES|HTML_TIMESTAMP = NO|' docs/doxyg
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%limit_build -m 2000
|
%limit_build -m 2000
|
||||||
%cmake \
|
%ifnarch armv6l armv6hl
|
||||||
%ifarch armv6l armv6hl
|
%cmake
|
||||||
-Dhave_mfpu_neon=0 \
|
%else
|
||||||
|
%cmake -Dhave_mfpu_neon=0
|
||||||
%endif
|
%endif
|
||||||
-DGR_PYTHON_DIR=%{python3_sitearch} \
|
%make_jobs
|
||||||
-DENABLE_INTERNAL_VOLK:BOOL=OFF
|
|
||||||
%cmake_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
@ -182,20 +278,40 @@ sed -i 's|^HTML_TIMESTAMP = YES|HTML_TIMESTAMP = NO|' docs/doxyg
|
|||||||
install -d %{buildroot}%{_docdir}/%{name}
|
install -d %{buildroot}%{_docdir}/%{name}
|
||||||
mv %{buildroot}/%{_datadir}/doc/%{name}-*/* %{buildroot}%{_docdir}/%{name}/
|
mv %{buildroot}/%{_datadir}/doc/%{name}-*/* %{buildroot}%{_docdir}/%{name}/
|
||||||
|
|
||||||
|
# recompile python modules to avoid timestamp problems
|
||||||
|
%py_compile %{buildroot}%{python_sitearch}
|
||||||
|
%py_compile -O %{buildroot}%{python_sitearch}
|
||||||
|
|
||||||
|
# install icons and desktop file
|
||||||
|
install -Dpm 0644 %{buildroot}%{_datadir}/gnuradio/grc/freedesktop/grc-icon-32.png \
|
||||||
|
%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/gnuradio-grc.png
|
||||||
|
install -Dpm 0644 %{buildroot}%{_datadir}/gnuradio/grc/freedesktop/grc-icon-48.png \
|
||||||
|
%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/gnuradio-grc.png
|
||||||
|
install -Dpm 0644 %{buildroot}%{_datadir}/gnuradio/grc/freedesktop/grc-icon-64.png \
|
||||||
|
%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/gnuradio-grc.png
|
||||||
|
install -Dpm 0644 %{buildroot}%{_datadir}/gnuradio/grc/freedesktop/grc-icon-128.png \
|
||||||
|
%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/gnuradio-grc.png
|
||||||
|
install -Dpm 0644 %{buildroot}%{_datadir}/gnuradio/grc/freedesktop/grc-icon-256.png \
|
||||||
|
%{buildroot}%{_datadir}/icons/hicolor/256x256/apps/gnuradio-grc.png
|
||||||
|
|
||||||
|
install -Dpm 0644 %{buildroot}%{_datadir}/gnuradio/grc/freedesktop/gnuradio-grc.desktop \
|
||||||
|
%{buildroot}%{_datadir}/applications/gnuradio-grc.desktop
|
||||||
%suse_update_desktop_file -r %{buildroot}%{_datadir}/applications/gnuradio-grc.desktop Network HamRadio
|
%suse_update_desktop_file -r %{buildroot}%{_datadir}/applications/gnuradio-grc.desktop Network HamRadio
|
||||||
|
|
||||||
install -Dpm 0755 %{SOURCE4} %{buildroot}/%{_bindir}
|
install -Dpm 0755 %{SOURCE4} %{buildroot}/%{_bindir}
|
||||||
|
|
||||||
# remove duplicate icons (just keep hicolor)
|
#remove unneeded stuff
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/grc/freedesktop
|
rm -rf %{buildroot}%{_datadir}/%{name}/grc/freedesktop
|
||||||
rm -rf %{buildroot}%{_datadir}/icons/gnome
|
rm -rf %{buildroot}%{_prefix}/libexec
|
||||||
|
|
||||||
%fdupes %{buildroot}%{_docdir}
|
%fdupes -s %{buildroot}%{_docdir}
|
||||||
%fdupes %{buildroot}%{_includedir}
|
%fdupes -s %{buildroot}%{_includedir}
|
||||||
%fdupes %{buildroot}%{_libdir}
|
%fdupes -s %{buildroot}%{_libdir}
|
||||||
|
|
||||||
%post -n libgnuradio-%{sover} -p /sbin/ldconfig
|
%post -n libgnuradio-%{sover} -p /sbin/ldconfig
|
||||||
|
%post -n libvolk%{sover_volk} -p /sbin/ldconfig
|
||||||
%postun -n libgnuradio-%{sover} -p /sbin/ldconfig
|
%postun -n libgnuradio-%{sover} -p /sbin/ldconfig
|
||||||
|
%postun -n libvolk%{sover_volk} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -207,8 +323,7 @@ rm -rf %{buildroot}%{_datadir}/icons/gnome
|
|||||||
%{_datadir}/gnuradio/fec/
|
%{_datadir}/gnuradio/fec/
|
||||||
%{_datadir}/icons/hicolor/*/apps/gnuradio-grc.png
|
%{_datadir}/icons/hicolor/*/apps/gnuradio-grc.png
|
||||||
%{_datadir}/applications/gnuradio-grc.desktop
|
%{_datadir}/applications/gnuradio-grc.desktop
|
||||||
%{_datadir}/mime/packages/gnuradio-grc.xml
|
%{python_sitearch}/*
|
||||||
%{python3_sitearch}/*
|
|
||||||
%dir %{_sysconfdir}/gnuradio
|
%dir %{_sysconfdir}/gnuradio
|
||||||
%dir %{_sysconfdir}/gnuradio/conf.d
|
%dir %{_sysconfdir}/gnuradio/conf.d
|
||||||
%config(noreplace) %{_sysconfdir}/gnuradio/conf.d/*.conf
|
%config(noreplace) %{_sysconfdir}/gnuradio/conf.d/*.conf
|
||||||
@ -220,16 +335,40 @@ rm -rf %{buildroot}%{_datadir}/icons/gnome
|
|||||||
%exclude %{_docdir}/%{name}/xml/
|
%exclude %{_docdir}/%{name}/xml/
|
||||||
%exclude %{_docdir}/%{name}/*.py
|
%exclude %{_docdir}/%{name}/*.py
|
||||||
%exclude %{_docdir}/%{name}/*.grc
|
%exclude %{_docdir}/%{name}/*.grc
|
||||||
|
# wxgui package
|
||||||
|
%exclude %{python_sitearch}/gnuradio/wxgui/
|
||||||
|
%exclude %{_datadir}/gnuradio/grc/blocks/wxgui*.xml
|
||||||
|
%exclude %{_datadir}/gnuradio/grc/blocks/notebook.xml
|
||||||
|
%exclude %{_datadir}/gnuradio/grc/blocks/variable_check_box.xml
|
||||||
|
%exclude %{_datadir}/gnuradio/grc/blocks/variable_chooser.xml
|
||||||
|
%exclude %{_datadir}/gnuradio/grc/blocks/variable_slider.xml
|
||||||
|
%exclude %{_datadir}/gnuradio/grc/blocks/variable_static_text.xml
|
||||||
|
%exclude %{_datadir}/gnuradio/grc/blocks/variable_text_box.xml
|
||||||
|
|
||||||
|
%files wxgui
|
||||||
|
%{python_sitearch}/gnuradio/wxgui/
|
||||||
|
%{_datadir}/gnuradio/grc/blocks/wxgui*.xml
|
||||||
|
%{_datadir}/gnuradio/grc/blocks/notebook.xml
|
||||||
|
%{_datadir}/gnuradio/grc/blocks/variable_check_box.xml
|
||||||
|
%{_datadir}/gnuradio/grc/blocks/variable_chooser.xml
|
||||||
|
%{_datadir}/gnuradio/grc/blocks/variable_slider.xml
|
||||||
|
%{_datadir}/gnuradio/grc/blocks/variable_static_text.xml
|
||||||
|
%{_datadir}/gnuradio/grc/blocks/variable_text_box.xml
|
||||||
|
|
||||||
%files -n libgnuradio-%{sover}
|
%files -n libgnuradio-%{sover}
|
||||||
%{_libdir}/libgnuradio*.so.*
|
%{_libdir}/libgnuradio*.so.*
|
||||||
|
|
||||||
|
%files -n libvolk%{sover_volk}
|
||||||
|
%{_libdir}/libvolk*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/%{name}/
|
%{_includedir}/%{name}/
|
||||||
%{_includedir}/pmt/
|
%{_includedir}/pmt/
|
||||||
|
%{_includedir}/volk/
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_libdir}/cmake/gnuradio/
|
%{_libdir}/cmake/gnuradio/
|
||||||
|
%{_libdir}/cmake/volk/
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%dir %{_docdir}/%{name}
|
%dir %{_docdir}/%{name}
|
||||||
@ -240,5 +379,262 @@ rm -rf %{buildroot}%{_datadir}/icons/gnome
|
|||||||
|
|
||||||
%files examples
|
%files examples
|
||||||
%{_datadir}/gnuradio/examples/
|
%{_datadir}/gnuradio/examples/
|
||||||
|
%exclude %{_datadir}/gnuradio/examples/audio/audio_fft.py
|
||||||
|
%exclude %{_datadir}/gnuradio/examples/hf_explorer/
|
||||||
|
%exclude %{_datadir}/gnuradio/examples/hf_radio/
|
||||||
|
%exclude %{_datadir}/gnuradio/examples/noaa/usrp_rx_hrpt.grc
|
||||||
|
%exclude %{_datadir}/gnuradio/examples/uhd/fm_tx4.py
|
||||||
|
%exclude %{_datadir}/gnuradio/examples/uhd/usrp_am_mw_rcv.py
|
||||||
|
%exclude %{_datadir}/gnuradio/examples/uhd/usrp_nbfm_ptt.py
|
||||||
|
%exclude %{_datadir}/gnuradio/examples/uhd/usrp_nbfm_rcv.py
|
||||||
|
%exclude %{_datadir}/gnuradio/examples/uhd/usrp_tv_rcv.py
|
||||||
|
%exclude %{_datadir}/gnuradio/examples/uhd/usrp_wfm_rcv_fmdet.py
|
||||||
|
%exclude %{_datadir}/gnuradio/examples/uhd/usrp_wfm_rcv_pll.py
|
||||||
|
%exclude %{_datadir}/gnuradio/examples/uhd/usrp_wfm_rcv.py
|
||||||
|
%exclude %{_datadir}/gnuradio/examples/uhd/usrp_wfm_rcv_sca.py
|
||||||
|
%exclude %{_datadir}/gnuradio/examples/uhd/usrp_wxapt_rcv.py
|
||||||
|
|
||||||
|
%files examples-wxgui
|
||||||
|
%{_datadir}/gnuradio/examples/audio/audio_fft.py
|
||||||
|
%{_datadir}/gnuradio/examples/hf_explorer/
|
||||||
|
%{_datadir}/gnuradio/examples/hf_radio/
|
||||||
|
%{_datadir}/gnuradio/examples/noaa/usrp_rx_hrpt.grc
|
||||||
|
%{_datadir}/gnuradio/examples/uhd/fm_tx4.py
|
||||||
|
%{_datadir}/gnuradio/examples/uhd/usrp_am_mw_rcv.py
|
||||||
|
%{_datadir}/gnuradio/examples/uhd/usrp_nbfm_ptt.py
|
||||||
|
%{_datadir}/gnuradio/examples/uhd/usrp_nbfm_rcv.py
|
||||||
|
%{_datadir}/gnuradio/examples/uhd/usrp_tv_rcv.py
|
||||||
|
%{_datadir}/gnuradio/examples/uhd/usrp_wfm_rcv_fmdet.py
|
||||||
|
%{_datadir}/gnuradio/examples/uhd/usrp_wfm_rcv_pll.py
|
||||||
|
%{_datadir}/gnuradio/examples/uhd/usrp_wfm_rcv.py
|
||||||
|
%{_datadir}/gnuradio/examples/uhd/usrp_wfm_rcv_sca.py
|
||||||
|
%{_datadir}/gnuradio/examples/uhd/usrp_wxapt_rcv.py
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 29 2019 Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
- Add some missing optional dependencies: libgsm and codec2.
|
||||||
|
* Mon Apr 29 2019 Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
- Add upstream patches to build gnuradio using Qt5 on openSUSE > 1500:
|
||||||
|
- qt5-maint-0001-CMake-Update-required-minimum-version-to-2.8.12.patch
|
||||||
|
- qt5-maint-0002-CMake-FindQwt-Find-the-Qt5-version-of-QWT-instead-of.patch
|
||||||
|
- qt5-maint-0003-gr-qtgui-update-for-Qt5.patch
|
||||||
|
- qt5-maint-0004-grc-Generate-Python-scripts-that-use-PyQt5.patch
|
||||||
|
- qt5-maint-0005-gr-qtgui-Add-a-workaround-for-an-upstream-bug-of-uic.patch
|
||||||
|
- qt5-maint-0006-qtgui-fixed-examples-for-Qt5-compatibility.patch
|
||||||
|
- qt5-maint-0007-qtgui-Fixes-for-edit_box_msg-to-work-with-QT5.patch
|
||||||
|
- qt5-maint-0008-gr-qtgui-Allow-build-with-Qt4-or-Qt5-default.patch
|
||||||
|
- qt5-maint-0009-gr-qtgui-Fix-PyQt-4-5-include-in-XMLs-for-GRC.patch
|
||||||
|
- qt5-maint-0010-gr-qtgui-Fix-range.py-to-work-with-both-Qt4-and-Qt5.patch
|
||||||
|
- qt5-maint-0011-gr-qtgui-Re-introduce-some-Qt4-specific-code.patch
|
||||||
|
- qt5-maint-0012-grc-Fix-generation-of-Python-code-for-Qt4-and-Qt5.patch
|
||||||
|
- qt5-maint-0013-grc-replace-templated-xml-files-with-search-and-repl.patch
|
||||||
|
- qt5-maint-0014-qtgui-replace-templated-xml-files-with-search-and-re.patch
|
||||||
|
- qt5-maint-0017-qtgui-fix-stylesheet-for-qt5.patch
|
||||||
|
- qt5-maint-0019-qtgui-fixed-apps-for-Qt5-compatibility.patch
|
||||||
|
- qt5-maint-0021-gnuradio-runtime-ctrlport-qt5.patch
|
||||||
|
- qt5-maint-0022-gr-uhd-qt5.patch
|
||||||
|
- qt5-maint-0023-gr-qtgui-util.patch
|
||||||
|
- qt5-maint-0024-gr-qtgui-restoreGeometry.patch
|
||||||
|
- Add 0001-Add-the-include-path-used-by-the-openSUSE-package.patch
|
||||||
|
for the Qt5 build.
|
||||||
|
* Mon Apr 22 2019 Wojciech Kazubski <wk@ire.pw.edu.pl>
|
||||||
|
- Update to version 3.7.13.5
|
||||||
|
* Project Scope - fixed PMT: in multiple places, we triggered undef.
|
||||||
|
behaviour by accessing the first element of potentially empty
|
||||||
|
uvectors
|
||||||
|
* gr-audio - fixed Windows audio for higher output multiples broken
|
||||||
|
* gr-blocks - fixed QA: udp_source_sink flakiness
|
||||||
|
* gr-dtv - fixed sveral broken optimizations
|
||||||
|
- fixed 64-APSK parti ally wrong ordering
|
||||||
|
- fixed OOB access in interleaver
|
||||||
|
- fixed uncovered worst case LDPC LUT generation
|
||||||
|
* gr-qtgui - fixed compiler Warnings
|
||||||
|
* gr-fec - fixed polar_encoder/_common: Memory leak
|
||||||
|
* gr-uhd - fixed GRC bindings: DC filter was could not be disabled
|
||||||
|
with IQ imbalance correction disabled
|
||||||
|
* gnuradio-runtime - ctrlport: added int64 for rpcbasic_inserter
|
||||||
|
* GRC - Removed generation time from generated python code
|
||||||
|
* Sun Mar 24 2019 Wojciech Kazubski <wk@ire.pw.edu.pl>
|
||||||
|
- Fix building with Boost 1.69
|
||||||
|
* Tue Feb 5 2019 Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
- Update _constraints to include minimal disk size
|
||||||
|
* Thu Aug 30 2018 guillaume.gardet@opensuse.org
|
||||||
|
- Disable explictly neon on armv6 to fix build
|
||||||
|
* Thu Aug 30 2018 Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
- Add _constraints for ARM to speed-up build
|
||||||
|
* Wed Jul 18 2018 wk@ire.pw.edu.pl
|
||||||
|
- Fixed missing space in specfile
|
||||||
|
* Wed Jul 18 2018 mpluskal@suse.com
|
||||||
|
- Update source urls
|
||||||
|
- Use gpg to verify sources
|
||||||
|
- Modernise spec file with spec-cleaner
|
||||||
|
* Tue Jul 17 2018 wk@ire.pw.edu.pl
|
||||||
|
- Update to version 3.7.13.4
|
||||||
|
* Fix Boost 1.67 linking issue
|
||||||
|
* Logging - fixed issues where messages weren't properly written
|
||||||
|
to stdout/stderr due to incorrect strings
|
||||||
|
* gr-analog - `fmdet_cf`'s derivative coefficients were wrong.
|
||||||
|
* gr-blocks - `skiphead` used to incorrectly handle tags,
|
||||||
|
now properly shifts
|
||||||
|
* gr-digital - `qa_packet_format`: Unit test used to potentially
|
||||||
|
lock up due to incorrect conditionals
|
||||||
|
- `clock_recovery_cc`, `crc32_bb`: Accessing the `[0]` element
|
||||||
|
of an empty vector is UB, even if you don't use the result
|
||||||
|
afterwards.
|
||||||
|
* gr-fec - `polar_encoder`/`_common`: Fixed multiple out-of-bound
|
||||||
|
accesses due to insufficient vector length checks
|
||||||
|
* gr-filter - `fft_filter`, `filter_delay`: Accessing the `[0]`
|
||||||
|
element of an empty vector is UB, even if you don't use the
|
||||||
|
result afterwards.
|
||||||
|
- Patch missing_libraries.patch modified
|
||||||
|
* Fri Jun 15 2018 mardnh@gmx.de
|
||||||
|
- Update to version 3.7.13.3
|
||||||
|
* For non-C++11 compilers, the new cstdint include doesn't work
|
||||||
|
out; conditionalized it.
|
||||||
|
- Remove patch:
|
||||||
|
* boost_161.patch (not longer needed)
|
||||||
|
* Fri Jun 1 2018 mardnh@gmx.de
|
||||||
|
- Update to version 3.7.13.2
|
||||||
|
Fixed:
|
||||||
|
* boost::posix_time::[milli]second takes integer numbers, and we
|
||||||
|
now at least cast the floats to integers, as Boost 1.67 forced
|
||||||
|
us to realize we're (incorrectly) using floating point her
|
||||||
|
GRC:
|
||||||
|
* Fixed GRC bug which broke WX and Qt (by altering the template
|
||||||
|
code), in multiple (less than awesome) steps
|
||||||
|
gr-blocks:
|
||||||
|
* float_array_to_int: int32 limits were wrongly hardcoded.
|
||||||
|
* Fixed the undefined behaviour happening in float_to_complex when
|
||||||
|
accessing the second input_items element in the single-input case
|
||||||
|
* Tue May 29 2018 adam.majer@suse.de
|
||||||
|
- boost_161.patch: fix compilation with Boost 1.67 (bsc#1089806)
|
||||||
|
- missing_library.patch: hack to fix linking with required
|
||||||
|
libraries.
|
||||||
|
- use memory-constraints package instead of _constraints
|
||||||
|
* Mon Apr 2 2018 mardnh@gmx.de
|
||||||
|
- Update to version 3.7.12.0
|
||||||
|
* see /usr/share/doc/packages/gnuradio/CHANGELOG.md
|
||||||
|
- Remove Patches (not longer needed):
|
||||||
|
* CMake-set-C++-standard-to-c++11-and-C-standard-to-C99.diff
|
||||||
|
* 0001-gr-fec-switch-possible-C-11-code-from-constexpr-to-j.patch
|
||||||
|
- Update URLs
|
||||||
|
* Tue Dec 12 2017 mpluskal@suse.com
|
||||||
|
- Ignore openssl-1_0_0 for build as temporary workaround for
|
||||||
|
Factory unresolvable state
|
||||||
|
* Mon May 22 2017 mardnh@gmx.de
|
||||||
|
- Add patches to fix builds on Factory
|
||||||
|
+ 0001-gr-fec-switch-possible-C-11-code-from-constexpr-to-j.patch
|
||||||
|
+ CMake-set-C++-standard-to-c++11-and-C-standard-to-C99.diff
|
||||||
|
* Wed Mar 8 2017 wk@ire.pw.edu.pl
|
||||||
|
- update to version 3.7.11
|
||||||
|
* Mon Mar 6 2017 dmitry_r@opensuse.org
|
||||||
|
- Fix README files installation
|
||||||
|
* Thu Oct 20 2016 jengelh@inai.de
|
||||||
|
- Rename soname macro to sover because it did not reflect the
|
||||||
|
SONAME.
|
||||||
|
- RPM group reclassification
|
||||||
|
* Sat Sep 3 2016 wk@ire.pw.edu.pl
|
||||||
|
- update to version 3.7.10.1
|
||||||
|
* Sun Aug 7 2016 wk@ire.pw.edu.pl
|
||||||
|
- update to version 3.7.10
|
||||||
|
- patch gnuradio-3.7.9.2-gcc6.patch removed
|
||||||
|
* breaks build on Leap 42.2 and Tumbleweed
|
||||||
|
* Mon Jul 25 2016 wk@ire.pw.edu.pl
|
||||||
|
- update to version 3.7.9.3
|
||||||
|
* Thu Jun 23 2016 i@marguerite.su
|
||||||
|
- add patch: gnuradio-3.7.9.2-gcc6.patch
|
||||||
|
* fix 'constexpr' needed for in-class initialization of static
|
||||||
|
data member of non-integral type
|
||||||
|
* Mon Jun 20 2016 dmitry_r@opensuse.org
|
||||||
|
- Use wxPython 3.0 for Tumbleweed
|
||||||
|
* Fri Apr 29 2016 wk@ire.pw.edu.pl
|
||||||
|
- update to version 3.7.9.2
|
||||||
|
- remove volk-cmake-3.5.patch not needed (applied upstream)
|
||||||
|
* Tue Mar 22 2016 dmitry_r@opensuse.org
|
||||||
|
- Fix build with cmake 3.5
|
||||||
|
* volk-cmake-3.5.patch
|
||||||
|
* Sat Feb 13 2016 wk@ire.pw.edu.pl
|
||||||
|
- update to version 3.7.9.1
|
||||||
|
* Thu Dec 31 2015 wk@ire.pw.edu.pl
|
||||||
|
- update to version 3.7.9
|
||||||
|
* Sat Oct 31 2015 wk@ire.pw.edu.pl
|
||||||
|
- update to version 3.7.8.1
|
||||||
|
* Sun Aug 16 2015 wk@ire.pw.edu.pl
|
||||||
|
- update to version 3.7.8
|
||||||
|
* Sat May 16 2015 wk@ire.pw.edu.pl
|
||||||
|
- update to version 3.7.7.1
|
||||||
|
* Mon Dec 8 2014 stefan.bruens@rwth-aachen.de
|
||||||
|
- Return options.xml to main package [bnc#908744]
|
||||||
|
* Thu Dec 4 2014 dmitry_r@opensuse.org
|
||||||
|
- Set libgnuradio0 as obsolete
|
||||||
|
* Fri Nov 28 2014 stefan.bruens@rwth-aachen.de
|
||||||
|
- split out libvolk library package
|
||||||
|
* Tue Nov 25 2014 stefan.bruens@rwth-aachen.de
|
||||||
|
- split out wxWidgets dependent parts
|
||||||
|
The wxWidgets graphics system will be deprecated with GR 3.8,
|
||||||
|
and pulls in a lot of dependencies
|
||||||
|
- adjust soname to adhere to library packaging policy
|
||||||
|
* Wed Nov 12 2014 dmitry_r@opensuse.org
|
||||||
|
- Use -j2 for make
|
||||||
|
- Delete source url for conversion script
|
||||||
|
* Wed Oct 22 2014 wk@ire.pw.edu.pl
|
||||||
|
- update to version 3.7.5
|
||||||
|
- bugfix release
|
||||||
|
* Fri Sep 19 2014 wk@ire.pw.edu.pl
|
||||||
|
- update to version 3.7.5
|
||||||
|
- patch gnuradio-implicit-fortify-decl.patch removed (applied upstream)
|
||||||
|
* Tue Sep 9 2014 coolo@suse.com
|
||||||
|
- disable parallal build - it's too unreliable (due to memory pressure
|
||||||
|
on OBS workers)
|
||||||
|
* Thu Aug 28 2014 dmitry_r@opensuse.org
|
||||||
|
- Update grc_to_37.sh script to version 0.2
|
||||||
|
* Thu Aug 28 2014 opensuse@dstoecker.de
|
||||||
|
- add grc_to_37.sh script to package
|
||||||
|
* Mon Aug 25 2014 dmitry_r@opensuse.org
|
||||||
|
- Add missed texlive dependencies
|
||||||
|
- Fix linking
|
||||||
|
- Re-enable UHD support
|
||||||
|
* Wed Aug 20 2014 dmitry_r@opensuse.org
|
||||||
|
- Update to version 3.7.4
|
||||||
|
- Remove OBS source service
|
||||||
|
- Use %%cmake macros
|
||||||
|
- Enable parallel build
|
||||||
|
- Remove buildtime from documentation
|
||||||
|
- Fix implicit definitions of special functions
|
||||||
|
* gnuradio-implicit-fortify-decl.patch
|
||||||
|
- Disable UHD support
|
||||||
|
- Add _constraints to set required memory to 4Gb
|
||||||
|
- Use FFTW3 with multithreading support
|
||||||
|
* Sun Apr 6 2014 wk@ire.pw.edu.pl
|
||||||
|
- update to version 3.7.3
|
||||||
|
* Thu Dec 12 2013 dl8fcl@darc.de
|
||||||
|
- update to version 3.7.2.1
|
||||||
|
bug-fix release with no new features
|
||||||
|
* Sun Nov 10 2013 dl8fcl@darc.de
|
||||||
|
- update to version 3.7.2
|
||||||
|
use qwt6 for all openSUSE versions
|
||||||
|
* Sat Sep 21 2013 dl8fcl@darc.de
|
||||||
|
- use qwt5 for openSUSE_13.1
|
||||||
|
* Sat Aug 31 2013 dl8fcl@darc.de
|
||||||
|
- update to version 3.7.1
|
||||||
|
shared libraries are in a seperated rpm
|
||||||
|
changelog is in a seperated file
|
||||||
|
* Sat Jul 6 2013 wk@ire.pw.edu.pl
|
||||||
|
- updated to release 3.6.5.1
|
||||||
|
* Thu May 30 2013 wk@ire.pw.edu.pl
|
||||||
|
- updated to release 3.6.5
|
||||||
|
* Fri Mar 29 2013 wk@ire.pw.edu.pl
|
||||||
|
- updated to release 3.6.4.1
|
||||||
|
* Sat Mar 16 2013 wk@ire.pw.edu.pl
|
||||||
|
- updated to release 3.6.4
|
||||||
|
* Sat Mar 2 2013 wk@ire.pw.edu.pl
|
||||||
|
- updated to release 3.6.3.1
|
||||||
|
* Sun Jan 13 2013 wk@ire.pw.edu.pl
|
||||||
|
- updated to release 3.6.3 (version number patched in source)
|
||||||
|
* Thu Nov 1 2012 wk@ire.pw.edu.pl
|
||||||
|
- use Qwt6 if possible
|
||||||
|
* Tue Oct 30 2012 wk@ire.pw.edu.pl
|
||||||
|
- heavily modified for actual release
|
||||||
|
- some parts taken from gnuradio package by surligas and from Fedora package
|
||||||
|
* Sat Jun 7 2008 dl9pf@gmx.de
|
||||||
|
- Imported into Build Service
|
||||||
|
Loading…
x
Reference in New Issue
Block a user