Blame SPECS/fftw.spec

ff71e9
%bcond_without mpich
ff71e9
%ifarch s390 s390x
ff71e9
%bcond_with openmpi
ff71e9
%else
ff71e9
%bcond_without openmpi
ff71e9
%endif
ff71e9
%if %{with mpich}
ff71e9
%global mpi_list %{?mpi_list} mpich
ff71e9
%endif
ff71e9
%if %{with openmpi}
ff71e9
%global mpi_list %{?mpi_list} openmpi
ff71e9
%endif
ff71e9
ff71e9
ff71e9
Name:           fftw
ff71e9
Version:        3.3.8
ff71e9
Release:        12%{?dist}
ff71e9
Summary:        A Fast Fourier Transform library
ff71e9
License:        GPLv2+
ff71e9
URL:            http://www.fftw.org
ff71e9
Source0:        http://www.fftw.org/fftw-%{version}.tar.gz
ff71e9
BuildRequires:  gcc-gfortran
ff71e9
ff71e9
BuildRequires:  autoconf
ff71e9
BuildRequires:  automake
ff71e9
BuildRequires:  libtool
ff71e9
ff71e9
%global quad 0
ff71e9
# Quad precision support only available with gcc >= 4.6 (Fedora >= 15)
ff71e9
# and only on these arches
ff71e9
%ifarch %{ix86} x86_64 ia64
ff71e9
%global quad 1
ff71e9
%endif
ff71e9
ff71e9
# For check phase
ff71e9
BuildRequires:  time
ff71e9
BuildRequires:  perl-interpreter
ff71e9
%if %{with mpich}
ff71e9
BuildRequires:  mpich-devel
ff71e9
BuildRequires:  nss-myhostname
ff71e9
%endif
ff71e9
%if %{with openmpi}
ff71e9
BuildRequires:  openmpi-devel
ff71e9
%endif
ff71e9
%if %{with mpich} || %{with openmpi}
ff71e9
BuildRequires:  environment-modules
ff71e9
%endif
ff71e9
BuildRequires: make
ff71e9
ff71e9
ff71e9
%description
ff71e9
FFTW is a C subroutine library for computing the Discrete Fourier
ff71e9
Transform (DFT) in one or more dimensions, of both real and complex
ff71e9
data, and of arbitrary input size.
ff71e9
ff71e9
%package libs
ff71e9
Summary:        FFTW run-time library
ff71e9
Provides:       fftw3 = %{version}-%{release}
ff71e9
# Libs rearranged in 3.3.1-2
ff71e9
Obsoletes:      fftw-libs-threads < %{version}-%{release}
ff71e9
Obsoletes:      fftw-libs-openmp < %{version}-%{release}
ff71e9
ff71e9
# Pull in the actual libraries
ff71e9
Requires:       %{name}-libs-single%{?_isa} = %{version}-%{release}
ff71e9
Requires:       %{name}-libs-double%{?_isa} = %{version}-%{release}
ff71e9
Requires:       %{name}-libs-long%{?_isa} = %{version}-%{release}
ff71e9
%if %{quad}
ff71e9
Requires:       %{name}-libs-quad%{?_isa} = %{version}-%{release}
ff71e9
%endif
ff71e9
ff71e9
%description libs
ff71e9
This is a dummy package package, pulling in the individual FFTW
ff71e9
run-time libraries.
ff71e9
ff71e9
ff71e9
%package devel
ff71e9
Summary:        Headers, libraries and docs for the FFTW library
ff71e9
Requires:       pkgconfig
ff71e9
Requires:       %{name}%{?_isa} = %{version}-%{release}
ff71e9
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
ff71e9
Provides:       fftw3-devel%{?_isa} = %{version}-%{release}
ff71e9
Provides:       fftw3-devel = %{version}-%{release}
ff71e9
ff71e9
%description devel
ff71e9
FFTW is a C subroutine library for computing the Discrete Fourier
ff71e9
Transform (DFT) in one or more dimensions, of both real and complex
ff71e9
data, and of arbitrary input size.
ff71e9
ff71e9
This package contains header files and development libraries needed to
ff71e9
develop programs using the FFTW fast Fourier transform library.
ff71e9
ff71e9
%package libs-double
ff71e9
Summary:        FFTW library, double precision
ff71e9
ff71e9
%description libs-double
ff71e9
This package contains the FFTW library compiled in double precision.
ff71e9
ff71e9
%package libs-single
ff71e9
Summary:        FFTW library, single precision
ff71e9
ff71e9
%description libs-single
ff71e9
This package contains the FFTW library compiled in single precision.
ff71e9
ff71e9
%package libs-long
ff71e9
Summary:        FFTW library, long double precision 
ff71e9
ff71e9
%description libs-long
ff71e9
This package contains the FFTW library compiled in long double
ff71e9
precision.
ff71e9
ff71e9
%if %{quad}
ff71e9
%package libs-quad
ff71e9
Summary:        FFTW library, quadruple
ff71e9
ff71e9
%description libs-quad
ff71e9
This package contains the FFTW library compiled in quadruple
ff71e9
precision.
ff71e9
%endif
ff71e9
ff71e9
%package        static
ff71e9
Summary:        Static versions of the FFTW libraries
ff71e9
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
ff71e9
Provides:       fftw3-static%{?_isa} = %{version}-%{release}
ff71e9
Provides:       fftw3-static = %{version}-%{release}
ff71e9
ff71e9
%description static
ff71e9
The fftw-static package contains the statically linkable version of
ff71e9
the FFTW fast Fourier transform library.
ff71e9
ff71e9
%if %{with mpich}
ff71e9
%package mpich-libs
ff71e9
Summary:        FFTW MPICH run-time library
ff71e9
Provides:       fftw3-mpich = %{version}-%{release}
ff71e9
ff71e9
# Pull in the actual libraries
ff71e9
Requires:       %{name}-mpich-libs-single%{?_isa} = %{version}-%{release}
ff71e9
Requires:       %{name}-mpich-libs-double%{?_isa} = %{version}-%{release}
ff71e9
Requires:       %{name}-mpich-libs-long%{?_isa} = %{version}-%{release}
ff71e9
ff71e9
%description mpich-libs
ff71e9
This is a dummy package package, pulling in the individual FFTW
ff71e9
MPICH run-time libraries.
ff71e9
ff71e9
ff71e9
%package mpich-devel
ff71e9
Summary:        Headers, libraries and docs for the FFTW MPICH library
ff71e9
Requires:       mpich-devel
ff71e9
Requires:       pkgconfig
ff71e9
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
ff71e9
Requires:       %{name}-mpich-libs%{?_isa} = %{version}-%{release}
ff71e9
Provides:       fftw3-mpich-devel%{?_isa} = %{version}-%{release}
ff71e9
Provides:       fftw3-mpich-devel = %{version}-%{release}
ff71e9
ff71e9
%description mpich-devel
ff71e9
FFTW is a C subroutine library for computing the Discrete Fourier
ff71e9
Transform (DFT) in one or more dimensions, of both real and complex
ff71e9
data, and of arbitrary input size.
ff71e9
ff71e9
This package contains header files and development libraries needed to
ff71e9
develop programs using the FFTW fast Fourier transform library for MPICH.
ff71e9
ff71e9
%package mpich-libs-double
ff71e9
Summary:        FFTW MPICH library, double precision
ff71e9
Requires:       %{name}-libs-double%{?_isa} = %{version}-%{release}
ff71e9
ff71e9
%description mpich-libs-double
ff71e9
This package contains the FFTW MPICH library compiled in double precision.
ff71e9
ff71e9
%package mpich-libs-single
ff71e9
Summary:        FFTW MPICH library, single precision
ff71e9
Requires:       %{name}-libs-single%{?_isa} = %{version}-%{release}
ff71e9
ff71e9
%description mpich-libs-single
ff71e9
This package contains the FFTW MPICH library compiled in single precision.
ff71e9
ff71e9
%package mpich-libs-long
ff71e9
Summary:        FFTW MPICH library, long double precision 
ff71e9
Requires:       %{name}-libs-long%{?_isa} = %{version}-%{release}
ff71e9
ff71e9
%description mpich-libs-long
ff71e9
This package contains the FFTW MPICH library compiled in long double
ff71e9
precision.
ff71e9
ff71e9
%package        mpich-static
ff71e9
Summary:        Static versions of the FFTW MPICH libraries
ff71e9
Requires:       %{name}-mpich-devel%{?_isa} = %{version}-%{release}
ff71e9
Requires:       %{name}-static%{?_isa} = %{version}-%{release}
ff71e9
Provides:       fftw3-mpich-static%{?_isa} = %{version}-%{release}
ff71e9
Provides:       fftw3-mpich-static = %{version}-%{release}
ff71e9
ff71e9
%description mpich-static
ff71e9
The fftw-mpich-static package contains the statically linkable version of
ff71e9
the FFTW fast Fourier transform library for MPICh.
ff71e9
%endif
ff71e9
ff71e9
%if %{with openmpi}
ff71e9
%package openmpi-libs
ff71e9
Summary:        FFTW OpenMPI run-time library
ff71e9
Provides:       fftw3-openmpi = %{version}-%{release}
ff71e9
ff71e9
# Pull in the actual libraries
ff71e9
Requires:       %{name}-openmpi-libs-single%{?_isa} = %{version}-%{release}
ff71e9
Requires:       %{name}-openmpi-libs-double%{?_isa} = %{version}-%{release}
ff71e9
Requires:       %{name}-openmpi-libs-long%{?_isa} = %{version}-%{release}
ff71e9
ff71e9
%description openmpi-libs
ff71e9
This is a dummy package package, pulling in the individual FFTW
ff71e9
OpenMPI run-time libraries.
ff71e9
ff71e9
ff71e9
%package openmpi-devel
ff71e9
Summary:        Headers, libraries and docs for the FFTW OpenMPI library
ff71e9
Requires:       openmpi-devel
ff71e9
Requires:       pkgconfig
ff71e9
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
ff71e9
Requires:       %{name}-openmpi-libs%{?_isa} = %{version}-%{release}
ff71e9
Provides:       fftw3-openmpi-devel%{?_isa} = %{version}-%{release}
ff71e9
Provides:       fftw3-openmpi-devel = %{version}-%{release}
ff71e9
ff71e9
%description openmpi-devel
ff71e9
FFTW is a C subroutine library for computing the Discrete Fourier
ff71e9
Transform (DFT) in one or more dimensions, of both real and complex
ff71e9
data, and of arbitrary input size.
ff71e9
ff71e9
This package contains header files and development libraries needed to
ff71e9
develop programs using the FFTW fast Fourier transform library for OpenMPI.
ff71e9
ff71e9
%package openmpi-libs-double
ff71e9
Summary:        FFTW OpenMPI library, double precision
ff71e9
Requires:       %{name}-libs-double%{?_isa} = %{version}-%{release}
ff71e9
ff71e9
%description openmpi-libs-double
ff71e9
This package contains the FFTW OpenMPI library compiled in double precision.
ff71e9
ff71e9
%package openmpi-libs-single
ff71e9
Summary:        FFTW OpenMPI library, single precision
ff71e9
Requires:       %{name}-libs-single%{?_isa} = %{version}-%{release}
ff71e9
ff71e9
%description openmpi-libs-single
ff71e9
This package contains the FFTW OpenMPI library compiled in single precision.
ff71e9
ff71e9
%package openmpi-libs-long
ff71e9
Summary:        FFTW OpenMPI library, long double precision 
ff71e9
Requires:       %{name}-libs-long%{?_isa} = %{version}-%{release}
ff71e9
ff71e9
%description openmpi-libs-long
ff71e9
This package contains the FFTW OpenMPI library compiled in long double
ff71e9
precision.
ff71e9
ff71e9
%package        openmpi-static
ff71e9
Summary:        Static versions of the FFTW OpenMPI libraries
ff71e9
Requires:       %{name}-openmpi-devel%{?_isa} = %{version}-%{release}
ff71e9
Requires:       %{name}-static%{?_isa} = %{version}-%{release}
ff71e9
Provides:       fftw3-openmpi-static%{?_isa} = %{version}-%{release}
ff71e9
Provides:       fftw3-openmpi-static = %{version}-%{release}
ff71e9
ff71e9
%description openmpi-static
ff71e9
The fftw-openmpi-static package contains the statically linkable version of
ff71e9
the FFTW fast Fourier transform library for MPICh.
ff71e9
%endif
ff71e9
ff71e9
%package doc
ff71e9
Summary:        FFTW library manual
ff71e9
BuildArch:      noarch
ff71e9
ff71e9
%description doc
ff71e9
This package contains the manual for the FFTW fast Fourier transform
ff71e9
library.
ff71e9
ff71e9
%prep
ff71e9
%setup -q
ff71e9
ff71e9
%build
ff71e9
# Explicitly load shell support for the environment-modules package, used
ff71e9
# below via 'module' pseudo-command.
ff71e9
source /etc/profile.d/modules.sh
ff71e9
ff71e9
# Regenerate autoconf files using current tools so proper build flags
ff71e9
# from redhat-rpm-config are used
ff71e9
autoreconf -vfi
ff71e9
# Configure uses g77 by default, if present on system
ff71e9
export F77=gfortran
ff71e9
ff71e9
BASEFLAGS="--enable-shared --disable-dependency-tracking --enable-threads"
ff71e9
BASEFLAGS+=" --enable-openmp"
ff71e9
ff71e9
# Precisions to build
ff71e9
prec_name[0]=single
ff71e9
prec_name[1]=double
ff71e9
prec_name[2]=long
ff71e9
prec_name[3]=quad
ff71e9
ff71e9
# Corresponding flags
ff71e9
prec_flags[0]=--enable-single
ff71e9
prec_flags[1]=--enable-double
ff71e9
prec_flags[2]=--enable-long-double
ff71e9
prec_flags[3]=--enable-quad-precision
ff71e9
ff71e9
%ifarch x86_64
ff71e9
# Enable SSE2 and AVX support for x86_64
ff71e9
for((i=0;i<2;i++)); do
ff71e9
 prec_flags[i]+=" --enable-sse2 --enable-avx"
