Dave Plater 2011-12-01 12:50:14 +00:00 committed by Git OBS Bridge
parent cd8db07f07
commit 99ec1266eb

View File

@ -66,6 +66,8 @@ data, and of arbitrary input size.
%package -n libfftw3_threads3
Summary: Discrete Fourier Transform (DFT) C subroutine library
Group: Productivity/Scientific/Math
Provides: fftw3-threads = %{version}-%{release}
Obsoletes: fftw3-threads < 3.3
# libfftw3_threads.so does not have a DT_NEEDED entry for fftw symbols, since it
# may be used with either libfftw3.so or libfftw3f.so. Hence, manual Requires.
#Requires: libfftw3-3 = %%{version}
@ -90,6 +92,8 @@ data, and of arbitrary input size.
%package -n libfftw3_omp3
Summary: Discrete Fourier Transform (DFT) C subroutine library
Group: Productivity/Scientific/Math
Provides: fftw3-openmp = %{version}-%{release}
Obsoletes: fftw3-openmp < 3.3
# Same as libfftw3_threads.so: manual Requires for fftw3 main lib
#Requires: libfftw3-3 = %%{version}
@ -115,6 +119,8 @@ data, and of arbitrary input size.
%package -n libfftw3_mpi3
Summary: Discrete Fourier Transform (DFT) C subroutine library
Group: Productivity/Scientific/Math
Provides: fftw3-mpi = %{version}-%{release}
Obsoletes: fftw3-mpi < 3.3
# Same as libfftw3_threads.so: manual Requires for fftw3 main lib
#Requires: libfftw3-3 = %%{version}
#Requires: openmpi
@ -140,8 +146,6 @@ data, and of arbitrary input size.
%prep
%setup -q -n fftw-%{version}
# %patch
# autoreconf --force --install
%build
%configure --enable-shared --enable-threads --enable-openmp \
@ -177,7 +181,7 @@ make %{?_smp_mflags}
# remove unneeded files
rm -f %{buildroot}%{_libdir}/lib*.*a
# gzip -9nf %{buildroot}%{_infodir}/*.info*
# gzip -9nf %%{buildroot}%%{_infodir}/*.info*
rm -f %{buildroot}%{_infodir}/dir
# remove Makefiles in doc directory at last