use our own bootstrap procedure - on f12 for now
authorthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Mon, 4 Jan 2010 12:10:11 +0000 (12:10 +0000)
committerthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Mon, 4 Jan 2010 12:10:11 +0000 (12:10 +0000)
gnuradio.spec

index 01f1652..c68fc0c 100644 (file)
@@ -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