git://git.onelab.eu
/
gnuradio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use our own bootstrap procedure - on f12 for now
[gnuradio.git]
/
gnuradio.spec
diff --git
a/gnuradio.spec
b/gnuradio.spec
index
bb18053
..
c68fc0c
100644
(file)
--- a/
gnuradio.spec
+++ b/
gnuradio.spec
@@
-7,9
+7,11
@@
#
%define name gnuradio
%define version 3.2.2
#
%define name gnuradio
%define version 3.2.2
-%define release 2
.
1
+%define release 21
%define actual_name %{name}-%{version}
%define actual_name %{name}-%{version}
+%define module_taglevel_varname release
+
Name: %{name}
Summary: GNU software radio
Version: %{version}
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
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)
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"
%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
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
%configure --disable-doxygen
make
@@
-68,10
+75,6
@@
rm -rf $RPM_BUILD_ROOT
-
-
-
-
%package -n %{name}-devel
Summary: gnuradio devel files
Version: %{version}
%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*
%dir /etc/gnuradio
%config /etc/gnuradio/*
%{_libdir}/lib*so*
-%{_libdir}/python
2.5
/site-packages/
+%{_libdir}/python
*
/site-packages/
%{_datadir}/doc/*
%dir %{_datadir}/gnuradio
%{_datadir}/gnuradio/*
%{_datadir}/doc/*
%dir %{_datadir}/gnuradio
%{_datadir}/gnuradio/*