|
Caolan McNamara |
a8e380c |
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
|
|
31a19f1 |
%{?_smp_mflags: %global my_smp_mflags %(echo "%{_smp_mflags}" | sed 's/-j[0-9]\\+/-j1/g')}
|
|
|
9a7a3c7 |
|
|
|
bd438c3 |
# For versions not yet on ftp, pull from git
|
|
|
9d363eb |
#%%global git_commit 441a3767e05d15e62c519ea66b848b5adb0f4b3a
|
|
|
bd438c3 |
|
|
|
bd438c3 |
# For versions published as attachment (strange)
|
|
|
d539735 |
%global attachment_id 293
|
|
|
dbd06bd |
|
|
|
9a7a3c7 |
Name: gnuradio
|
|
|
d539735 |
Version: 3.5.1
|
|
|
0efdd98 |
Release: 2%{?dist}
|
|
|
9a7a3c7 |
Summary: Software defined radio framework
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
Group: Applications/Engineering
|
|
|
9a7a3c7 |
License: GPLv3
|
|
|
9a7a3c7 |
URL: http://www.gnuradio.org
|
|
|
9d363eb |
#Source0: ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-%%{version}.tar.gz
|
|
|
9d363eb |
#Source0: http://gnuradio.org/redmine/attachments/download/%%{attachment_id}/gnuradio-%%{version}.tar.gz
|
|
|
8451672 |
Source0: http://gnuradio.org/redmine/attachments/download/%{attachment_id}/gnuradio-%{version}.tar.gz
|
|
|
dbd06bd |
# git clone git://gnuradio.org/gnuradio
|
|
|
dbd06bd |
# cd gnuradio
|
|
|
9d363eb |
# git archive --format=tar --prefix=%%{name}-%%{version}/ %%{git_commit} | \
|
|
|
9d363eb |
# gzip > ../%%{name}-%%{version}.tar.gz
|
|
|
d539735 |
|
|
|
d539735 |
# Fix compilation with gcc-4.7.0
|
|
|
d539735 |
Patch0: gnuradio-3.5.1-compile-fix.patch
|
|
|
9a7a3c7 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
9a7a3c7 |
|
|
|
35bb457 |
Requires(pre): shadow-utils
|
|
|
9a7a3c7 |
BuildRequires: sdcc
|
|
|
9a7a3c7 |
BuildRequires: fftw-devel
|
|
|
9a7a3c7 |
BuildRequires: cppunit-devel
|
|
|
9a7a3c7 |
BuildRequires: wxPython-devel
|
|
|
9a7a3c7 |
BuildRequires: xmlto
|
|
|
9a7a3c7 |
BuildRequires: graphviz
|
|
|
9a7a3c7 |
BuildRequires: boost-devel
|
|
|
9a7a3c7 |
BuildRequires: python-devel
|
|
|
9a7a3c7 |
BuildRequires: swig
|
|
|
9a7a3c7 |
BuildRequires: doxygen
|
|
|
9a7a3c7 |
BuildRequires: libusb-devel
|
|
|
9a7a3c7 |
BuildRequires: alsa-lib-devel
|
|
|
9a7a3c7 |
BuildRequires: SDL-devel
|
|
|
2b1a292 |
BuildRequires: guile-devel
|
|
|
2b1a292 |
BuildRequires: portaudio-devel
|
|
|
2b1a292 |
BuildRequires: libtool
|
|
|
dbe4f16 |
# Gnuradio deprecated gr-comedi
|
|
|
dbe4f16 |
# http://gnuradio.org/redmine/issues/show/395
|
|
|
dbe4f16 |
# BuildRequires: comedilib-devel
|
|
|
5d0fa4e |
BuildRequires: gsl-devel
|
|
|
5d0fa4e |
BuildRequires: tex(latex)
|
|
|
5d0fa4e |
BuildRequires: numpy
|
|
|
5d0fa4e |
BuildRequires: PyQt4-devel
|
|
|
5d0fa4e |
BuildRequires: PyQwt-devel
|
|
|
5d0fa4e |
BuildRequires: qwtplot3d-qt4-devel
|
|
|
dbd06bd |
BuildRequires: python-cheetah
|
|
|
dbd06bd |
BuildRequires: xdg-utils
|
|
|
dbd06bd |
BuildRequires: python-lxml
|
|
|
dbd06bd |
BuildRequires: pygtk2-devel
|
|
|
0cc25c1 |
BuildRequires: orc-devel
|
|
|
e510c1b |
BuildRequires: uhd-devel
|
|
|
2b1a292 |
Requires: numpy
|
|
|
2b1a292 |
Requires: wxPython
|
|
|
2b1a292 |
Requires: scipy
|
|
|
2b1a292 |
Requires: portaudio
|
|
|
dbd06bd |
Requires: python-lxml
|
|
|
dbd06bd |
Requires: pygtk2
|
|
|
9d363eb |
Requires: python-cheetah
|
|
|
0efdd98 |
Requires: PyQt4
|
|
|
9d363eb |
Obsoletes: usrp < 3.3.0-1
|
|
|
dbd06bd |
Obsoletes: grc < 0.80-1
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%description
|
|
|
9a7a3c7 |
GNU Radio is a collection of software that when combined with minimal
|
|
|
9a7a3c7 |
hardware, allows the construction of radios where the actual waveforms
|
|
|
9a7a3c7 |
transmitted and received are defined by software. What this means is
|
|
|
9a7a3c7 |
that it turns the digital modulation schemes used in today's high
|
|
|
9a7a3c7 |
performance wireless devices into software problems.
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%package devel
|
|
|
9a7a3c7 |
Summary: GNU Radio
|
|
|
9a7a3c7 |
Group: Applications/Engineering
|
|
|
9a7a3c7 |
Requires: %{name} = %{version}-%{release}
|
|
|
dbd06bd |
Obsoletes: usrp-devel < 3.3.0-1
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%description devel
|
|
|
9a7a3c7 |
GNU Radio Headers
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%package doc
|
|
|
9a7a3c7 |
Summary: GNU Radio
|
|
|
9a7a3c7 |
Group: Applications/Engineering
|
|
|
9a7a3c7 |
Requires: %{name} = %{version}-%{release}
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%description doc
|
|
|
9a7a3c7 |
GNU Radio Documentation
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%package examples
|
|
|
9a7a3c7 |
Summary: GNU Radio
|
|
|
9a7a3c7 |
Group: Applications/Engineering
|
|
|
9a7a3c7 |
Requires: %{name} = %{version}-%{release}
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%description examples
|
|
|
9a7a3c7 |
GNU Radio examples
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%prep
|
|
|
8451672 |
%setup -q
|
|
|
f88f8bd |
%patch0 -p1 -b .compile-fix
|
|
|
1aa7da4 |
|
|
Caolan McNamara |
a8e380c |
#force regeneration of cached moc output files
|
|
Caolan McNamara |
a8e380c |
find . -name "*_moc.cc" -exec rm {} \;
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%build
|
|
|
e510c1b |
#./bootstrap
|
|
|
dbd06bd |
#enabling deps tracking is workaround to build
|
|
|
dbd06bd |
%configure --enable-dependency-tracking --enable-python --enable-doxygen \
|
|
|
8767c49 |
--enable-dot --enable-volk --enable-gruel --enable-gnuradio-core \
|
|
|
dbd06bd |
--enable-gr-msdd6000 --enable-gr-audio --enable-gr-atsc \
|
|
|
e510c1b |
--enable-gr-cvsd-vocoder --enable-gr-gpio --enable-gr-uhd \
|
|
|
dbd06bd |
--enable-gr-gsm-fr-vocoder --enable-gr-noaa --enable-gr-pager \
|
|
|
dbd06bd |
--enable-gr-radar-pager --enable-gr-radar-mono --enable-gr-radio-astronomy \
|
|
|
dbd06bd |
--enable-gr-trellis --enable-gr-video-sdl --enable-gr-wxgui \
|
|
|
dbd06bd |
--enable-gr-sounder --enable-gr-utils --enable-gnuradio-examples \
|
|
|
90be5ac |
--enable-grc --enable-docs \
|
|
|
90be5ac |
--with-boost-libdir=%{_libdir}
|
|
|
dbd06bd |
|
|
|
9a7a3c7 |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
31a19f1 |
|
|
|
31a19f1 |
# make with -j1 and compile without strict-aliasing
|
|
|
8451672 |
make %{?my_smp_mflags} CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%install
|
|
|
8451672 |
rm -rf %{buildroot}
|
|
|
8451672 |
make install DESTDIR=%{buildroot}
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%clean
|
|
|
8451672 |
rm -rf %{buildroot}
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%post -n gnuradio -p /sbin/ldconfig
|
|
|
9a7a3c7 |
%postun -n gnuradio -p /sbin/ldconfig
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%files
|
|
|
9a7a3c7 |
%defattr(-,root,root,-)
|
|
|
dbd06bd |
%{python_sitearch}/*
|
|
|
dbd06bd |
%{_bindir}/*
|
|
|
5d0fa4e |
%{_libdir}/lib*.so.*
|
|
|
dbd06bd |
%{_libexecdir}/*
|
|
|
dbd06bd |
%{_datadir}/gnuradio
|
|
|
dbd06bd |
%config(noreplace) %{_sysconfdir}/gnuradio/conf.d/*.conf
|
|
|
dbd06bd |
%exclude %{_datadir}/gnuradio/examples
|
|
Caolan McNamara |
a8e380c |
%exclude %{python_sitearch}/gnuradio/*.la
|
|
|
9d363eb |
%exclude %{_docdir}/%{name}-%{version}/html
|
|
|
9d363eb |
%exclude %{_docdir}/%{name}-%{version}/xml
|
|
|
9d363eb |
%doc ChangeLog NEWS INSTALL COPYING AUTHORS
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%files devel
|
|
|
9a7a3c7 |
%defattr(-,root,root,-)
|
|
|
5d0fa4e |
%{_includedir}/*
|
|
|
5d0fa4e |
%{_libdir}/lib*.so
|
|
|
9a7a3c7 |
%{_libdir}/pkgconfig/*.pc
|
|
|
9a7a3c7 |
%exclude %{_libdir}/*.la
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%files doc
|
|
|
9a7a3c7 |
%defattr(-,root,root,-)
|
|
|
9d363eb |
%doc %{_docdir}/%{name}-%{version}/html
|
|
|
9d363eb |
%doc %{_docdir}/%{name}-%{version}/xml
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%files examples
|
|
|
9a7a3c7 |
%defattr(-,root,root,-)
|
|
|
dbd06bd |
%{_datadir}/gnuradio/examples
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
%changelog
|
|
|
0efdd98 |
* Tue Jan 17 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 3.5.1-2
|
|
|
0efdd98 |
- Added explicit requires on PyQt4
|
|
|
0efdd98 |
Resolves: rhbz#781494
|
|
|
0efdd98 |
|
|
|
d539735 |
* Fri Jan 13 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 3.5.1-1
|
|
|
d539735 |
- New version
|
|
|
d539735 |
Resolves: rhbz#781355
|
|
|
d539735 |
- Fixed compilation with gcc-4.7.0 (compile-fix patch)
|
|
|
d539735 |
|
|
|
e575feb |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.0-3
|
|
|
e575feb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
e575feb |
|
|
|
9d363eb |
* Tue Dec 20 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.5.0-2
|
|
|
9d363eb |
- Fixed double packaging of doc
|
|
|
9d363eb |
Resolves: rhbz#769069
|
|
|
9d363eb |
- Fixed rpmlint warnings
|
|
|
9d363eb |
|
|
|
8451672 |
* Tue Dec 13 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.5.0-1
|
|
|
8451672 |
- New version
|
|
|
8451672 |
- Used macros instead of variables in spec
|
|
|
8451672 |
- Dropped sdcc hack, was needed by obsoleted libusrp
|
|
|
8451672 |
|
|
|
d3fba5e |
* Sun Dec 4 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.5.0-0.2.rc0
|
|
|
d3fba5e |
- Added python-cheetah dependency
|
|
|
d3fba5e |
Resolves: rhbz#759834
|
|
|
d3fba5e |
|
|
|
ff09386 |
* Fri Dec 02 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.5.0-0.1.rc0
|
|
|
e510c1b |
- New pre-release version
|
|
|
e510c1b |
- Followed upstream and dropped support for usrp, use uhd instead
|
|
|
e510c1b |
- Dropped sdcc3 and libusb-detect-fix patches
|
|
|
e510c1b |
- Dropped 10-usrp.rules and usrp group creation, now handled by uhd
|
|
|
e510c1b |
|
|
|
4d79f9e |
* Sun Nov 20 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.4.2-2
|
|
|
4d79f9e |
- Rebuilt for new boost
|
|
|
4d79f9e |
|
|
|
bd438c3 |
* Thu Oct 27 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.4.2-1
|
|
|
bd438c3 |
- New version
|
|
|
bd438c3 |
- Dropped retval patch
|
|
|
bd438c3 |
|
|
|
0cc25c1 |
* Fri Oct 21 2011 Dan Horák <dan[at]danny.cz> - 3.4.0-5
|
|
|
0cc25c1 |
- add missing return value in generated code
|
|
|
0cc25c1 |
- add BR: orc-devel - needed for secondary arches in volk
|
|
|
0cc25c1 |
|
|
|
90be5ac |
* Thu Oct 20 2011 Dan Horák <dan[at]danny.cz> - 3.4.0-4
|
|
|
90be5ac |
- explicitly set boost libdir to workaround build failures on non-x86 64-bit arches
|
|
|
90be5ac |
|
|
|
8767c49 |
* Thu Jul 21 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.4.0-3
|
|
|
8767c49 |
- Enabled volk
|
|
|
8767c49 |
- Rebuilt for new boost
|
|
|
8767c49 |
|
|
|
31a19f1 |
* Sun Jul 03 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.4.0-2
|
|
|
31a19f1 |
- Rebuilt with -j1, otherwise the build process may fail on machines with low RAM
|
|
|
31a19f1 |
- Define changed to global
|
|
|
31a19f1 |
|
|
|
dbd06bd |
* Mon Jun 27 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.4.0-1
|
|
|
dbd06bd |
- New version
|
|
|
dbd06bd |
- Updated 10-usrp.rules
|
|
|
dbd06bd |
Resolves: rhbz#597023
|
|
|
dbd06bd |
- Merged usrp to gnuradio, fixes some packaging bugs
|
|
|
dbd06bd |
Resolves: rhbz#516352
|
|
|
dbd06bd |
Resolves: rhbz#619195
|
|
|
dbd06bd |
- Rebuilt with included grc, obsoleted grc package
|
|
|
dbd06bd |
Resolves: rhbz#592486
|
|
|
dbd06bd |
- Removed unneeded patches (libtool, configure, gcc45, ptrdifft-std)
|
|
|
dbd06bd |
- Fixed compilation with sdcc3 (sdcc3 patch)
|
|
|
dbd06bd |
- Fixed detection of libusb (libusb-detect-fix patch)
|
|
|
dbd06bd |
- Compiled with -fno-strict-aliasing
|
|
|
dbd06bd |
|
|
|
71dc420 |
* Thu Apr 07 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.2.2-13
|
|
|
71dc420 |
- Rebuild for new boost
|
|
|
71dc420 |
|
|
|
73f811e |
* Tue Mar 15 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.2.2-12
|
|
|
73f811e |
- Rebuild for new boost
|
|
|
73f811e |
|
|
|
afce1cb |
* Tue Feb 15 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.2.2-11
|
|
|
f5237d1 |
- Fix compilation with ptrdifft-std patch
|
|
|
afce1cb |
- Rebuild for new boost
|
|
|
afce1cb |
|
|
|
36876c5 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-10
|
|
|
36876c5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
36876c5 |
|
|
|
1d53d4f |
* Mon Feb 07 2011 Thomas Spura <tomspur@fedoraproject.org> - 3.2.2-9
|
|
|
1d53d4f |
- rebuild for new boost
|
|
|
1d53d4f |
|
|
|
7c454f9 |
* Tue Sep 07 2010 Dan Horák <dan[at]danny.cz> - 3.2.2-8
|
|
|
7c454f9 |
- Add sparc64 and s390x to 64-bit platforms
|
|
|
7c454f9 |
|
|
|
1aa7da4 |
* Sun Aug 01 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 3.2.2-7
|
|
|
1aa7da4 |
- Fix gcc-4.5 build errors
|
|
|
1aa7da4 |
|
|
|
1790206 |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.2.2-6
|
|
|
1790206 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
1790206 |
|
|
|
c0dcc50 |
* Fri May 21 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 3.2.2-5
|
|
|
c0dcc50 |
- re-export PATH for %%install
|
|
|
c0dcc50 |
|
|
|
dbe4f16 |
* Fri May 21 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 3.2.2-4
|
|
|
dbe4f16 |
- don't BuildRequires: comedilib-devel, code doesn't use it
|
|
|
dbe4f16 |
|
|
Caolan McNamara |
a8e380c |
* Tue Feb 09 2010 Caolán McNamara <caolanm@redhat.com> - 3.2.2-3
|
|
Caolan McNamara |
a8e380c |
- Resolves: rhbz#539069 FTBFS
|
|
Caolan McNamara |
a8e380c |
|
|
|
a6349a3 |
* Fri Jan 22 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 3.2.2-2
|
|
|
a6349a3 |
- Rebuild for Boost soname bump
|
|
|
a6349a3 |
|
|
|
b75a947 |
* Wed Jul 29 2009 Marek Mahut <mmahut@fedoraproject.org> - 3.2.2-1
|
|
|
b75a947 |
- Upstream release 3.2.2
|
|
|
b75a947 |
- Dropped patch gnuradio-3.2-gcc44.patch
|
|
|
b75a947 |
|
|
|
5d0fa4e |
* Sat Jul 25 2009 Marek Mahut <mmahut@fedoraproject.org> - 3.2-1
|
|
|
5d0fa4e |
- Upstream release 3.2
|
|
|
e32eedb |
|
|
|
0d44a94 |
* Thu Mar 4 2009 Lubomir Rintel <lkundrak@v3.sk> - 3.1.3-5
|
|
|
0d44a94 |
- Fix build with GCC 4.4
|
|
|
0d44a94 |
|
|
|
9b97d7c |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.3-4
|
|
|
9b97d7c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
9b97d7c |
|
|
|
35bb457 |
* Wed Dec 31 2008 Marek Mahut <mmahut@fedoraproject.org> - 3.1.3-3
|
|
|
35bb457 |
- Adding udev rule for USRP device
|
|
|
35bb457 |
- Adding usrp system group
|
|
|
35bb457 |
|
|
|
23f5d08 |
* Fri Dec 19 2008 Marek Mahut <mmahut@fedoraproject.org> - 3.1.3-2
|
|
|
086c052 |
- Upstream release 3.1.3
|
|
|
086c052 |
- Comedi support
|
|
|
086c052 |
- RHBZ#473928 Unowned directories
|
|
|
086c052 |
|
|
|
5c2121f |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 3.1.2-3
|
|
|
5c2121f |
- Rebuild for Python 2.6
|
|
|
5c2121f |
|
|
|
ec05713 |
* Tue Jun 10 2008 Marek Mahut <mmahut@fedoraproject.org> - 3.1.2-2
|
|
|
ec05713 |
- Moving usrp header files to usrp-devel (reported by Philip Balister)
|
|
|
ec05713 |
|
|
|
2b1a292 |
* Fri Apr 4 2008 Marek Mahut <mmahut@fedoraproject.org> - 3.1.2-1
|
|
|
2b1a292 |
- Upstream release
|
|
|
2b1a292 |
- Modification of gnuradio-3.1.2-gcc34.patch to the new release
|
|
|
2b1a292 |
|
|
|
e78e756 |
* Thu Mar 27 2008 Marek Mahut <mmahut@fedoraproject.org> - 3.1.1-4
|
|
|
a6979c5 |
- Moving libusrp to gnuradio package
|
|
|
a6979c5 |
|
|
|
fad7599 |
* Wed Feb 20 2008 Marek Mahut <mmahut@fedoraproject.org> - 3.1.1-2
|
|
|
9a7a3c7 |
- Upstream release
|
|
|
9a7a3c7 |
- Spec file rewrite
|
|
|
9a7a3c7 |
|
|
|
9a7a3c7 |
* Mon Mar 12 2007 Trond Danielsen <trond.danielsen@gmail.com> - 3.0.3-1
|
|
|
9a7a3c7 |
- Initial version.
|