Accepting request 263350 from science
1 OBS-URL: https://build.opensuse.org/request/show/263350 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuradio?expand=0&rev=8
This commit is contained in:
parent
9714dc316f
commit
542ef38ec7
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 28 13:00:16 UTC 2014 - stefan.bruens@rwth-aachen.de
|
||||
|
||||
- split out libvolk library package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 25 23:20:41 UTC 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 10:56:37 UTC 2014 - dmitry_r@opensuse.org
|
||||
|
||||
|
109
gnuradio.spec
109
gnuradio.spec
@ -19,7 +19,8 @@
|
||||
Name: gnuradio
|
||||
Version: 3.7.5.1
|
||||
Release: 0
|
||||
%define soname 0
|
||||
%define soname 3_7_5_1-0_0_0
|
||||
%define soname_volk 0_0_0
|
||||
Summary: GNU software radio
|
||||
License: GPL-3.0+
|
||||
Group: Productivity/Hamradio/Other
|
||||
@ -64,7 +65,6 @@ Requires: python-gtk
|
||||
Requires: python-lxml
|
||||
Requires: python-numpy
|
||||
Requires: python-qt4
|
||||
Requires: python-wxWidgets
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -74,11 +74,25 @@ 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}
|
||||
%package wxgui
|
||||
Summary: Libraries for GNU Radio
|
||||
Group: System/Libraries
|
||||
Requires: python-wxWidgets
|
||||
|
||||
%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-%{soname}
|
||||
Summary: Libraries for GNU Radio
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libgnuradio%{soname}
|
||||
%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
|
||||
@ -87,6 +101,19 @@ performance wireless devices into software problems.
|
||||
|
||||
This package contains the libraries for GNU Radio.
|
||||
|
||||
%package -n libvolk%{soname_volk}
|
||||
Summary: Libraries for GNU Radio
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libvolk%{soname_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
|
||||
Summary: Deveopment files for GNU Radio
|
||||
Group: Development/Libraries/Other
|
||||
@ -131,6 +158,20 @@ performance wireless devices into software problems.
|
||||
|
||||
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
|
||||
%setup -q
|
||||
|
||||
@ -179,9 +220,13 @@ rm -rf %{buildroot}%{_prefix}/libexec
|
||||
%fdupes -s %{buildroot}%{_includedir}
|
||||
%fdupes -s %{buildroot}%{_libdir}
|
||||
|
||||
%post -n libgnuradio%{soname} -p /sbin/ldconfig
|
||||
%post -n libgnuradio-%{soname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libgnuradio%{soname} -p /sbin/ldconfig
|
||||
%post -n libvolk%{soname_volk} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libgnuradio-%{soname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libvolk%{soname_volk} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
@ -202,10 +247,29 @@ rm -rf %{buildroot}%{_prefix}/libexec
|
||||
%exclude %{_docdir}/%{name}/xml/
|
||||
%exclude %{_docdir}/%{name}/*.py
|
||||
%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/options.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 -n libgnuradio%{soname}
|
||||
%files wxgui
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/gnuradio/wxgui/
|
||||
|
||||
%files -n libgnuradio-%{soname}
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/lib*.so.*
|
||||
%exclude %{_libdir}/libvolk*.so.*
|
||||
|
||||
%files -n libvolk%{soname_volk}
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libvolk*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
@ -228,5 +292,36 @@ rm -rf %{buildroot}%{_prefix}/libexec
|
||||
%files examples
|
||||
%defattr(-,root,root,-)
|
||||
%{_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
|
||||
%defattr(-,root,root,-)
|
||||
%{_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
|
||||
|
Loading…
x
Reference in New Issue
Block a user