1 Summary: The CLAPACK libraries for numerical linear algebra
2 Summary(pl.UTF-8): Biblioteki numeryczne CLAPACK do algebry liniowej
6 License: freely distributable
7 Group: Development/Libraries
8 Source0: http://www.netlib.org/clapack/%{name}.tgz
9 # Source0-md5: 1b6d89b3352d0c678e50a03724458053
10 #Source1: http://www.netlib.org/clapack/manpages.tgz
11 Patch0: %{name}-automake_support.patch
12 URL: http://www.netlib.org/clapack/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: gcc-g77
16 BuildRequires: libtool >= 1:1.4.2-9
17 Requires: cblas = %{version}-%{release}
18 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.
33 %description -l pl.UTF-8
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. przenumerowanie 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 przetłumaczony na C przy użyciu f2c.
47 Summary: CLAPACK header files
48 Summary(pl.UTF-8): Pliki nagłówkowe CLAPACK
49 Group: Development/Libraries
50 Requires: %{name} = %{version}-%{release}
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe CLAPACK.
59 Summary: Static CLAPACK libraries
60 Summary(pl.UTF-8): Biblioteki statyczne CLAPACK
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{version}-%{release}
65 Static CLAPACK libraries.
67 %description static -l pl.UTF-8
68 Biblioteki statyczne CLAPACK.
71 Summary: The CBLAS (Basic Linear Algebra Subprograms) library for Linux
72 Summary(pl.UTF-8): 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.UTF-8
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.UTF-8): Pliki nagłówkowe CBLAS
90 Group: Development/Libraries
91 Requires: cblas = %{version}-%{release}
93 %description -n cblas-devel
96 %description -n cblas-devel -l pl.UTF-8
97 Pliki nagłówkowe CBLAS.
99 %package -n cblas-static
100 Summary: Static CBLAS libraries
101 Summary(pl.UTF-8): Biblioteki statyczne CBLAS
102 Group: Development/Libraries
103 Requires: cblas-devel = %{version}-%{release}
105 %description -n cblas-static
106 Static CBLAS libraries.
108 %description -n cblas-static -l pl.UTF-8
109 Biblioteki statyczne CBLAS.
114 # directory INSTALL conflicts with file INSTALL needed by automake
115 mv -f INSTALL install
118 rm -f ltmain.sh missing
128 rm -rf $RPM_BUILD_ROOT
131 DESTDIR=$RPM_BUILD_ROOT
133 install BLAS/WRAP/cblas.h $RPM_BUILD_ROOT%{_includedir}
136 rm -fr $RPM_BUILD_ROOT
138 %post -p /sbin/ldconfig
139 %postun -p /sbin/ldconfig
141 %post -n cblas -p /sbin/ldconfig
142 %postun -n cblas -p /sbin/ldconfig
145 %defattr(644,root,root,755)
147 %attr(755,root,root) %{_libdir}/libclapack.so.*.*.*
150 %defattr(644,root,root,755)
151 %{_libdir}/libclapack.so
152 %{_libdir}/libclapack.la
153 %{_includedir}/clapack.h
156 %defattr(644,root,root,755)
157 %{_libdir}/libclapack.a
160 %defattr(644,root,root,755)
161 %attr(755,root,root) %{_libdir}/libcblas.so.*.*.*
163 %files -n cblas-devel
164 %defattr(644,root,root,755)
165 %{_libdir}/libcblas.so
166 %{_libdir}/libcblas.la
167 %{_includedir}/cblas.h
169 %files -n cblas-static
170 %defattr(644,root,root,755)
171 %{_libdir}/libcblas.a