]> git.pld-linux.org Git - packages/arpack.git/blob - arpack.spec
ed355f6b717d27423700f616e22540a47ac29fc1
[packages/arpack.git] / arpack.spec
1 Summary:        Subroutines for solving large scale eigenvalue problems
2 Summary(pl):    Rozwi±zywanie zagadnienia w³asnego dla du¿ych macierzy
3 Name:           arpack
4 Version:        2.1
5 Release:        2
6 License:        Freely distributable
7 Group:          Libraries
8 Source0:        http://www.caam.rice.edu/software/ARPACK/SRC/%{name}96.tar.gz
9 # Source0-md5:  fffaa970198b285676f4156cebc8626e
10 Source1:        http://www.caam.rice.edu/software/ARPACK/SRC/patch.tar.gz
11 # Source1-md5:  14830d758f195f272b8594a493501fa2
12 Source2:        http://www.caam.rice.edu/software/ARPACK/SRC/ug.ps.gz
13 # Source2-md5:  79cc51e4812c75873adafcad2185842e
14 Source3:        http://www.caam.rice.edu/software/ARPACK/SRC/P57_58.ps.gz
15 # Source3-md5:  b86d77199f989fc438acaf7ac0433e76
16 Source4:        http://www.caam.rice.edu/software/ARPACK/SRC/P61_62.ps.gz
17 # Source4-md5:  d116887acb3d61fecf645c2d37d4d517
18 Patch0:         %{name}-automake_support.patch
19 URL:            http://www.caam.rice.edu/software/ARPACK/
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  gcc-g77
23 BuildRequires:  blas-devel
24 BuildRequires:  libtool >= 1:1.4.2-9
25 BuildRequires:  which
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 ARPACK software is capable of solving large scale symmetric,
30 nonsymmetric, and generalized eigenproblems from significant
31 application areas. The software is designed to compute a few (k)
32 eigenvalues with user specified features such as those of largest real
33 part or largest magnitude. Storage requirements are on the order of
34 n*k locations. No auxiliary storage is required. A set of Schur basis
35 vectors for the desired k-dimensional eigen-space is computed which is
36 numerically orthogonal to working precision. Numerically accurate
37 eigenvectors are available on request.
38
39 %description -l pl
40 Rozwi±zywanie zagadnienia w³asnego (symetrycznego, niesymetrycznego,
41 ogólnego) dla du¿ych macierzy. Macierz mo¿e byæ dowolna, przy czym
42 procedury dzia³aj± szczególnie dobrze w przypadku du¿ych macierzy
43 rzadkich b±d¼ macierzy ze znan± struktur±. Biblioteka s³u¿y do
44 obliczenia kilku (k) warto¶ci w³asnych o zadanych z góry w³asno¶ciach,
45 takich jak najwiêksza (najmniejsza) czê¶æ rzeczywista albo najwiêkszy
46 (najmniejszy) modu³. Wymagania pamiêciowe s± rzedu n*k, ¿adna
47 dodatkowa pamiêæ (np. dyskowa) nie jest wymagana.
48
49 %package devel
50 Summary:        ARPACK development files
51 Summary(pl):    Pliki programistyczne ARPACK
52 Group:          Development/Libraries
53 Requires:       %{name} = %{version}
54 Requires:       lapack-devel
55
56 %description devel
57 ARPACK development files.
58
59 %description devel -l pl
60 Pliki programistyczne ARPACK.
61
62 %package static
63 Summary:        Static ARPACK library
64 Summary(pl):    Statyczna biblioteka ARPACK
65 Group:          Development/Libraries
66 Requires:       %{name}-devel = %{version}
67
68 %description static
69 Static ARPACK library.
70
71 %description static -l pl
72 Statyczna biblioteka ARPACK.
73
74 %prep
75 %setup -q -n ARPACK -b1
76 %patch -p1
77 cp %{SOURCE2} .
78 cp %{SOURCE3} .
79 cp %{SOURCE4} .
80
81 %build
82 %{__libtoolize}
83 %{__aclocal}
84 %{__autoheader}
85 %{__autoconf}
86 %{__automake}
87 %configure
88
89 # libtool 1.4d requires --tag for g77, libtool 1.4.2 fails when --tag is passed
90 LTTAG=""
91 grep -q -e '--tag' `which libtool` && LTTAG="--tag=F77"
92
93 %{__make} \
94         LTTAG="$LTTAG"
95
96 %install
97 rm -rf $RPM_BUILD_ROOT
98
99 %{__make} install \
100         DESTDIR=$RPM_BUILD_ROOT
101
102 %clean
103 rm -fr $RPM_BUILD_ROOT
104
105 %post   -p /sbin/ldconfig
106 %postun -p /sbin/ldconfig
107
108 %files
109 %defattr(644,root,root,755)
110 %doc README
111 %attr(755,root,root) %{_libdir}/libarpack.so.*.*.*
112
113 %files devel
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/libarpack.so
116 %doc DOCUMENTS/*.doc *.ps.gz
117 %{_libdir}/libarpack.la
118
119 %files static
120 %defattr(644,root,root,755)
121 %{_libdir}/libarpack.a
This page took 0.070456 seconds and 2 git commands to generate.