Compare commits

..

No commits in common. "c9s" and "c8s" have entirely different histories.
c9s ... c8s

4 changed files with 46 additions and 76 deletions

11
.gitignore vendored
View File

@ -1,11 +1,2 @@
fftw-3.2.2.tar.gz
/fftw-3.3.tar.gz
/fftw-3.3.1.tar.gz
/fftw-3.3.2.tar.gz
<<<<<<< HEAD
=======
/fftw-3.3.3.tar.gz
>>>>>>> master
/fftw-3.3.4.tar.gz
SOURCES/fftw-3.3.5.tar.gz
/fftw-3.3.5.tar.gz
/fftw-3.3.8.tar.gz

103
fftw.spec
View File

@ -13,9 +13,10 @@
Name: fftw
Version: 3.3.8
Release: 12%{?dist}
Version: 3.3.5
Release: 11%{?dist}
Summary: A Fast Fourier Transform library
Group: System Environment/Libraries
License: GPLv2+
URL: http://www.fftw.org
Source0: http://www.fftw.org/fftw-%{version}.tar.gz
@ -42,10 +43,9 @@ BuildRequires: nss-myhostname
%if %{with openmpi}
BuildRequires: openmpi-devel
%endif
%if %{with mpich} || %{with openmpi}
BuildRequires: environment-modules
%endif
BuildRequires: make
Requires(post): info
Requires(preun): info
%description
@ -55,6 +55,7 @@ data, and of arbitrary input size.
%package libs
Summary: FFTW run-time library
Group: System Environment/Libraries
Provides: fftw3 = %{version}-%{release}
# Libs rearranged in 3.3.1-2
Obsoletes: fftw-libs-threads < %{version}-%{release}
@ -75,6 +76,7 @@ run-time libraries.
%package devel
Summary: Headers, libraries and docs for the FFTW library
Group: Development/Libraries
Requires: pkgconfig
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@ -91,18 +93,21 @@ develop programs using the FFTW fast Fourier transform library.
%package libs-double
Summary: FFTW library, double precision
Group: Development/Libraries
%description libs-double
This package contains the FFTW library compiled in double precision.
%package libs-single
Summary: FFTW library, single precision
Group: Development/Libraries
%description libs-single
This package contains the FFTW library compiled in single precision.
%package libs-long
Summary: FFTW library, long double precision
Group: Development/Libraries
%description libs-long
This package contains the FFTW library compiled in long double
@ -111,6 +116,7 @@ precision.
%if %{quad}
%package libs-quad
Summary: FFTW library, quadruple
Group: Development/Libraries
%description libs-quad
This package contains the FFTW library compiled in quadruple
@ -119,6 +125,7 @@ precision.
%package static
Summary: Static versions of the FFTW libraries
Group: Development/Libraries
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Provides: fftw3-static%{?_isa} = %{version}-%{release}
Provides: fftw3-static = %{version}-%{release}
@ -130,6 +137,7 @@ the FFTW fast Fourier transform library.
%if %{with mpich}
%package mpich-libs
Summary: FFTW MPICH run-time library
Group: System Environment/Libraries
Provides: fftw3-mpich = %{version}-%{release}
# Pull in the actual libraries
@ -144,6 +152,7 @@ MPICH run-time libraries.
%package mpich-devel
Summary: Headers, libraries and docs for the FFTW MPICH library
Group: Development/Libraries
Requires: mpich-devel
Requires: pkgconfig
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
@ -161,6 +170,7 @@ develop programs using the FFTW fast Fourier transform library for MPICH.
%package mpich-libs-double
Summary: FFTW MPICH library, double precision
Group: Development/Libraries
Requires: %{name}-libs-double%{?_isa} = %{version}-%{release}
%description mpich-libs-double
@ -168,6 +178,7 @@ This package contains the FFTW MPICH library compiled in double precision.
%package mpich-libs-single
Summary: FFTW MPICH library, single precision
Group: Development/Libraries
Requires: %{name}-libs-single%{?_isa} = %{version}-%{release}
%description mpich-libs-single
@ -175,6 +186,7 @@ This package contains the FFTW MPICH library compiled in single precision.
%package mpich-libs-long
Summary: FFTW MPICH library, long double precision
Group: Development/Libraries
Requires: %{name}-libs-long%{?_isa} = %{version}-%{release}
%description mpich-libs-long
@ -183,6 +195,7 @@ precision.
%package mpich-static
Summary: Static versions of the FFTW MPICH libraries
Group: Development/Libraries
Requires: %{name}-mpich-devel%{?_isa} = %{version}-%{release}
Requires: %{name}-static%{?_isa} = %{version}-%{release}
Provides: fftw3-mpich-static%{?_isa} = %{version}-%{release}
@ -196,6 +209,7 @@ the FFTW fast Fourier transform library for MPICh.
%if %{with openmpi}
%package openmpi-libs
Summary: FFTW OpenMPI run-time library
Group: System Environment/Libraries
Provides: fftw3-openmpi = %{version}-%{release}
# Pull in the actual libraries
@ -210,6 +224,7 @@ OpenMPI run-time libraries.
%package openmpi-devel
Summary: Headers, libraries and docs for the FFTW OpenMPI library
Group: Development/Libraries
Requires: openmpi-devel
Requires: pkgconfig
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
@ -227,6 +242,7 @@ develop programs using the FFTW fast Fourier transform library for OpenMPI.
%package openmpi-libs-double
Summary: FFTW OpenMPI library, double precision
Group: Development/Libraries
Requires: %{name}-libs-double%{?_isa} = %{version}-%{release}
%description openmpi-libs-double
@ -234,6 +250,7 @@ This package contains the FFTW OpenMPI library compiled in double precision.
%package openmpi-libs-single
Summary: FFTW OpenMPI library, single precision
Group: Development/Libraries
Requires: %{name}-libs-single%{?_isa} = %{version}-%{release}
%description openmpi-libs-single
@ -241,6 +258,7 @@ This package contains the FFTW OpenMPI library compiled in single precision.
%package openmpi-libs-long
Summary: FFTW OpenMPI library, long double precision
Group: Development/Libraries
Requires: %{name}-libs-long%{?_isa} = %{version}-%{release}
%description openmpi-libs-long
@ -249,6 +267,7 @@ precision.
%package openmpi-static
Summary: Static versions of the FFTW OpenMPI libraries
Group: Development/Libraries
Requires: %{name}-openmpi-devel%{?_isa} = %{version}-%{release}
Requires: %{name}-static%{?_isa} = %{version}-%{release}
Provides: fftw3-openmpi-static%{?_isa} = %{version}-%{release}
@ -261,6 +280,7 @@ the FFTW fast Fourier transform library for MPICh.
%package doc
Summary: FFTW library manual
Group: Documentation
BuildArch: noarch
%description doc
@ -271,10 +291,6 @@ library.
%setup -q
%build
# Explicitly load shell support for the environment-modules package, used
# below via 'module' pseudo-command.
source /etc/profile.d/modules.sh
# Regenerate autoconf files using current tools so proper build flags
# from redhat-rpm-config are used
autoreconf -vfi
@ -362,10 +378,6 @@ done
%install
# Explicitly load shell support for the environment-modules package, used
# below via 'module' pseudo-command.
source /etc/profile.d/modules.sh
%if %{quad}
for ver in single double long quad
%else
@ -391,10 +403,6 @@ rm -f %{buildroot}%{_infodir}/dir
find %{buildroot} -name \*.la -delete
%check
# Explicitly load shell support for the environment-modules package, used
# below via 'module' pseudo-command.
source /etc/profile.d/modules.sh
bdir=`pwd`
%if %{quad}
for ver in single double long quad
@ -413,6 +421,9 @@ done
export OMPI_MCA_btl="^vader"
%endif
%endif
# disable tests on ppc64 and ppc64le for now
# https://github.com/FFTW/fftw3/issues/145
%ifnarch ppc64 ppc64le
for mpi in %{mpi_list}
do
module load mpi/${mpi}-%{_arch}
@ -430,6 +441,15 @@ done
%if %{quad}
%ldconfig_scriptlets libs-quad
%endif
%endif
%post devel
/sbin/install-info --section="Math" %{_infodir}/%{name}.info.gz %{_infodir}/dir 2>/dev/null || :
%preun devel
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir 2>/dev/null || :
fi
%files
%{_mandir}/man1/fftw*.1*
@ -471,8 +491,6 @@ done
%doc doc/FAQ/fftw-faq.html/
%doc %{_infodir}/fftw3.info*
%{_includedir}/fftw3*
%dir %{_libdir}/cmake/fftw3/
%{_libdir}/cmake/fftw3/*.cmake
%{_libdir}/pkgconfig/fftw3*.pc
%{_libdir}/libfftw3*.so
@ -503,8 +521,6 @@ done
%files mpich-devel
%doc doc/FAQ/fftw-faq.html/
%{_includedir}/mpich-%{_arch}
%dir %{_libdir}/mpich/lib/cmake/fftw3/
%{_libdir}/mpich/lib/cmake/fftw3/*.cmake
%{_libdir}/mpich/lib/pkgconfig/fftw3*.pc
%{_libdir}/mpich/lib/libfftw3*.so
@ -533,8 +549,6 @@ done
%files openmpi-devel
%doc doc/FAQ/fftw-faq.html/
%{_includedir}/openmpi-%{_arch}
%dir %{_libdir}/openmpi/lib/cmake/fftw3/
%{_libdir}/openmpi/lib/cmake/fftw3/*.cmake
%{_libdir}/openmpi/lib/pkgconfig/fftw3*.pc
%{_libdir}/openmpi/lib/libfftw3*.so
@ -543,47 +557,6 @@ done
%endif
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.8-12
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.8-11
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-9
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Mar 7 2019 Tim Landscheidt <tim@tim-landscheidt.de> - 3.3.8-5
- Remove obsolete requirements for %%post/%%preun scriptlets
* Thu Feb 14 2019 Orion Poplawski <orion@nwra.com> - 3.3.8-4
- Rebuild for openmpi 3.1.3
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jun 11 2018 Conrad Meyer <cemeyer@uw.edu> - 3.3.8-1
- Update to latest upstream, 3.3.8 (rhbz# 1413425)
- Add missing BuildRequires on environment-modules, used in 43b91c1c ("Build
mpich and openmpi versions") without explicit BR dependency
- Add new cmake files to %%files
* Wed Apr 18 2018 Merlin Mathesius <mmathesi@redhat.com> - 3.3.5-11
- Regenerate autoconf files using current tools so proper build flags
from redhat-rpm-config are used. This resolves BZ#1548473.

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1 +1 @@
SHA512 (fftw-3.3.8.tar.gz) = ab918b742a7c7dcb56390a0a0014f517a6dff9a2e4b4591060deeb2c652bf3c6868aa74559a422a276b853289b4b701bdcbd3d4d8c08943acf29167a7be81a38
SHA512 (fftw-3.3.5.tar.gz) = a81f02d884cfe4171fab479b0e5ec76eceb9c5da6d4eda1f89281b7e1efa2d8176c9ba87051595c402889eb32172d216ce40eb2bef41289c646f01002fb4ba8e