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}-%{version}-CMAKE.tgz
9 # Source0-md5: 4fd18eb33f3ff8c5d65a7d43913d661b
10 Patch0: %{name}-%{version}-fix_include_file.patch
11 Patch1: %{name}-%{version}-noblasf2c.patch
12 Patch2: %{name}-%{version}-hang.patch
13 Patch3: %{name}-%{version}-findblas-r6.patch
14 URL: http://www.netlib.org/clapack/
16 BuildRequires: gcc-fortran
17 BuildRequires: libf2c-devel
18 BuildRequires: libtool >= 1:1.4.2-9
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 CLAPACK (Linear Algebra PACKage) is a standard library for numerical
23 linear algebra. CLAPACK provides routines for solving systems of
24 simultaneous linear equations, least-squares solutions of linear
25 systems of equations, eigenvalue problems, and singular value
26 problems. Associated matrix factorizations (LU, Cholesky, QR, SVD,
27 Schur, and generalized Schur) and related computations (i.e.,
28 reordering of Schur factorizations and estimating condition numbers)
29 are also included. CLAPACK can handle dense and banded matrices, but
30 not general sparse matrices. Similar functionality is provided for
31 real and complex matrices in both single and double precision. CLAPACK
32 is coded in Fortran77 and translated to C using f2c.
34 %description -l pl.UTF-8
35 CLAPACK (Linear Algebra PACKage) jest standardową biblioteką
36 numeryczną do algebry liniowej. Dostarcza funkcje rozwiązywania:
37 układów równań liniowych, układów równań metodą najmniejszych
38 kwadratów, problemów własnych. Zawiera algorytmy faktoryzacji macierzy
39 (LU, Cholesky'ego, QR, SVD, Schura, uogólnioną Schura) i związanych z
40 tym obliczeń (np. przenumerowanie w faktoryzacji Schura i estymację
41 uwarunkowania). CLAPACK może obsługiwać macierze blokowe i pasmowe,
42 ale nie rzadkie w ogólnym przypadku. Zapewnia funkcjonalność dla
43 macierzy rzeczywistych i zespolonych, dla liczb pojedynczej i
44 podwójnej precyzji. CLAPACK jest napisany w Fortranie 77 i
45 przetłumaczony na C przy użyciu f2c.
48 Summary: CLAPACK header files
49 Summary(pl.UTF-8): Pliki nagłówkowe CLAPACK
50 Group: Development/Libraries
51 Requires: %{name} = %{version}-%{release}
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe CLAPACK.
60 Summary: Static CLAPACK libraries
61 Summary(pl.UTF-8): Biblioteki statyczne CLAPACK
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
66 Static CLAPACK libraries.
68 %description static -l pl.UTF-8
69 Biblioteki statyczne CLAPACK.
72 %setup -q -n %{name}-%{version}-CMAKE
87 rm -rf $RPM_BUILD_ROOT
89 %{__make} -C build install \
90 DESTDIR=$RPM_BUILD_ROOT
93 rm -rf $RPM_BUILD_ROOT
95 %post -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
99 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libclapack.so.*.*.*
104 %defattr(644,root,root,755)
105 %{_libdir}/libclapack.so
106 %{_includedir}/clapack
107 %{_datadir}/cmake/Modules/clapack*.cmake