This commit is contained in:
parent
cd8db07f07
commit
99ec1266eb
10
fftw3.spec
10
fftw3.spec
@ -66,6 +66,8 @@ data, and of arbitrary input size.
|
|||||||
%package -n libfftw3_threads3
|
%package -n libfftw3_threads3
|
||||||
Summary: Discrete Fourier Transform (DFT) C subroutine library
|
Summary: Discrete Fourier Transform (DFT) C subroutine library
|
||||||
Group: Productivity/Scientific/Math
|
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
|
# 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.
|
# may be used with either libfftw3.so or libfftw3f.so. Hence, manual Requires.
|
||||||
#Requires: libfftw3-3 = %%{version}
|
#Requires: libfftw3-3 = %%{version}
|
||||||
@ -90,6 +92,8 @@ data, and of arbitrary input size.
|
|||||||
%package -n libfftw3_omp3
|
%package -n libfftw3_omp3
|
||||||
Summary: Discrete Fourier Transform (DFT) C subroutine library
|
Summary: Discrete Fourier Transform (DFT) C subroutine library
|
||||||
Group: Productivity/Scientific/Math
|
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
|
# Same as libfftw3_threads.so: manual Requires for fftw3 main lib
|
||||||
#Requires: libfftw3-3 = %%{version}
|
#Requires: libfftw3-3 = %%{version}
|
||||||
|
|
||||||
@ -115,6 +119,8 @@ data, and of arbitrary input size.
|
|||||||
%package -n libfftw3_mpi3
|
%package -n libfftw3_mpi3
|
||||||
Summary: Discrete Fourier Transform (DFT) C subroutine library
|
Summary: Discrete Fourier Transform (DFT) C subroutine library
|
||||||
Group: Productivity/Scientific/Math
|
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
|
# Same as libfftw3_threads.so: manual Requires for fftw3 main lib
|
||||||
#Requires: libfftw3-3 = %%{version}
|
#Requires: libfftw3-3 = %%{version}
|
||||||
#Requires: openmpi
|
#Requires: openmpi
|
||||||
@ -140,8 +146,6 @@ data, and of arbitrary input size.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n fftw-%{version}
|
%setup -q -n fftw-%{version}
|
||||||
# %patch
|
|
||||||
# autoreconf --force --install
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-shared --enable-threads --enable-openmp \
|
%configure --enable-shared --enable-threads --enable-openmp \
|
||||||
@ -177,7 +181,7 @@ make %{?_smp_mflags}
|
|||||||
# remove unneeded files
|
# remove unneeded files
|
||||||
rm -f %{buildroot}%{_libdir}/lib*.*a
|
rm -f %{buildroot}%{_libdir}/lib*.*a
|
||||||
|
|
||||||
# gzip -9nf %{buildroot}%{_infodir}/*.info*
|
# gzip -9nf %%{buildroot}%%{_infodir}/*.info*
|
||||||
rm -f %{buildroot}%{_infodir}/dir
|
rm -f %{buildroot}%{_infodir}/dir
|
||||||
|
|
||||||
# remove Makefiles in doc directory at last
|
# remove Makefiles in doc directory at last
|
||||||
|
Loading…
x
Reference in New Issue
Block a user