1 # SPEC file for gnuradio
4 # Source: ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-3.2.2.tar.gz
6 # Signature: ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-3.2.2.tar.gz.sig
11 %define actual_name %{name}-%{version}
13 %define module_taglevel_varname release
16 Summary: GNU software radio
20 URL: ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-3.2.2.tar.gz
21 Group: Productivity/Hamradio/Other
22 Source: %{actual_name}.tar.gz
24 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
27 BuildRequires: python python-numeric PyQt4 swig fftw sdcc gsl libtool
28 BuildRequires: subversion guile cppunit gcc gcc-c++ make
29 BuildRequires: boost-devel >= 1.35
30 BuildRequires: python-devel fftw-devel boost-devel gsl-devel libusb-devel
31 BuildRequires: cppunit-devel
34 Requires: python python-numeric PyQt4 swig fftw libtool
35 Requires: boost >= 1.35
38 gnuradio is a free software radio toolkit
42 %setup -q -n %{actual_name}
46 export TMPDIR=/var/tmp
47 export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
48 # Following export PATH is a dirty hack to let gnuradio configure find sdcc
49 export PATH=$PATH:/usr/libexec/sdcc
52 %configure --disable-doxygen
56 rm -rf $RPM_BUILD_ROOT
59 #make DESTDIR=$RPM_BUILD_ROOT install
63 echo 'export PYTHONPATH=/usr/lib/python2.5/site-packages/' >> ~/.bashrc
70 rm -rf $RPM_BUILD_ROOT
78 %package -n %{name}-devel
79 Summary: gnuradio devel files
82 Group: Productivity/Hamradio/Other
85 %description -n %{name}-devel
86 Devel package of gnuradio
88 %post -n %{name}-devel
91 %postun -n %{name}-devel
94 %files -n %{name}-devel
95 %defattr(-,root,root,-)
97 %{_libdir}/pkgconfig/*
102 %defattr(-,root,root,-)
105 %config /etc/gnuradio/*
107 %{_libdir}/python2.5/site-packages/
109 %dir %{_datadir}/gnuradio
110 %{_datadir}/gnuradio/*
111 %dir %{_datadir}/usrp
113 # TO FIX: if the 2 following commands are removed, the rpmbuild fails!
114 # It's w+eird because rev2 and rev3 directories are indeed created at the
115 # right place (/usr/share/rev*) when the rpm is installed...
118 %doc AUTHORS README README.hacking ChangeLog NEWS INSTALL COPYING
124 %changelog -n gnuradio
125 * Wed Oct 8 2009 Thierry Turletti <turletti@sophia.inria.fr> 3.2.2-2.1
126 - fixed lots of missing parameters...
128 * Thu Oct 1 2009 Thierry Turletti <turletti@sophia.inria.fr> 3.2.2-2.0
129 - derived from previous gnuradio-3.2 spec file written by Ben Yahmed Maher <ben.yahmed.maher@gmail.com>. Changes made to compile the new 3.2.2 gnuradio version on F10 with both USRP and USRP2 hardware enabled.
131 * Wed Apr 1 2009 Ben Yahmed Maher <ben.yahmed.maher@gmail.com> 3.2.2-1.2
132 - change to svn 10720 with fedora 10