3 %bcond_with acml # With ACML version of BLAS instead of NETLIB implementation
5 Summary: Subroutines for solving large scale eigenvalue problems
6 Summary(pl): Rozwi±zywanie zagadnienia w³asnego dla du¿ych macierzy
9 Release: 3%{?with_acml:ACML}
10 License: Freely distributable
12 Source0: http://www.caam.rice.edu/software/ARPACK/SRC/%{name}96.tar.gz
13 # Source0-md5: fffaa970198b285676f4156cebc8626e
14 Source1: http://www.caam.rice.edu/software/ARPACK/SRC/patch.tar.gz
15 # Source1-md5: 14830d758f195f272b8594a493501fa2
16 Source2: http://www.caam.rice.edu/software/ARPACK/SRC/ug.ps.gz
17 # Source2-md5: 79cc51e4812c75873adafcad2185842e
18 Source3: http://www.caam.rice.edu/software/ARPACK/SRC/P57_58.ps.gz
19 # Source3-md5: b86d77199f989fc438acaf7ac0433e76
20 Source4: http://www.caam.rice.edu/software/ARPACK/SRC/P61_62.ps.gz
21 # Source4-md5: d116887acb3d61fecf645c2d37d4d517
22 Patch0: %{name}-automake_support.patch
23 URL: http://www.caam.rice.edu/software/ARPACK/
24 BuildRequires: autoconf
25 BuildRequires: automake
26 BuildRequires: gcc-g77
27 BuildRequires: libtool >= 2:1.5
28 %{!?with_acml:BuildRequires: blas-devel}
29 %{?with_acml:ExclusiveArch: %{x8664}}
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 ARPACK software is capable of solving large scale symmetric,
34 nonsymmetric, and generalized eigenproblems from significant
35 application areas. The software is designed to compute a few (k)
36 eigenvalues with user specified features such as those of largest real
37 part or largest magnitude. Storage requirements are on the order of
38 n*k locations. No auxiliary storage is required. A set of Schur basis
39 vectors for the desired k-dimensional eigen-space is computed which is
40 numerically orthogonal to working precision. Numerically accurate
41 eigenvectors are available on request.
44 Rozwi±zywanie zagadnienia w³asnego (symetrycznego, niesymetrycznego,
45 ogólnego) dla du¿ych macierzy. Macierz mo¿e byæ dowolna, przy czym
46 procedury dzia³aj± szczególnie dobrze w przypadku du¿ych macierzy
47 rzadkich b±d¼ macierzy ze znan± struktur±. Biblioteka s³u¿y do
48 obliczenia kilku (k) warto¶ci w³asnych o zadanych z góry w³asno¶ciach,
49 takich jak najwiêksza (najmniejsza) czê¶æ rzeczywista albo najwiêkszy
50 (najmniejszy) modu³. Wymagania pamiêciowe s± rzedu n*k, ¿adna
51 dodatkowa pamiêæ (np. dyskowa) nie jest wymagana.
54 Summary: ARPACK development files
55 Summary(pl): Pliki programistyczne ARPACK
56 Group: Development/Libraries
57 Requires: %{name} = %{version}-%{release}
58 %{!?with_acml:Requires: blas-devel}
61 ARPACK development files.
63 %description devel -l pl
64 Pliki programistyczne ARPACK.
67 Summary: Static ARPACK library
68 Summary(pl): Statyczna biblioteka ARPACK
69 Group: Development/Libraries
70 Requires: %{name}-devel = %{version}-%{release}
73 Static ARPACK library.
75 %description static -l pl
76 Statyczna biblioteka ARPACK.
79 %setup -q -n ARPACK -b1
92 LDFLAGS=%{?with_acml:-lacml}%{!?with_acml:-lblas}
97 rm -rf $RPM_BUILD_ROOT
100 DESTDIR=$RPM_BUILD_ROOT
103 rm -fr $RPM_BUILD_ROOT
105 %post -p /sbin/ldconfig
106 %postun -p /sbin/ldconfig
109 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_libdir}/libarpack.so.*.*.*
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/libarpack.so
116 %doc DOCUMENTS/*.doc *.ps.gz
117 %{_libdir}/libarpack.la
120 %defattr(644,root,root,755)
121 %{_libdir}/libarpack.a