OBS User unknown 2009-01-28 23:05:12 +00:00 committed by Git OBS Bridge
parent ccaa8c1714
commit ea1f1b9936
7 changed files with 85 additions and 56 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24b95e7ce3115a83a2611fc8f005cf16f27de586dd89a384073bdb1b2c3093c3
size 5720765

3
lapack-3.2.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5272fd08a0423ca749e6c763fb1f56e480dd055ae4c9173e217787873e198c8f
size 3505709

View File

@ -1,32 +0,0 @@
Index: make.inc.example
===================================================================
--- make.inc.example.orig 2007-02-23 21:07:35.000000000 +0100
+++ make.inc.example 2007-04-27 14:20:46.000000000 +0200
@@ -18,21 +18,21 @@ PLAT = _LINUX
# selected. Define LOADER and LOADOPTS to refer to the loader and
# desired load options for your machine.
#
-FORTRAN = g77
-OPTS = -funroll-all-loops -O3
+FORTRAN = $(F77)
+OPTS = $(PICOPTS) $(FOPTS) $(OPTOPTS)
DRVOPTS = $(OPTS)
-NOOPT =
-LOADER = g77
+NOOPT = $(PICOPTS) $(FOPTS)
+LOADER = $(F77)
LOADOPTS =
#
# Timer for the SECOND and DSECND routines
#
# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-TIMER = EXT_ETIME
+#TIMER = EXT_ETIME
# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
# TIMER = EXT_ETIME_
# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-# TIMER = INT_ETIME
+TIMER = INT_ETIME
# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
# SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
# TIMER = INT_CPU_TIME

8
lapack-rpmlintrc Normal file
View File

