Package liblinpack: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | %define sover 0 Name: liblinpack Version: 20090217 Release: alt6 Summary: Analyze and solve linear equations and linear least-squares probles License: Free Group: System/Libraries Url: http://www.netlib.org/linpack/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> Source: %name-%version.tar.gz BuildPreReq: gcc-fortran liblapack-devel %description LINPACK is a collection of Fortran subroutines that analyze and solve linear equations and linear least-squares probles. The package solves linear systems whose matrices are general, banded, symmetric indefinite, symmetric positive definite, triangular, and tridiagonal square. In addition, the package computes the QR and singular value decompositions of rectangular matrices and applies them to least-squares problems. LINPACK uses column-oriented algorithms to increase efficiency by preserving locality of reference. LINPACK was designed for supercomputers in use in the 1970s and early 1980s. LINPACK has been largely superceded by LAPACK which has been designed to run efficiently on shared-memory, vector supercomputers. %package devel Summary: Development files of LINPACK Group: Development/Other Requires: %name = %version-%release %description devel LINPACK is a collection of Fortran subroutines that analyze and solve linear equations and linear least-squares probles. The package solves linear systems whose matrices are general, banded, symmetric indefinite, symmetric positive definite, triangular, and tridiagonal square. In addition, the package computes the QR and singular value decompositions of rectangular matrices and applies them to least-squares problems. LINPACK uses column-oriented algorithms to increase efficiency by preserving locality of reference. This package contains development files of LINPACK. %package devel-static Summary: Static library of LINPACK Group: Development/Other Requires: %name-devel = %version-%release %description devel-static LINPACK is a collection of Fortran subroutines that analyze and solve linear equations and linear least-squares probles. The package solves linear systems whose matrices are general, banded, symmetric indefinite, symmetric positive definite, triangular, and tridiagonal square. In addition, the package computes the QR and singular value decompositions of rectangular matrices and applies them to least-squares problems. LINPACK uses column-oriented algorithms to increase efficiency by preserving locality of reference. This package contains static library of LINPACK. %prep %setup %build %make_build %install install -d %buildroot%_libdir install -m644 *.a %buildroot%_libdir mkdir %buildroot%_libdir/tmp pushd %buildroot%_libdir/tmp for i in %name; do ar x ../$i.a g77 -shared * -Wl,-soname,$i.so.%sover -o ../$i.so.%sover \ -llapack -lopenblas ln -s $i.so.%sover ../$i.so rm -f * done popd rmdir %buildroot%_libdir/tmp %files %doc comment index-2009-02-17 permission readme %_libdir/*.so.* %files devel %_libdir/*.so #files devel-static #_libdir/*.a %changelog * Sun Aug 12 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 20090217-alt6 - Built with OpenBLAS instead of GotoBLAS2 * Wed Apr 13 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 20090217-alt5 - Built with GotoBLAS2 instead of ATLAS - Disabled devel-static package * Thu Feb 10 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 20090217-alt4 - Rebuilt for debuginfo * Sun Nov 21 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 20090217-alt3 - Rebuilt for soname set-versions * Wed Oct 20 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 20090217-alt2 - Added shared library * Sat Apr 25 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 20090217-alt1 - Initial build for Sisyphus |