]>
Commit | Line | Data |
---|---|---|
e821399d RW |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with acml # With ACML version of BLAS instead of NETLIB implementation | |
5f75c7f8 | 4 | # |
12aa51af | 5 | Summary: Subroutines for solving large scale eigenvalue problems |
d96d6274 | 6 | Summary(pl.UTF-8): Rozwiązywanie zagadnienia własnego dla dużych macierzy |
388c4eda JB |
7 | Name: arpack |
8 | Version: 2.1 | |
0ab41560 | 9 | Release: 8%{?with_acml:ACML} |
388c4eda | 10 | License: Freely distributable |
0f2a6b97 | 11 | Group: Libraries |
388c4eda | 12 | Source0: http://www.caam.rice.edu/software/ARPACK/SRC/%{name}96.tar.gz |
0f2a6b97 | 13 | # Source0-md5: fffaa970198b285676f4156cebc8626e |
388c4eda | 14 | Source1: http://www.caam.rice.edu/software/ARPACK/SRC/patch.tar.gz |
0f2a6b97 | 15 | # Source1-md5: 14830d758f195f272b8594a493501fa2 |
bf67c3ff RW |
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 | |
a8025ed2 AM |
22 | Patch0: http://mathema.tician.de/news.tiker.net/files/arpack-arscnd-3.patch.gz |
23 | Patch1: %{name}-automake_support.patch | |
24 | Patch2: %{name}-no_etime.patch | |
0f2a6b97 | 25 | URL: http://www.caam.rice.edu/software/ARPACK/ |
388c4eda JB |
26 | BuildRequires: autoconf |
27 | BuildRequires: automake | |
0f2a6b97 | 28 | BuildRequires: gcc-g77 |
dbbba066 | 29 | BuildRequires: libtool >= 2:1.5 |
0ab41560 | 30 | %{!?with_acml:BuildRequires: lapack-devel} |
5f75c7f8 | 31 | %{?with_acml:ExclusiveArch: %{x8664}} |
388c4eda JB |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
34 | %description | |
35 | ARPACK software is capable of solving large scale symmetric, | |
36 | nonsymmetric, and generalized eigenproblems from significant | |
37 | application areas. The software is designed to compute a few (k) | |
38 | eigenvalues with user specified features such as those of largest real | |
39 | part or largest magnitude. Storage requirements are on the order of | |
40 | n*k locations. No auxiliary storage is required. A set of Schur basis | |
41 | vectors for the desired k-dimensional eigen-space is computed which is | |
42 | numerically orthogonal to working precision. Numerically accurate | |
43 | eigenvectors are available on request. | |
44 | ||
73725317 JR |
45 | %description -l pl.UTF-8 |
46 | Rozwiązywanie zagadnienia własnego (symetrycznego, niesymetrycznego, | |
47 | ogólnego) dla dużych macierzy. Macierz może być dowolna, przy czym | |
48 | procedury działają szczególnie dobrze w przypadku dużych macierzy | |
49 | rzadkich bądź macierzy ze znaną strukturą. Biblioteka służy do | |
50 | obliczenia kilku (k) wartości własnych o zadanych z góry własnościach, | |
51 | takich jak największa (najmniejsza) część rzeczywista albo największy | |
52 | (najmniejszy) moduł. Wymagania pamięciowe są rzędu n*k, żadna | |
53 | dodatkowa pamięć (np. dyskowa) nie jest wymagana. | |
388c4eda JB |
54 | |
55 | %package devel | |
0f2a6b97 | 56 | Summary: ARPACK development files |
d96d6274 | 57 | Summary(pl.UTF-8): Pliki programistyczne ARPACK |
388c4eda | 58 | Group: Development/Libraries |
dbbba066 | 59 | Requires: %{name} = %{version}-%{release} |
e821399d | 60 | %{!?with_acml:Requires: blas-devel} |
388c4eda JB |
61 | |
62 | %description devel | |
0f2a6b97 | 63 | ARPACK development files. |
388c4eda | 64 | |
73725317 | 65 | %description devel -l pl.UTF-8 |
0f2a6b97 | 66 | Pliki programistyczne ARPACK. |
388c4eda JB |
67 | |
68 | %package static | |
0f2a6b97 | 69 | Summary: Static ARPACK library |
d96d6274 | 70 | Summary(pl.UTF-8): Statyczna biblioteka ARPACK |
388c4eda | 71 | Group: Development/Libraries |
dbbba066 | 72 | Requires: %{name}-devel = %{version}-%{release} |
388c4eda JB |
73 | |
74 | %description static | |
0f2a6b97 | 75 | Static ARPACK library. |
388c4eda | 76 | |
73725317 | 77 | %description static -l pl.UTF-8 |
0f2a6b97 | 78 | Statyczna biblioteka ARPACK. |
388c4eda JB |
79 | |
80 | %prep | |
3992026d | 81 | %setup -q -n ARPACK -b1 |
e5c694c2 | 82 | %patch0 -p1 |
fb9bad1f | 83 | %patch1 -p1 |
a8025ed2 | 84 | %patch2 -p1 |
bf67c3ff RW |
85 | cp %{SOURCE2} . |
86 | cp %{SOURCE3} . | |
87 | cp %{SOURCE4} . | |
388c4eda JB |
88 | |
89 | %build | |
388c4eda JB |
90 | %{__libtoolize} |
91 | %{__aclocal} | |
92 | %{__autoheader} | |
93 | %{__autoconf} | |
94 | %{__automake} | |
0ab41560 | 95 | %configure |
e821399d | 96 | |
dbbba066 | 97 | %{__make} |
388c4eda JB |
98 | |
99 | %install | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
0f2a6b97 JB |
102 | %{__make} install \ |
103 | DESTDIR=$RPM_BUILD_ROOT | |
388c4eda JB |
104 | |
105 | %clean | |
106 | rm -fr $RPM_BUILD_ROOT | |
107 | ||
108 | %post -p /sbin/ldconfig | |
109 | %postun -p /sbin/ldconfig | |
110 | ||
111 | %files | |
112 | %defattr(644,root,root,755) | |
113 | %doc README | |
114 | %attr(755,root,root) %{_libdir}/libarpack.so.*.*.* | |
3a060c33 | 115 | %attr(755,root,root) %ghost %{_libdir}/libarpack.so.2 |
388c4eda JB |
116 | |
117 | %files devel | |
118 | %defattr(644,root,root,755) | |
bf67c3ff | 119 | %doc DOCUMENTS/*.doc *.ps.gz |
c8932703 | 120 | %attr(755,root,root) %{_libdir}/libarpack.so |
388c4eda JB |
121 | %{_libdir}/libarpack.la |
122 | ||
123 | %files static | |
124 | %defattr(644,root,root,755) | |
125 | %{_libdir}/libarpack.a |