@ -0,0 +1,8 @@
# This line is mandatory to access the configuration functions
from Config import *
# both lapack and blas are devel packages (but have non -devel names
# for legacy reasons)
addFilter ("lapack.*devel-file-in-non-devel-package")
addFilter ("blas.*devel-file-in-non-devel-package")

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Jan 28 13:22:03 CET 2009 - rguenther@suse.de
- Update to version 3.2.0. [bnc#456384]
* Extra Precise Iterative Refinement
* XBLAS
* Non-Negative Diagonals from Householder QR
* High Performance QR and Householder Reflections on Low-Profile Matrices
* New fast and accurate Jacobi SVD
* Routines for Rectangular Full Packed format
* Pivoted Cholesky
* Mixed precision iterative refinement
* Some new variants added for the one sided factorization
* More robust DQDS algorithm
-------------------------------------------------------------------
Sun May 11 14:21:24 CEST 2008 - lrupp@suse.de

View File

@ -1,10 +1,17 @@
#
# spec file for package lapack (Version 3.1.1)
# spec file for package lapack (Version 3.2.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -14,12 +21,13 @@
Name: lapack
BuildRequires: gcc-fortran
Summary: Linear Algebra Package
Version: 3.1.1
Release: 64
Version: 3.2.0
Release: 1
License: Public Domain, Freeware
Group: Development/Libraries/Parallel
Source0: lapack-%{version}.tar.bz2
Patch: %{name}-make.patch
Source1: manpages-%{version}.tar.bz2
Source99: lapack-rpmlintrc
Url: http://www.netlib.org/lapack/
Requires: blas = %{version}
Requires: liblapack3 = %{version}
@ -133,16 +141,18 @@ Authors:
UTK <lapack@cs.utk.edu>
%prep
%setup -q
%patch
%setup -q -n lapack-3.2
cd ..
ln -s lapack-3.2 lapack-3.2.0
tar xjf $RPM_SOURCE_DIR/manpages-3.2.0.tar.bz2
cd lapack-3.2
%build
rm -rf $RPM_BUILD_ROOT
export F77=gfortran
export OPTOPTS="$RPM_OPT_FLAGS -O3 -funroll-all-loops"
cp make.inc.example make.inc
make cleanlib
make %{?jobs:-j%jobs} blaslib PICOPTS=-fPIC
make %{?jobs:-j%jobs} blaslib \
OPTS="$RPM_OPT_FLAGS -O3 -funroll-all-loops -fPIC" \
NOOPT="$RPM_OPT_FLAGS -O0 -fPIC"
mv blas_LINUX.a libblas_pic.a
mkdir tmp
( cd tmp; ar x ../libblas_pic.a )
@ -150,10 +160,14 @@ gfortran -shared -Wl,-soname=libblas.so.3 -o libblas.so.%version tmp/*.o
ln -s libblas.so.%version libblas.so
rm -rf tmp
make cleanlib
make %{?jobs:-j%jobs} blaslib
make %{?jobs:-j%jobs} blaslib \
OPTS="$RPM_OPT_FLAGS -O3 -funroll-all-loops" \
NOOPT="$RPM_OPT_FLAGS -O0"
mv blas_LINUX.a libblas.a
make cleanlib
make %{?jobs:-j%jobs} lapacklib PICOPTS=-fPIC
make %{?jobs:-j%jobs} lapacklib \
OPTS="$RPM_OPT_FLAGS -O3 -funroll-all-loops -fPIC" \
NOOPT="$RPM_OPT_FLAGS -O0 -fPIC"
mv lapack_LINUX.a liblapack_pic.a
mkdir tmp
( cd tmp; ar x ../liblapack_pic.a )
@ -161,11 +175,12 @@ gfortran -shared -Wl,-soname=liblapack.so.3 -o liblapack.so.%version tmp/*.o -L.
ln -s liblapack.so.%version liblapack.so
rm -rf tmp
make cleanlib
make %{?jobs:-j%jobs} lapacklib
make %{?jobs:-j%jobs} lapacklib \
OPTS="$RPM_OPT_FLAGS -O3 -funroll-all-loops" \
NOOPT="$RPM_OPT_FLAGS -O0"
mv lapack_LINUX.a liblapack.a
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/%{_libdir}
install -m 644 libblas.a $RPM_BUILD_ROOT/%{_libdir}
install -m 644 libblas_pic.a $RPM_BUILD_ROOT/%{_libdir}
@ -177,6 +192,16 @@ ln -s libblas.so.%version $RPM_BUILD_ROOT/%{_libdir}/libblas.so
install -m 755 liblapack.so.%version $RPM_BUILD_ROOT/%{_libdir}
ln -s liblapack.so.%version $RPM_BUILD_ROOT/%{_libdir}/liblapack.so.3
ln -s liblapack.so.%version $RPM_BUILD_ROOT/%{_libdir}/liblapack.so
# remove duplicate manpages
rm manpages/man/manl/xerbla.l
rm manpages/man/manl/xerbla_array.l
rm manpages/man/manl/lsame.l
rm manpages/man/manl/zdrot.l
rm manpages/man/manl/csrot.l
# remove bogus files
rm manpages/blas/man/manl/ssyrk.txt_new
rm manpages/blas/man/manl/intro_blas1.man
# move and rename manpages
install -d $RPM_BUILD_ROOT%{_mandir}/man3
function CopyFile {
NEW_FILENAME=$(basename $1 .l).3
@ -185,8 +210,6 @@ function CopyFile {
for MANFILE in manpages/blas/man/manl/*.l; do
CopyFile $MANFILE
done
rm manpages/man/manl/xerbla.l
rm manpages/man/manl/lsame.l
for MANFILE in manpages/man/manl/*.l; do
CopyFile $MANFILE
done
@ -235,6 +258,18 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%changelog
* Wed Jan 28 2009 rguenther@suse.de
- Update to version 3.2.0. [bnc#456384]
* Extra Precise Iterative Refinement
* XBLAS
* Non-Negative Diagonals from Householder QR
* High Performance QR and Householder Reflections on Low-Profile Matrices
* New fast and accurate Jacobi SVD
* Routines for Rectangular Full Packed format
* Pivoted Cholesky
* Mixed precision iterative refinement
* Some new variants added for the one sided factorization
* More robust DQDS algorithm
* Sun May 11 2008 lrupp@suse.de
- use versioned requires/obsoletes
- %%run_ldconfig is deprecated
@ -268,7 +303,7 @@ rm -rf $RPM_BUILD_ROOT
- fixed all other instances of -fno-f2c, and g77 -> gfortran use.
* Thu Apr 21 2005 meissner@suse.de
- g77 -> gfortran, -fno-f2c is no more.
* Sun Jan 30 2005 nashif@suse.de
* Sat Jan 29 2005 nashif@suse.de
- Updated manpages (#48784)
* Thu Jan 20 2005 ro@suse.de
- remove BuildPrereq, BuildRequires is generated
@ -299,7 +334,7 @@ rm -rf $RPM_BUILD_ROOT
- Modified group, url and files in spec
* Mon Feb 21 2000 nashif@suse.de
- Applied new patches
* Wed Jan 19 2000 nashif@suse.de
* Tue Jan 18 2000 nashif@suse.de
- Applied new patched
- Moved manpages to /usr/share/man
* Thu Dec 23 1999 nashif@suse.de

3
manpages-3.2.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dd3438ab0c9d0ff314f3394f47054bab14571f568fa9d33e3b7f410f6c11b352
size 656985