ff71e9
done
ff71e9
%endif
ff71e9
ff71e9
# No NEON run time detection, not all ARM SoCs have NEON
ff71e9
#%ifarch %{arm}
ff71e9
## Compile support for NEON instructions
ff71e9
#for((i=0;i<2;i++)); do
ff71e9
# prec_flags[i]+=" --enable-neon"
ff71e9
#done
ff71e9
#%endif
ff71e9
ff71e9
#%ifarch ppc ppc64
ff71e9
## Compile support for Altivec instructions
ff71e9
#for((i=0;i<2;i++)); do
ff71e9
 #prec_flags[i]+=" --enable-altivec"
ff71e9
#done
ff71e9
#%endif
ff71e9
ff71e9
# Loop over precisions
ff71e9
%if %{quad}
ff71e9
for((iprec=0;iprec<4;iprec++))
ff71e9
%else
ff71e9
for((iprec=0;iprec<3;iprec++))
ff71e9
%endif
ff71e9
do
ff71e9
 mkdir ${prec_name[iprec]}${ver_name[iver]}
ff71e9
 cd ${prec_name[iprec]}${ver_name[iver]}
ff71e9
 ln -s ../configure .
ff71e9
 %{configure} ${BASEFLAGS} ${prec_flags[iprec]}
ff71e9
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
ff71e9
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
ff71e9
 make %{?_smp_mflags}
