forked from pool/gnuradio
Accepting request 593081 from home:mnhauke:sdr-devel
- 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 OBS-URL: https://build.opensuse.org/request/show/593081 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/gnuradio?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
32b46197c1
commit
d79ff38fd0
@@ -16,21 +16,21 @@
|
||||
#
|
||||
|
||||
|
||||
%define sover 3_7_11-0_0_0
|
||||
%define sover_volk 1_3
|
||||
%define sover 3_7_12-0_0_0
|
||||
%define sover_volk 1_4
|
||||
%define volk_version 1.4
|
||||
Name: gnuradio
|
||||
Version: 3.7.11
|
||||
Version: 3.7.12.0
|
||||
Release: 0
|
||||
Summary: GNU software radio
|
||||
License: GPL-3.0+
|
||||
Group: Productivity/Hamradio/Other
|
||||
URL: http://gnuradio.org
|
||||
Source: http://gnuradio.org/releases/gnuradio/gnuradio-%{version}.tar.gz
|
||||
Source1: %{name}-rpmlintrc
|
||||
Source: https://github.com/gnuradio/gnuradio/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: https://github.com/gnuradio/volk/archive/v%{volk_version}.tar.gz#/volk-%{volk_version}.tar.gz
|
||||
# http://www.nathanwest.us/grc_to_37.sh
|
||||
Source2: grc_to_37.sh
|
||||
Patch0: CMake-set-C++-standard-to-c++11-and-C-standard-to-C99.diff
|
||||
Patch1: 0001-gr-fec-switch-possible-C-11-code-from-constexpr-to-j.patch
|
||||
Source99: %{name}-rpmlintrc
|
||||
BuildRequires: alsa-devel
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake
|
||||
@@ -50,6 +50,7 @@ BuildRequires: python-Cheetah
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRequires: python-gtk
|
||||
BuildRequires: python-lxml
|
||||
BuildRequires: python-mako
|
||||
BuildRequires: python-numpy
|
||||
BuildRequires: python-qt4-devel
|
||||
BuildRequires: qwt6-devel
|
||||
@@ -188,11 +189,7 @@ This package contains the examples of using GNU Radio depending on wxWidgets.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
# Workaround for Tumbleweed until GNURadio 3.8 is released
|
||||
%if 0%{?suse_version} > 1320
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%endif
|
||||
tar xzf %{SOURCE1} -C volk/ --strip-components=1
|
||||
# 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.swig_doc.in
|
||||
@@ -263,6 +260,7 @@ rm -rf %{buildroot}%{_prefix}/libexec
|
||||
%config(noreplace) %{_sysconfdir}/gnuradio/conf.d/*.conf
|
||||
%dir %{_docdir}/%{name}/
|
||||
%{_docdir}/%{name}/README*
|
||||
%{_docdir}/%{name}/CHANGELOG*
|
||||
# doc package
|
||||
%exclude %{_docdir}/%{name}/html/
|
||||
%exclude %{_docdir}/%{name}/xml/
|
||||
|
Reference in New Issue
Block a user