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