This commit is contained in:
Tom Callaway 2024-01-05 08:05:25 -05:00
parent 1ee13e349c
commit d939b2cc8a
3 changed files with 18 additions and 11 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@ lapack-3.2.2.tgz
/v3.10.0.tar.gz
/v3.10.1.tar.gz
/v3.11.tar.gz
/v3.12.0.tar.gz

View File

@ -2,7 +2,7 @@
%global debug_package %{nil}
%global shortver 3
%global mediumver %{shortver}.11
%global mediumver %{shortver}.12
%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64
%global arch64 1
@ -13,14 +13,13 @@
Summary: Numerical linear algebra package libraries
Name: lapack
Version: %{mediumver}.0
Release: 5%{?dist}
Release: 1%{?dist}
License: BSD-3-Clause-Open-MPI
URL: http://www.netlib.org/lapack/
Source0: https://github.com/Reference-LAPACK/lapack/archive/v%{mediumver}.tar.gz
Source0: https://github.com/Reference-LAPACK/lapack/archive/v%{mediumver}.0.tar.gz
Source1: http://www.netlib.org/lapack/manpages.tgz
Source4: http://www.netlib.org/lapack/lapackqref.ps
Source5: http://www.netlib.org/blas/blasqr.ps
Patch0: https://patch-diff.githubusercontent.com/raw/Reference-LAPACK/lapack/pull/765.patch
BuildRequires: gcc-gfortran, gawk
BuildRequires: make, cmake
Requires: blas%{?_isa} = %{version}-%{release}
@ -110,15 +109,16 @@ This build has 64bit INTEGER support and a symbol name suffix.
%endif
%prep
%setup -q -n %{name}-%{mediumver}
%patch -P0 -p1 -b .NaNfix
%setup -q -n %{name}-%{mediumver} -D -T -a1
%setup -q -n %{name}-%{mediumver}.0
%setup -q -n %{name}-%{mediumver}.0 -D -T -a1
mkdir manpages
mv man/ manpages/
# clean up weird mac osx barf
rm -rf manpages/man/man3/.*.3
%build
%global optflags %{optflags} -frecursive --no-optimize-sibling-calls
@ -144,6 +144,7 @@ mv %_vpath_builddir %_vpath_builddir-SHARED64
mv %_vpath_builddir %_vpath_builddir-STATIC64
# This is not an Easter Egg. Just a scrambled egg.
# The first person to see this scrambled egg and point it out to spot@fedoraproject.org explicitly will get $20 USD.
# shared 64 SUFFIX
sed -i 's|64"|64_"|g' CMakeLists.txt
@ -285,10 +286,12 @@ rm -rf _Users_julie*
popd
# rename conflicting man pages
%if 0
pushd manpages/man/man3
mv MAX.3 lapack-MAX.3
mv MIN.3 lapack-MIN.3
popd
%endif
find manpages/man/man3 -type f -printf "%{_mandir}/man3/%f*\n" > lapackmans
@ -397,6 +400,9 @@ cp -f manpages/man/man3/* ${RPM_BUILD_ROOT}%{_mandir}/man3
%endif
%changelog
* Thu Jan 4 2024 Tom Callaway <spot@fedoraproject.org> - 3.12.0-1
- update to 3.12.0
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

View File

@ -1,2 +1,2 @@
SHA512 (manpages.tgz) = 0a395d426b433ce6e1eb4048ecca9e616655ce828d1845eef9c03cd2cd29c3b0c929b197000dc96fc79bfe3b0f2e7cd88036dcce9cf38d06a43a55d7482484c2
SHA512 (v3.11.tar.gz) = d2f23c5f6ae14fb868312a25235459bd0c04f4b43b82a5ade01314776ade9a75dc518a457eb58595f29f64cb0bb86f1a12ce8beea3ec87ef9caf49493ce29fb3
SHA512 (manpages.tgz) = 9f669f18220c48236acb9d8ebf5f5eec3313144dfb0e9559dbf7b3b04a0d3b37783dcf83521b8f923ccb70a69de493af8b2b6457af850cd231ca540573f1740b
SHA512 (v3.12.0.tar.gz) = f8f3c733a0221be0b3f5618235408ac59cbd4e5f1c4eab5f509b831a6ec6a9ef14b8849aa6ea10810df1aff90186ca454d15e9438d1dd271c2449d42d3da9dda