X-Git-Url: http://git.onelab.eu/?p=gnuradio.git;a=blobdiff_plain;f=gnuradio.spec;h=f8cfc51ad1fb62eafd793ece4117647649f1b93f;hp=ec80bf1c0a9619957dbd0f411a56a2c2fdbdb41a;hb=6963eef91c35d2f25e524f248a58865dfacb97c0;hpb=7e78e41f21e883988a16c1725fe4bd9353d70c35 diff --git a/gnuradio.spec b/gnuradio.spec index ec80bf1..f8cfc51 100644 --- a/gnuradio.spec +++ b/gnuradio.spec @@ -38,17 +38,25 @@ Requires: boost >= 1.35 gnuradio is a free software radio toolkit %prep - %setup -q -n %{actual_name} %build -export TMPDIR=/var/tmp 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 + +########## the bootstrap script basically reruns autoconf and automake +%if "%{distro}" == "Fedora" && %{distrorelease} >= 12 +### the code in bootstrapfs reads +### aclocal -I config +# we suppress the -I config so that e.g. the libtool macros used are the ones from the system, +# not the one that ships in config/ +sed -i -e "s,aclocal -I config,aclocal," ./bootstrap +%endif + +bash -x ./bootstrap + %configure --disable-doxygen make @@ -71,10 +79,6 @@ rm -rf $RPM_BUILD_ROOT - - - - %package -n %{name}-devel Summary: gnuradio devel files Version: %{version} @@ -104,7 +108,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/*