]>
Commit | Line | Data |
---|---|---|
cf338763 | 1 | Summary: The CLAPACK libraries for numerical linear algebra |
6e8c0952 | 2 | Summary(pl.UTF-8): Biblioteki numeryczne CLAPACK do algebry liniowej |
cf338763 | 3 | Name: clapack |
4 | Version: 3.0 | |
47ded7ba | 5 | Release: 3 |
23508fee | 6 | License: freely distributable |
cf338763 | 7 | Group: Development/Libraries |
cf338763 | 8 | Source0: http://www.netlib.org/clapack/%{name}.tgz |
3bad0af4 | 9 | # Source0-md5: 1b6d89b3352d0c678e50a03724458053 |
9dd3863a | 10 | #Source1: http://www.netlib.org/clapack/manpages.tgz |
cf338763 | 11 | Patch0: %{name}-automake_support.patch |
2be0e942 | 12 | URL: http://www.netlib.org/clapack/ |
cf338763 | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
7cec03ca | 15 | BuildRequires: gcc-g77 |
322ffb04 | 16 | BuildRequires: libtool >= 1:1.4.2-9 |
4c1847e6 | 17 | Requires: cblas = %{version}-%{release} |
cf338763 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
cf338763 | 19 | |
20 | %description | |
9dd3863a | 21 | CLAPACK (Linear Algebra PACKage) is a standard library for numerical |
22 | linear algebra. CLAPACK provides routines for solving systems of | |
cf338763 | 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) | |
9dd3863a | 28 | are also included. CLAPACK can handle dense and banded matrices, but |
cf338763 | 29 | not general sparse matrices. Similar functionality is provided for |
9dd3863a | 30 | real and complex matrices in both single and double precision. CLAPACK |
31 | is coded in Fortran77 and translated to C using f2c. | |
cf338763 | 32 | |
6e8c0952 JR |
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 | |
2598dba2 | 42 | macierzy rzeczywistych i zespolonych, dla liczb pojedynczej i |
6e8c0952 JR |
43 | podwójnej precyzji. CLAPACK jest napisany w Fortranie 77 i |
44 | przetłumaczony na C przy użyciu f2c. | |
cf338763 | 45 | |
46 | %package devel | |
9dd3863a | 47 | Summary: CLAPACK header files |
6e8c0952 | 48 | Summary(pl.UTF-8): Pliki nagłówkowe CLAPACK |
cf338763 | 49 | Group: Development/Libraries |
4c1847e6 | 50 | Requires: %{name} = %{version}-%{release} |
cf338763 | 51 | |
52 | %description devel | |
9dd3863a | 53 | CLAPACK header files. |
cf338763 | 54 | |
6e8c0952 JR |
55 | %description devel -l pl.UTF-8 |
56 | Pliki nagłówkowe CLAPACK. | |
cf338763 | 57 | |
58 | %package static | |
9dd3863a | 59 | Summary: Static CLAPACK libraries |
6e8c0952 | 60 | Summary(pl.UTF-8): Biblioteki statyczne CLAPACK |
cf338763 | 61 | Group: Development/Libraries |
4c1847e6 | 62 | Requires: %{name}-devel = %{version}-%{release} |
cf338763 | 63 | |
64 | %description static | |
9dd3863a | 65 | Static CLAPACK libraries. |
cf338763 | 66 | |
6e8c0952 | 67 | %description static -l pl.UTF-8 |
9dd3863a | 68 | Biblioteki statyczne CLAPACK. |
cf338763 | 69 | |
9dd3863a | 70 | %package -n cblas |
71 | Summary: The CBLAS (Basic Linear Algebra Subprograms) library for Linux | |
6e8c0952 | 72 | Summary(pl.UTF-8): Biblioteka CBLAS (Basic Linear Algebra Subprograms) dla Linuksa |
cf338763 | 73 | Group: Development/Libraries |
cf338763 | 74 | |
9dd3863a | 75 | %description -n cblas |
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 | |
cf338763 | 79 | 77. |
80 | ||
6e8c0952 JR |
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 | |
cf338763 | 85 | w Fortranie 77. |
86 | ||
9dd3863a | 87 | %package -n cblas-devel |
88 | Summary: CBLAS header files | |
6e8c0952 | 89 | Summary(pl.UTF-8): Pliki nagłówkowe CBLAS |
cf338763 | 90 | Group: Development/Libraries |
4c1847e6 | 91 | Requires: cblas = %{version}-%{release} |
cf338763 | 92 | |
9dd3863a | 93 | %description -n cblas-devel |
94 | CBLAS header files. | |
cf338763 | 95 | |
6e8c0952 JR |
96 | %description -n cblas-devel -l pl.UTF-8 |
97 | Pliki nagłówkowe CBLAS. | |
cf338763 | 98 | |
9dd3863a | 99 | %package -n cblas-static |
100 | Summary: Static CBLAS libraries | |
6e8c0952 | 101 | Summary(pl.UTF-8): Biblioteki statyczne CBLAS |
cf338763 | 102 | Group: Development/Libraries |
4c1847e6 | 103 | Requires: cblas-devel = %{version}-%{release} |
cf338763 | 104 | |
9dd3863a | 105 | %description -n cblas-static |
106 | Static CBLAS libraries. | |
cf338763 | 107 | |
6e8c0952 | 108 | %description -n cblas-static -l pl.UTF-8 |
9dd3863a | 109 | Biblioteki statyczne CBLAS. |
cf338763 | 110 | |
111 | %prep | |
9dd3863a | 112 | %setup -q -n CLAPACK |
113 | %patch0 -p1 | |
cf338763 | 114 | # directory INSTALL conflicts with file INSTALL needed by automake |
115 | mv -f INSTALL install | |
cf338763 | 116 | |
117 | %build | |
3fad2eaf | 118 | rm -f ltmain.sh missing |
d5b716ef | 119 | %{__libtoolize} |
3fad2eaf | 120 | %{__aclocal} |
121 | %{__autoheader} | |
122 | %{__automake} | |
05f9f929 | 123 | %{__autoconf} |
7f4af6bc | 124 | %configure |
cf338763 | 125 | %{__make} |
126 | ||
127 | %install | |
128 | rm -rf $RPM_BUILD_ROOT | |
322ffb04 | 129 | |
5792a493 PG |
130 | %{__make} install \ |
131 | DESTDIR=$RPM_BUILD_ROOT | |
cf338763 | 132 | |
4c1847e6 | 133 | install BLAS/WRAP/cblas.h $RPM_BUILD_ROOT%{_includedir} |
47ded7ba | 134 | |
cf338763 | 135 | %clean |
136 | rm -fr $RPM_BUILD_ROOT | |
137 | ||
322ffb04 JB |
138 | %post -p /sbin/ldconfig |
139 | %postun -p /sbin/ldconfig | |
cf338763 | 140 | |
322ffb04 JB |
141 | %post -n cblas -p /sbin/ldconfig |
142 | %postun -n cblas -p /sbin/ldconfig | |
cf338763 | 143 | |
144 | %files | |
145 | %defattr(644,root,root,755) | |
146 | %doc README* | |
9dd3863a | 147 | %attr(755,root,root) %{_libdir}/libclapack.so.*.*.* |
cf338763 | 148 | |
7f4af6bc | 149 | %files devel |
cf338763 | 150 | %defattr(644,root,root,755) |
9dd3863a | 151 | %{_libdir}/libclapack.so |
322ffb04 | 152 | %{_libdir}/libclapack.la |
9dd3863a | 153 | %{_includedir}/clapack.h |
cf338763 | 154 | |
155 | %files static | |
156 | %defattr(644,root,root,755) | |
9dd3863a | 157 | %{_libdir}/libclapack.a |
cf338763 | 158 | |
7f4af6bc | 159 | %files -n cblas |
cf338763 | 160 | %defattr(644,root,root,755) |
9dd3863a | 161 | %attr(755,root,root) %{_libdir}/libcblas.so.*.*.* |
cf338763 | 162 | |
9dd3863a | 163 | %files -n cblas-devel |
cf338763 | 164 | %defattr(644,root,root,755) |
9dd3863a | 165 | %{_libdir}/libcblas.so |
322ffb04 | 166 | %{_libdir}/libcblas.la |
47ded7ba | 167 | %{_includedir}/cblas.h |
cf338763 | 168 | |
9dd3863a | 169 | %files -n cblas-static |
cf338763 | 170 | %defattr(644,root,root,755) |
9dd3863a | 171 | %{_libdir}/libcblas.a |