1 Summary: The CLAPACK libraries for numerical linear algebra
2 Summary(pl): Biblioteki numeryczne CLAPACK do algebry liniowej
6 License: freely distributable
7 Group: Development/Libraries
8 Source0: http://www.netlib.org/clapack/%{name}.tgz
9 #Source1: http://www.netlib.org/clapack/manpages.tgz
10 Patch0: %{name}-automake_support.patch
11 URL: http://www.netlib.org/lapack/
12 BuildRequires: autoconf
13 BuildRequires: automake
15 BuildRequires: gcc-g77
16 BuildRequires: libtool
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 CLAPACK (Linear Algebra PACKage) is a standard library for numerical
22 linear algebra. CLAPACK provides routines for solving systems of
23 simultaneous linear equations, least-squares solutions of linear
24 systems of equations, eigenvalue problems, and singular value
25 problems. Associated matrix factorizations (LU, Cholesky, QR, SVD,
26 Schur, and generalized Schur) and related computations (i.e.,
27 reordering of Schur factorizations and estimating condition numbers)
28 are also included. CLAPACK can handle dense and banded matrices, but
29 not general sparse matrices. Similar functionality is provided for
30 real and complex matrices in both single and double precision. CLAPACK
31 is coded in Fortran77 and translated to C using f2c.
34 CLAPACK (Linear Algebra PACKage) jest standardow± bibliotek±
35 numeryczn± do algebry liniowej. Dostarcza funkcje rozwi±zywania:
36 uk³adów równañ liniowych, uk³adów równañ metod± najmniejszych
37 kwadratów, problemów w³asnych. Zawiera algorytmy faktoryzacji macierzy
38 (LU, Cholesky'ego, QR, SVD, Schura, uogólnion± Schura) i zwi±zanych z
39 tym obliczeñ (np. przenumerowywanie w faktoryzacji Schura i estymacjê
40 uwarunkowania). CLAPACK mo¿e obs³ugiwaæ macierze blokowe i pasmowe,
41 ale nie rzadkie w ogólnym przypadku. Zapewnia funkcjonalno¶æ dla
42 macierzy rzeczywistych i zespolonych, dla liczb pojedynczej i
43 podwójnej precyzji. CLAPACK jest napisany w Fortranie 77 i
44 przetlumaczony na C przy u¿yciu f2c.
47 Summary: CLAPACK header files
48 Summary(pl): Pliki nag³ówkowe CLAPACK
49 Group: Development/Libraries
50 Requires: %{name} = %{version}
55 %description devel -l pl
56 Pliki nag³ówkowe CLAPACK.
59 Summary: Static CLAPACK libraries
60 Summary(pl): Biblioteki statyczne CLAPACK
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{version}
65 Static CLAPACK libraries.
67 %description static -l pl
68 Biblioteki statyczne CLAPACK.
71 Summary: The CBLAS (Basic Linear Algebra Subprograms) library for Linux
72 Summary(pl): Biblioteka CBLAS (Basic Linear Algebra Subprograms) dla Linuksa
73 Group: Development/Libraries
76 CBLAS (Basic Linear Algebra Subprograms) is a standard library for
77 numerical algebra. CBLAS provides a number of basic algorithms for
78 linear algebra. CBLAS is fast and well-tested, was written in FORTRAN
81 %description -n cblas -l pl
82 CBLAS (Basic Linear Algebra Subprograms) jest standardow± bibliotek±
83 numeryczn± algebry. Dostarcza wiele podstawowych algorytmów dla
84 algebry liniowej. Jest szybka i dobrze przetestowana, zosta³a napisana
87 %package -n cblas-devel
88 Summary: CBLAS header files
89 Summary(pl): Pliki nag³ówkowe CBLAS
90 Group: Development/Libraries
91 Requires: blas = %{version}
93 %description -n cblas-devel
96 %description -n cblas-devel -l pl
97 Pliki nag³ówkowe CBLAS.
99 %package -n cblas-static
100 Summary: Static CBLAS libraries
101 Summary(pl): Biblioteki statyczne CBLAS
102 Group: Development/Libraries
103 Requires: cblas-devel = %{version}
105 %description -n cblas-static
106 Static CBLAS libraries.
108 %description -n cblas-static -l pl
109 Biblioteki statyczne CBLAS.
114 # directory INSTALL conflicts with file INSTALL needed by automake
115 mv -f INSTALL install
124 rm -f ltmain.sh missing
134 rm -rf $RPM_BUILD_ROOT
136 ed SRC/libclapack.la <<EOF
137 s/relink_command=.*/relink_command=''/
141 %{__make} install DESTDIR=$RPM_BUILD_ROOT
144 rm -fr $RPM_BUILD_ROOT
146 %post -p /sbin/ldconfig
147 %postun -p /sbin/ldconfig
149 %post -n cblas -p /sbin/ldconfig
150 %postun -n cblas -p /sbin/ldconfig
153 %defattr(644,root,root,755)
155 %attr(755,root,root) %{_libdir}/libclapack.so.*.*.*
158 %defattr(644,root,root,755)
159 %{_libdir}/libclapack.so
160 %{_includedir}/clapack.h
163 %defattr(644,root,root,755)
164 %{_libdir}/libclapack.a
167 %defattr(644,root,root,755)
168 %attr(755,root,root) %{_libdir}/libcblas.so.*.*.*
170 %files -n cblas-devel
171 %defattr(644,root,root,755)
172 %{_libdir}/libcblas.so
174 %files -n cblas-static
175 %defattr(644,root,root,755)
176 %{_libdir}/libcblas.a