ff71e9
 cd ..
ff71e9
done
ff71e9
ff71e9
# MPI Builds - this duplicates the non-mpi builds, but oh well
ff71e9
for mpi in %{mpi_list}
ff71e9
do
ff71e9
 module load mpi/${mpi}-%{_arch}
ff71e9
 # Loop over precisions - no quad precision support with MPI
ff71e9
 for((iprec=0;iprec<3;iprec++))
ff71e9
 do
ff71e9
  mkdir ${mpi}-${prec_name[iprec]}${ver_name[iver]}
ff71e9
  cd ${mpi}-${prec_name[iprec]}${ver_name[iver]}
ff71e9
  ln -s ../configure .
ff71e9
  # Force linking the _mpi.so libraries with the mpi libs.  This works because
ff71e9
  # we get rid of all of the non-mpi components of these builds
ff71e9
  export CC=mpicc
ff71e9
  %{configure} ${BASEFLAGS} ${prec_flags[iprec]} --enable-mpi \
ff71e9
   --libdir=%{_libdir}/$mpi/lib \
ff71e9
   --bindir=%{_libdir}/$mpi/bin \
ff71e9
   --sbindir=%{_libdir}/$mpi/sbin \
ff71e9
   --includedir=%{_includedir}/$mpi-%{_arch} \
