#
%bcond_without fftwl # don't build "long" subpackages
#
-%ifarch sparc
-# sparc has sizeof(double long)==sizeof(double)
-%undefine with_long
+%ifarch alpha ppc sparc
+# sizeof(double long)==sizeof(double) on these archs
+%undefine with_fftwl
%endif
Summary: Fast Fourier Transform library
Summary(pl): Biblioteka z funkcjami szybkiej transformaty Fouriera
Summary(pt_BR): biblioteca fast fourier transform
Name: fftw3
Version: 3.0.1
-Release: 2
+Release: 5
License: GPL
Group: Libraries
Source0: ftp://ftp.fftw.org/pub/fftw/fftw-%{version}.tar.gz
# Source0-md5: 76cd21ecc9a7bed6343566c473c36477
Patch0: %{name}-info.patch
Patch1: %{name}-link.patch
+Patch2: fftw-gcc4.patch
Icon: fftw-logo-thumb.gif
URL: http://www.fftw.org/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-g77
BuildRequires: libtool
+BuildRequires: texinfo
Requires: %{name}-common = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q -n fftw-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__libtoolize}