X-Git-Url: http://git.onelab.eu/?p=gnuradio.git;a=blobdiff_plain;f=gnuradio.spec;h=c68fc0c26fbb9d1620cfadcc3c76243e505afeac;hp=01f1652741a43c329e4ec51a3f83acdf99ac8302;hb=36658f326fd04504ea8b18e8283020c4fc2192f8;hpb=3f7065878fc5abb4a857c42d4afff76b1cf7d57a diff --git a/gnuradio.spec b/gnuradio.spec index 01f1652..c68fc0c 100644 --- a/gnuradio.spec +++ b/gnuradio.spec @@ -20,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) @@ -44,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