ff71e9
   --mandir=%{_libdir}/$mpi/share/man
ff71e9
  make %{?_smp_mflags}
ff71e9
  cd ..
ff71e9
 done
ff71e9
 module unload mpi/${mpi}-%{_arch}
ff71e9
done
ff71e9
ff71e9
ff71e9
%install
ff71e9
# Explicitly load shell support for the environment-modules package, used
ff71e9
# below via 'module' pseudo-command.
ff71e9
source /etc/profile.d/modules.sh
ff71e9
ff71e9
%if %{quad}
ff71e9
for ver in single double long quad
ff71e9
%else
ff71e9
for ver in single double long
ff71e9
%endif
ff71e9
do
ff71e9
 make -C $ver install DESTDIR=%{buildroot}
ff71e9
done
ff71e9
# MPI
ff71e9
for mpi in %{mpi_list}
ff71e9
do
ff71e9
 module load mpi/${mpi}-%{_arch}
ff71e9
 for ver in single double long
ff71e9
 do
ff71e9
  make -C ${mpi}-${ver} install DESTDIR=%{buildroot}
ff71e9
  # Remove duplicated non-mpi libraries, binaries, and data
ff71e9
  find %{buildroot}%{_libdir}/${mpi}/lib -name libfftw\* -a \! -name \*_mpi.\* -delete
ff71e9
  rm -r %{buildroot}%{_libdir}/${mpi}/{bin,share}
ff71e9
 done
ff71e9
 module unload mpi/${mpi}-%{_arch}
