X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=gnuradio.spec;h=c68fc0c26fbb9d1620cfadcc3c76243e505afeac;hb=36658f326fd04504ea8b18e8283020c4fc2192f8;hp=bb180532ae8ad365b432505fa60aec98e18bd3b2;hpb=6de65eaba4863efa55eb6abdffb26151e36a66bd;p=gnuradio.git diff --git a/gnuradio.spec b/gnuradio.spec index bb18053..c68fc0c 100644 --- a/gnuradio.spec +++ b/gnuradio.spec @@ -7,9 +7,11 @@ # %define name gnuradio %define version 3.2.2 -%define release 2.1 +%define release 21 %define actual_name %{name}-%{version} +%define module_taglevel_varname release + Name: %{name} Summary: GNU software radio Version: %{version} @@ -18,6 +20,7 @@ License: GPLv3 URL: ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-3.2.2.tar.gz Group: Productivity/Hamradio/Other Source: %{actual_name}.tar.gz +Source1: bootstrap.wextoolbox BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -42,10 +45,14 @@ gnuradio is a free software radio toolkit %build export PKG_CONFIG_PATH="/usr/lib/pkgconfig" -# Following export PATH is a dirty hack to let gnuradio configure find sdcc +# dirty hack to let gnuradio configure find sdcc export PATH=$PATH:/usr/libexec/sdcc -./bootstrap -#./configure +# basically reruns autoconf and automake +%if "%{distro}" == "Fedora" && %{distrorelease} >= 12 +bash -x ./bootstrap.wextoolbox +%else +bash -x ./bootstrap +%endif %configure --disable-doxygen make @@ -68,10 +75,6 @@ rm -rf $RPM_BUILD_ROOT - - - - %package -n %{name}-devel Summary: gnuradio devel files Version: %{version} @@ -101,7 +104,7 @@ Devel package of gnuradio %dir /etc/gnuradio %config /etc/gnuradio/* %{_libdir}/lib*so* -%{_libdir}/python2.5/site-packages/ +%{_libdir}/python*/site-packages/ %{_datadir}/doc/* %dir %{_datadir}/gnuradio %{_datadir}/gnuradio/*