commit e2ccd2f7b911837d5b65a93d34715e96e8bd5edfabd9f75911afb89978948f69 Author: Stephan Kulow Date: Mon Aug 25 09:54:39 2014 +0000 Accepting request 246126 from science OBS-URL: https://build.opensuse.org/request/show/246126 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuradio?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..4b2c103 --- /dev/null +++ b/_constraints @@ -0,0 +1,7 @@ + + + + 4 + + + \ No newline at end of file diff --git a/gnuradio-3.7.4.tar.gz b/gnuradio-3.7.4.tar.gz new file mode 100644 index 0000000..6f6626e --- /dev/null +++ b/gnuradio-3.7.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:681da0e8694cc88be2dc168756418f21fef3666231d7b21bcfd6cbddd9a9406d +size 3461336 diff --git a/gnuradio-implicit-fortify-decl.patch b/gnuradio-implicit-fortify-decl.patch new file mode 100644 index 0000000..e95b379 --- /dev/null +++ b/gnuradio-implicit-fortify-decl.patch @@ -0,0 +1,12 @@ +Index: gnuradio-3.7.4/volk/kernels/volk/volk_8u_conv_k7_r2puppet_8u.h +=================================================================== +--- gnuradio-3.7.4.orig/volk/kernels/volk/volk_8u_conv_k7_r2puppet_8u.h ++++ gnuradio-3.7.4/volk/kernels/volk/volk_8u_conv_k7_r2puppet_8u.h +@@ -1,6 +1,7 @@ + #ifndef INCLUDED_volk_8u_conv_k7_r2puppet_8u_H + #define INCLUDED_volk_8u_conv_k7_r2puppet_8u_H + ++#include + #include + #include + diff --git a/gnuradio-rpmlintrc b/gnuradio-rpmlintrc new file mode 100644 index 0000000..b26ac66 --- /dev/null +++ b/gnuradio-rpmlintrc @@ -0,0 +1,9 @@ +# Those files are examples - taking for learning... +addFilter("arch-dependent-file-in-usr-share.*/usr/share/gnuradio/examples/audio/.*") +addFilter("arch-dependent-file-in-usr-share.*/usr/share/gnuradio/examples/fcd/.*") +addFilter("arch-dependent-file-in-usr-share.*/usr/share/gnuradio/examples/uhd/.*") +addFilter("unstripped-binary-or-object.*/usr/share/gnuradio/examples/audio/.*") +addFilter("unstripped-binary-or-object.*/usr/share/gnuradio/examples/fcd/.*") +addFilter("unstripped-binary-or-object.*/usr/share/gnuradio/examples/uhd/.*") +addFilter("devel-file-in-non-devel-package.*/usr/share/gnuradio/modtool/gr-newmod/include/howto/api.h") +addFilter("devel-file-in-non-devel-package.*/usr/share/gnuradio/modtool/gr-newmod/lib/qa_howto.h") diff --git a/gnuradio.changes b/gnuradio.changes new file mode 100644 index 0000000..e1334b3 --- /dev/null +++ b/gnuradio.changes @@ -0,0 +1,88 @@ +------------------------------------------------------------------- +Wed Aug 20 09:58:03 UTC 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 09:02:30 UTC 2014 - wk@ire.pw.edu.pl + +- update to version 3.7.3 + +------------------------------------------------------------------- +Thu Dec 12 11:12:29 UTC 2013 - dl8fcl@darc.de + +- update to version 3.7.2.1 + bug-fix release with no new features + +------------------------------------------------------------------- +Sun Nov 10 21:43:26 UTC 2013 - dl8fcl@darc.de + +- update to version 3.7.2 + use qwt6 for all openSUSE versions + +------------------------------------------------------------------- +Sat Sep 21 15:04:28 UTC 2013 - dl8fcl@darc.de + +- use qwt5 for openSUSE_13.1 + +------------------------------------------------------------------- +Sat Aug 31 22:37:26 UTC 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 00:00:00 UTC 2013 - wk@ire.pw.edu.pl + +- updated to release 3.6.5.1 + +------------------------------------------------------------------- +Thu May 30 00:00:00 UTC 2013 - wk@ire.pw.edu.pl + +- updated to release 3.6.5 + +------------------------------------------------------------------- +Sat Mar 29 00:00:00 UTC 2013 - wk@ire.pw.edu.pl + +- updated to release 3.6.4.1 + +------------------------------------------------------------------- +Sat Mar 16 00:00:00 UTC 2013 - wk@ire.pw.edu.pl + +- updated to release 3.6.4 + +------------------------------------------------------------------- +Sat Mar 2 00:00:00 UTC 2013 - wk@ire.pw.edu.pl + +- updated to release 3.6.3.1 + +------------------------------------------------------------------- +Sun Jan 13 00:00:00 UTC 2013 - wk@ire.pw.edu.pl + +- updated to release 3.6.3 (version number patched in source) + +------------------------------------------------------------------- +Thu Nov 1 00:00:00 UTC 2012 - wk@ire.pw.edu.pl + +- use Qwt6 if possible + +------------------------------------------------------------------- +Tue Oct 30 00:00:00 UTC 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 00:00:00 UTC 2008 - dl9pf@gmx.de + +- Imported into Build Service diff --git a/gnuradio.spec b/gnuradio.spec new file mode 100644 index 0000000..108c3a0 --- /dev/null +++ b/gnuradio.spec @@ -0,0 +1,229 @@ +# +# spec file for package gnuradio +# +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: gnuradio +Version: 3.7.4 +%define soname 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 +# PATCH-FIX-UPSTREAM gnuradio-implicit-fortify-decl.patch +Patch1: gnuradio-implicit-fortify-decl.patch +BuildRequires: alsa-devel +BuildRequires: boost-devel +BuildRequires: cmake +BuildRequires: cppunit-devel +BuildRequires: doxygen +BuildRequires: fdupes +BuildRequires: fftw3-threads-devel +BuildRequires: gcc-c++ +BuildRequires: gsl-devel +BuildRequires: libSDL-devel +BuildRequires: libjack-devel +BuildRequires: libxslt-python +BuildRequires: orc +BuildRequires: pkg-config +BuildRequires: portaudio-devel +BuildRequires: python-Cheetah +BuildRequires: python-Sphinx +BuildRequires: python-gtk +BuildRequires: python-lxml +BuildRequires: python-numpy +BuildRequires: python-qt4-devel +BuildRequires: python-wxWidgets +BuildRequires: qwt6-devel +BuildRequires: swig +BuildRequires: texlive-latex +# BuildRequires: uhd-devel +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(libusb-1.0) +Requires: python +Requires: python-Cheetah +Requires: python-gtk +Requires: python-lxml +Requires: python-numpy +Requires: python-qt4 +Requires: python-wxWidgets +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +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. + +%package -n libgnuradio%{soname} +Summary: Libraries for GNU Radio +Group: System/Libraries + +%description -n libgnuradio%{soname} +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 libraries for GNU Radio. + +%package devel +Summary: Deveopment files for GNU Radio +Group: Development/Libraries/Other +Requires: %{name} = %{version} + +%description devel +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 libraries and header files for developing +applications that use GNU Radio. + +%package doc +Summary: GNU Radio documentation +Group: Documentation/Other +Requires: %{name} = %{version} +BuildArch: noarch + +%description doc +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 documentation for GNU Radio. + +%package examples +Summary: GNU Radio examples +Group: Productivity/Hamradio/Other +Requires: %{name} = %{version} + +%description examples +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 some examples of using GNU Radio. + +%prep +%setup -q +%patch1 -p1 + +# 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 + +%build +%cmake +make %{?_smp_mflags} + +%install +%cmake_install + +install -d %{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 +mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps +cp %{buildroot}%{_datadir}/gnuradio/grc/freedesktop/grc-icon-32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/gnuradio-grc.png +mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps +cp %{buildroot}%{_datadir}/gnuradio/grc/freedesktop/grc-icon-48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/gnuradio-grc.png +mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps +cp %{buildroot}%{_datadir}/gnuradio/grc/freedesktop/grc-icon-64.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/gnuradio-grc.png +mkdir -p %{buildroot}%{_datadir}/icons/hicolor/128x128/apps +cp %{buildroot}%{_datadir}/gnuradio/grc/freedesktop/grc-icon-128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/gnuradio-grc.png +mkdir -p %{buildroot}%{_datadir}/icons/hicolor/256x256/apps +cp %{buildroot}%{_datadir}/gnuradio/grc/freedesktop/grc-icon-256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/gnuradio-grc.png + +mkdir -p %{buildroot}%{_datadir}/applications +cp %{buildroot}%{_datadir}/gnuradio/grc/freedesktop/gnuradio-grc.desktop %{buildroot}%{_datadir}/applications +%suse_update_desktop_file -r %{buildroot}%{_datadir}/applications/gnuradio-grc.desktop Network HamRadio + +#remove unneeded stuff +rm -rf %{buildroot}%{_datadir}/%{name}/grc/freedesktop +rm -rf %{buildroot}%{_prefix}/libexec + +%fdupes -s %{buildroot}%{_docdir} +%fdupes -s %{buildroot}%{_includedir} +%fdupes -s %{buildroot}%{_libdir} + +%post -n libgnuradio%{soname} -p /sbin/ldconfig + +%postun -n libgnuradio%{soname} -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING +%doc %{_docdir}/%{name}/README* +%{_bindir}/* +%dir %{_datadir}/gnuradio +%{_datadir}/gnuradio/grc/ +%{_datadir}/gnuradio/modtool/ +%{_datadir}/icons/hicolor/*/apps/gnuradio-grc.png +%{_datadir}/applications/gnuradio-grc.desktop +%{python_sitearch}/* +%dir %{_sysconfdir}/gnuradio +%dir %{_sysconfdir}/gnuradio/conf.d +%config(noreplace) %{_sysconfdir}/gnuradio/conf.d/*.conf +# doc package +%exclude %{_docdir}/%{name}/html/ +%exclude %{_docdir}/%{name}/xml/ +%exclude %{_docdir}/%{name}/*.py +%exclude %{_docdir}/%{name}/*.grc + +%files -n libgnuradio%{soname} +%defattr(-,root,root,-) +%{_libdir}/lib*.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/%{name}/ +%{_includedir}/pmt/ +%{_includedir}/volk/ +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/*.pc +%{_libdir}/cmake/gnuradio/ +%{_libdir}/cmake/volk/ + +%files doc +%defattr(-,root,root,-) +%dir %{_docdir}/%{name} +%{_docdir}/%{name}/html/ +%{_docdir}/%{name}/xml/ +%{_docdir}/%{name}/*.py +%{_docdir}/%{name}/*.grc + +%files examples +%defattr(-,root,root,-) +%{_datadir}/gnuradio/examples/ + +%changelog