ff71e9
done
ff71e9
rm -f %{buildroot}%{_infodir}/dir
ff71e9
find %{buildroot} -name \*.la -delete
ff71e9
ff71e9
%check
ff71e9
# Explicitly load shell support for the environment-modules package, used
ff71e9
# below via 'module' pseudo-command.
ff71e9
source /etc/profile.d/modules.sh
ff71e9
ff71e9
bdir=`pwd`
ff71e9
%if %{quad}
ff71e9
for ver in single double long quad
ff71e9
%else
ff71e9
for ver in single double long
ff71e9
%endif
ff71e9
do 
ff71e9
 export LD_LIBRARY_PATH=$bdir/$ver/.libs:$bdir/$ver/threads/.libs
ff71e9
 make %{?_smp_mflags} -C $ver check
ff71e9
done
ff71e9
# MPI
ff71e9
%if %{with openmpi}
ff71e9
%ifarch %{ix86}
ff71e9
# disable Open MPI's vader byte transfer layer while running tests on 32-bit x86 platforms
ff71e9
# as it is known to be troublesome <https://github.com/open-mpi/ompi/issues/4260>
ff71e9
export OMPI_MCA_btl="^vader"
ff71e9
%endif
ff71e9
%endif
ff71e9
for mpi in %{mpi_list}
ff71e9
do
ff71e9
 module load mpi/${mpi}-%{_arch}
ff71e9
 for ver in single double long
ff71e9
 do 
ff71e9
  export LD_LIBRARY_PATH=$bdir/$ver/.libs:$bdir/$ver/threads/.libs
ff71e9
  make %{?_smp_mflags} -C ${mpi}-${ver}/mpi check
ff71e9
 done
ff71e9
 module unload mpi/${mpi}-%{_arch}
ff71e9
done
ff71e9
ff71e9
%ldconfig_scriptlets libs-single
ff71e9
%ldconfig_scriptlets libs-double
ff71e9
%ldconfig_scriptlets libs-long
ff71e9
%if %{quad}
ff71e9
%ldconfig_scriptlets libs-quad
ff71e9
%endif
ff71e9
ff71e9
%files
ff71e9
%{_mandir}/man1/fftw*.1*
ff71e9
%{_bindir}/fftw*-wisdom*
ff71e9
ff71e9
%files libs
ff71e9
ff71e9
%files libs-single
ff71e9
%license COPYING COPYRIGHT
ff71e9
%doc AUTHORS ChangeLog NEWS README* TODO
ff71e9
%{_libdir}/libfftw3f.so.*
ff71e9
%{_libdir}/libfftw3f_threads.so.*
ff71e9
%{_libdir}/libfftw3f_omp.so.*
ff71e9
ff71e9
%files libs-double
ff71e9
%license COPYING COPYRIGHT
ff71e9
%doc AUTHORS ChangeLog NEWS README* TODO
ff71e9
%{_libdir}/libfftw3.so.*
ff71e9
%{_libdir}/libfftw3_threads.so.*
ff71e9
%{_libdir}/libfftw3_omp.so.*
ff71e9
ff71e9
%files libs-long
ff71e9
%license COPYING COPYRIGHT
ff71e9
%doc AUTHORS ChangeLog NEWS README* TODO
ff71e9
%{_libdir}/libfftw3l.so.*
ff71e9
%{_libdir}/libfftw3l_threads.so.*
ff71e9
%{_libdir}/libfftw3l_omp.so.*
ff71e9
ff71e9
%if %{quad}
ff71e9
%files libs-quad
ff71e9
%license COPYING COPYRIGHT
ff71e9
%doc AUTHORS ChangeLog NEWS README* TODO
ff71e9
%{_libdir}/libfftw3q.so.*
ff71e9
%{_libdir}/libfftw3q_threads.so.*
ff71e9
%{_libdir}/libfftw3q_omp.so.*
ff71e9
%endif
ff71e9
ff71e9
%files devel
ff71e9
%doc doc/FAQ/fftw-faq.html/
ff71e9
%doc %{_infodir}/fftw3.info*
ff71e9
%{_includedir}/fftw3*
ff71e9
%dir %{_libdir}/cmake/fftw3/
ff71e9
%{_libdir}/cmake/fftw3/*.cmake
ff71e9
%{_libdir}/pkgconfig/fftw3*.pc
ff71e9
%{_libdir}/libfftw3*.so
ff71e9
ff71e9
%files static
ff71e9
%{_libdir}/libfftw3*.a
ff71e9
ff71e9
%files doc
ff71e9
%doc doc/*.pdf doc/html/
ff71e9
ff71e9
%if %{with mpich}
ff71e9
%files mpich-libs
ff71e9
ff71e9
%files mpich-libs-single
ff71e9
%license COPYING COPYRIGHT
ff71e9
%doc AUTHORS ChangeLog NEWS README* TODO
ff71e9
%{_libdir}/mpich/lib/libfftw3f_mpi.so.*
ff71e9
ff71e9
%files mpich-libs-double
ff71e9
%license COPYING COPYRIGHT
ff71e9
%doc AUTHORS ChangeLog NEWS README* TODO
ff71e9
%{_libdir}/mpich/lib/libfftw3_mpi.so.*
ff71e9
ff71e9
%files mpich-libs-long
ff71e9
%license COPYING COPYRIGHT
ff71e9
%doc AUTHORS ChangeLog NEWS README* TODO
ff71e9
%{_libdir}/mpich/lib/libfftw3l_mpi.so.*
ff71e9
ff71e9
%files mpich-devel
ff71e9
%doc doc/FAQ/fftw-faq.html/
ff71e9
%{_includedir}/mpich-%{_arch}
ff71e9
%dir %{_libdir}/mpich/lib/cmake/fftw3/
ff71e9
%{_libdir}/mpich/lib/cmake/fftw3/*.cmake
ff71e9
%{_libdir}/mpich/lib/pkgconfig/fftw3*.pc
ff71e9
%{_libdir}/mpich/lib/libfftw3*.so
ff71e9
ff71e9
%files mpich-static
ff71e9
%{_libdir}/mpich/lib/libfftw3*.a
ff71e9
%endif
ff71e9
ff71e9
%if %{with openmpi}
ff71e9
%files openmpi-libs
ff71e9
ff71e9
%files openmpi-libs-single
ff71e9
%license COPYING COPYRIGHT
ff71e9
%doc AUTHORS ChangeLog NEWS README* TODO
ff71e9
%{_libdir}/openmpi/lib/libfftw3f_mpi.so.*
ff71e9
ff71e9
%files openmpi-libs-double
ff71e9
%license COPYING COPYRIGHT
ff71e9
%doc AUTHORS ChangeLog NEWS README* TODO
ff71e9
%{_libdir}/openmpi/lib/libfftw3_mpi.so.*
ff71e9
ff71e9
%files openmpi-libs-long
ff71e9
%license COPYING COPYRIGHT
ff71e9
%doc AUTHORS ChangeLog NEWS README* TODO
ff71e9
%{_libdir}/openmpi/lib/libfftw3l_mpi.so.*
ff71e9
ff71e9
%files openmpi-devel
ff71e9
%doc doc/FAQ/fftw-faq.html/
ff71e9
%{_includedir}/openmpi-%{_arch}
ff71e9
%dir %{_libdir}/openmpi/lib/cmake/fftw3/
ff71e9
%{_libdir}/openmpi/lib/cmake/fftw3/*.cmake
ff71e9
%{_libdir}/openmpi/lib/pkgconfig/fftw3*.pc
ff71e9
%{_libdir}/openmpi/lib/libfftw3*.so
ff71e9
ff71e9
%files openmpi-static
ff71e9
%{_libdir}/openmpi/lib/libfftw3*.a
ff71e9
%endif
ff71e9
ff71e9
%changelog
ff71e9
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.8-12
ff71e9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
ff71e9
  Related: rhbz#1991688
ff71e9
ff71e9
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.8-11
ff71e9
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
ff71e9
ff71e9
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-10
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
ff71e9
ff71e9
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-9
ff71e9
- Second attempt - Rebuilt for
ff71e9
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ff71e9
ff71e9
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-8
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ff71e9
ff71e9
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-7
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ff71e9
ff71e9
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-6
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ff71e9
ff71e9
* Thu Mar  7 2019 Tim Landscheidt <tim@tim-landscheidt.de> - 3.3.8-5
ff71e9
- Remove obsolete requirements for %%post/%%preun scriptlets
ff71e9
ff71e9
* Thu Feb 14 2019 Orion Poplawski <orion@nwra.com> - 3.3.8-4
ff71e9
- Rebuild for openmpi 3.1.3
ff71e9
ff71e9
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-3
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ff71e9
ff71e9
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-2
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ff71e9
ff71e9
* Mon Jun 11 2018 Conrad Meyer <cemeyer@uw.edu> - 3.3.8-1
ff71e9
- Update to latest upstream, 3.3.8 (rhbz# 1413425)
ff71e9
- Add missing BuildRequires on environment-modules, used in 43b91c1c ("Build
ff71e9
  mpich and openmpi versions") without explicit BR dependency
ff71e9
- Add new cmake files to %%files
ff71e9
ff71e9
* Wed Apr 18 2018 Merlin Mathesius <mmathesi@redhat.com> - 3.3.5-11
ff71e9
- Regenerate autoconf files using current tools so proper build flags
ff71e9
  from redhat-rpm-config are used. This resolves BZ#1548473.
ff71e9
ff71e9
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-10
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ff71e9
ff71e9
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.3.5-9
ff71e9
- Switch to %%ldconfig_scriptlets
ff71e9
ff71e9
* Tue Nov 28 2017 Merlin Mathesius <mmathesi@redhat.com> - 3.3.5-8
ff71e9
- Disable Open MPI's vader byte transfer layer while running tests on 32-bit x86 platforms
ff71e9
  as it is known to be troublesome <https://github.com/open-mpi/ompi/issues/4260>.
ff71e9
  This resolves FTBFS issue (BZ#1518038).
ff71e9
ff71e9
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-7
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ff71e9
ff71e9
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-6
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ff71e9
ff71e9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-5
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ff71e9
ff71e9
* Fri Oct 21 2016 Orion Poplawski <orion@cora.nwra.com> - 3.3.5-4
ff71e9
- Rebuild for openmpi 2.0
ff71e9
ff71e9
* Mon Oct 10 2016 Dan HorĂ¡k <dan[at]danny.cz> - 3.3.5-3
ff71e9
- Update BRs so nss-myhostname (provided by systemd) is included also
ff71e9
  in mpich-only builds (Related: #1383271)
ff71e9
ff71e9
* Fri Oct 7 2016 Orion Poplawski <orion@cora.nwra.com> - 3.3.5-2
ff71e9
- Build mpich and openmpi versions
ff71e9
ff71e9
* Wed Oct 5 2016 Orion Poplawski <orion@cora.nwra.com> - 3.3.5-1
ff71e9
- Update to 3.3.5
ff71e9
- Cleanup spec
ff71e9
ff71e9
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.4-7
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ff71e9
ff71e9
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.4-6
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ff71e9
ff71e9
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.4-5
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ff71e9
ff71e9
* Fri Jul  4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.3.4-4
ff71e9
- Disable SSE2/AVX on x86(32) as we support Pentium Pro as base
ff71e9
- SSE2 only arrived with P-4
ff71e9
- https://fedoraproject.org/wiki/Features/F12X86Support
ff71e9
- Fix ARM macro
ff71e9
- Disable NEON on ARM (we don't enable by default, needs runtime detection)
ff71e9
ff71e9
* Thu Jul 03 2014 Conrad Meyer <cemeyer@uw.edu> - 3.3.4-3
ff71e9
- Build with --enable-avx (rhbz# 1114964)
ff71e9
ff71e9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.4-2
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ff71e9
ff71e9
* Tue Mar 18 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 3.3.4-1
ff71e9
- Update to 3.3.4.
ff71e9
ff71e9
* Sat Dec 14 2013 Conrad Meyer <cemeyer@uw.edu> - 3.3.3-8
ff71e9
- Remove non-OpenMP / g77 build for obsolete RHEL (< 5)
ff71e9
- Remove ancient Obsoletes (fftw < 3.3, Fedora < 16)
ff71e9
- Remove ancient non-Quad build (Fedora < 15) on supported arch(s)
ff71e9
- Remove obsolete conditional on BuildArch: noarch (RHEL < 6, Fedora < 13)
ff71e9
ff71e9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.3-7
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ff71e9
ff71e9
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.3-6
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ff71e9
ff71e9
* Sat Jan 19 2013 PPC Secondary Arch Admin <karsten@redhat.com> 3.3.3-5
ff71e9
- disable altivec flag again, that works with single precision only
ff71e9
ff71e9
* Mon Dec 24 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 3.3.3-4
ff71e9
- Fix typo: should be %%ix86 instead of %%x86. Now should have SSE2 support
ff71e9
  on x86 as well.
ff71e9
ff71e9
* Tue Dec 18 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 3.3.3-3
ff71e9
- After consultation with upstream, enable SSE2 also on x86, altivec on ppc
ff71e9
  and ppc64 and NEON on arm.
ff71e9
ff71e9
* Tue Dec 18 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 3.3.3-2
ff71e9
- Enable SSE2 on x86_64.
ff71e9
ff71e9
* Mon Nov 26 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 3.3.3-1
ff71e9
- Update to 3.3.3.
ff71e9
ff71e9
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.2-2
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ff71e9
ff71e9
* Fri Jun 15 2012 Orion Poplawski <orion@cora.nwra.com> - 3.3.2-1
ff71e9
- Update to 3.3.2
ff71e9
- Drop alignment patch
ff71e9
ff71e9
* Fri Apr 27 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 3.3.1-3
ff71e9
- Fix FTBFS with gcc 4.7.
ff71e9
ff71e9
* Thu Apr 26 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 3.3.1-2
ff71e9
- Reorganized libraries (BZ #812981).
ff71e9
ff71e9
* Mon Feb 27 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 3.3.1-1
ff71e9
- Update to 3.3.1.
ff71e9
ff71e9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-5
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ff71e9
ff71e9
* Tue Oct 11 2011 Dan HorĂ¡k <dan[at]danny.cz> - 3.3-4
ff71e9
- libquadmath exists only on x86/x86_64 and ia64
ff71e9
ff71e9
* Mon Oct 10 2011 Rex Dieter <rdieter@fedoraproject.org> 3.3-3
ff71e9
- -devel: Provides: fftw3-devel (#744758)
ff71e9
- -static: Provides: fftw3-static
ff71e9
- drop %%_isa from Obsoletes
ff71e9
ff71e9
* Sat Jul 30 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 3.3-2
ff71e9
- Conditionalize OpenMP and quadruple precision support based on capabilities
ff71e9
  of system compiler.
ff71e9
ff71e9
* Thu Jul 28 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 3.3-1
ff71e9
- Update to 3.3.
ff71e9
ff71e9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-5
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ff71e9
ff71e9
* Sat Jan 9 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 3.2.2-4
ff71e9
- Get rid of rpath.
ff71e9
ff71e9
* Sat Jan 9 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 3.2.2-3
ff71e9
- Branch out developers' manual to -doc.
ff71e9
ff71e9
* Sat Jan 2 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 3.2.2-2
ff71e9
- Add check phase.
ff71e9
- Cosmetic changes to spec file (unified changelog format, removed unnecessary
ff71e9
  space).
ff71e9
- Use rm instead of find -delete, as latter is not present on EPEL-4.
ff71e9
- Generalize obsoletes of fftw3 packages. Add Obsoletes: fftw3-static.
ff71e9
ff71e9
* Fri Jan 1 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 3.2.2-1
ff71e9
- Update to 3.2.2.
ff71e9
- Make file listings more explicit.
ff71e9
- Don't use file dependencies for info.
ff71e9
ff71e9
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-3
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ff71e9
ff71e9
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
ff71e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ff71e9
ff71e9
* Sat Feb 14 2009 Conrad Meyer <konrad@tylerc.org> - 3.2.1-1
ff71e9
- Bump to 3.2.1.
ff71e9
ff71e9
* Thu Dec 4 2008 Conrad Meyer <konrad@tylerc.org> - 3.2-1
ff71e9
- Bump to 3.2.
ff71e9
ff71e9
* Fri Jul 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.1.2-7
ff71e9
- fix license tag
ff71e9
ff71e9
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1.2-6
ff71e9
- Autorebuild for GCC 4.3
ff71e9
ff71e9
* Fri Aug 24 2007 Quentin Spencer <qspencer@users.sf.net> 3.1.2-5
ff71e9
- Rebuild for F8.
ff71e9
ff71e9
* Fri Jul 27 2007 Quentin Spencer <qspencer@users.sf.net> 3.1.2-4
ff71e9
- Split static libs into separate package (bug 249686).
ff71e9
ff71e9
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 3.1.2-3
ff71e9
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
ff71e9
ff71e9
* Tue Sep 26 2006 Quentin Spencer <qspencer@users.sf.net> 3.1.2-2
ff71e9
- BuildRequires: pkgconfig for -devel (bug 206444).
ff71e9
ff71e9
* Fri Sep  8 2006 Quentin Spencer <qspencer@users.sf.net> 3.1.2-1
ff71e9
- New release.
ff71e9
ff71e9
* Fri Jun  2 2006 Quentin Spencer <qspencer@users.sf.net> 3.1.1-1
ff71e9
- New upstream release.
ff71e9
ff71e9
* Fri Feb 24 2006 Quentin Spencer <qspencer@users.sf.net> 3.1-4
ff71e9
- Re-enable static libs (bug 181897).
ff71e9
- Build long-double version of libraries (bug 182587).
ff71e9
ff71e9
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 3.1-3
ff71e9
- Add Obsoletes and Provides.
ff71e9
ff71e9
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 3.1-2
ff71e9
- Rebuild for Fedora Extras 5.
ff71e9
- Disable static libs.
ff71e9
- Remove obsolete configure options.
ff71e9
ff71e9
* Wed Feb  1 2006 Quentin Spencer <qspencer@users.sf.net> 3.1-1
ff71e9
- Upgrade to the 3.x branch, incorporating changes from the fftw3 spec file.
ff71e9
- Add dist tag.