]> git.pld-linux.org Git - packages/arpack.git/blob - arpack.spec
- changed automake_support patch in order to use bundled LAPACK codes (rationale...
[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 Patch0:         %{name}-automake_support.patch
13 URL:            http://www.caam.rice.edu/software/ARPACK/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gcc-g77
17 #BuildRequires: lapack-devel
18 BuildRequires:  libtool >= 1:1.4.2-9
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 ARPACK software is capable of solving large scale symmetric,
23 nonsymmetric, and generalized eigenproblems from significant
24 application areas. The software is designed to compute a few (k)
25 eigenvalues with user specified features such as those of largest real
26 part or largest magnitude. Storage requirements are on the order of
27 n*k locations. No auxiliary storage is required. A set of Schur basis
28 vectors for the desired k-dimensional eigen-space is computed which is
29 numerically orthogonal to working precision. Numerically accurate
30 eigenvectors are available on request.
31
32 %description -l pl
33 Rozwi±zywanie zagadnienia w³asnego (symetrycznego, niesymetrycznego,
34 ogólnego) dla du¿ych macierzy. Macierz mo¿e byæ dowolna, przy czym
35 procedury dzia³aj± szczególnie dobrze w przypadku du¿ych macierzy
36 rzadkich b±d¼ macierzy ze znan± struktur±.
37
38 %package devel
39 Summary:        ARPACK development files
40 Summary(pl):    Pliki programistyczne ARPACK
41 Group:          Development/Libraries
42 Requires:       %{name} = %{version}
43 Requires:       lapack-devel
44
45 %description devel
46 ARPACK development files.
47
48 %description devel -l pl
49 Pliki programistyczne ARPACK.
50
51 %package static
52 Summary:        Static ARPACK library
53 Summary(pl):    Statyczna biblioteka ARPACK
54 Group:          Development/Libraries
55 Requires:       %{name}-devel = %{version}
56
57 %description static
58 Static ARPACK library.
59
60 %description static -l pl
61 Statyczna biblioteka ARPACK.
62
63 %prep
64 %setup -q -n ARPACK -b1
65 %patch -p1
66
67 %build
68 %{__libtoolize}
69 %{__aclocal}
70 %{__autoheader}
71 %{__autoconf}
72 %{__automake}
73 %configure
74
75 # libtool 1.4d requires --tag for g77, libtool 1.4.2 fails when --tag is passed
76 LTTAG=""
77 grep -q -e '--tag' `which libtool` && LTTAG="--tag=F77"
78
79 %{__make} \
80         LTTAG="$LTTAG"
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 %clean
89 rm -fr $RPM_BUILD_ROOT
90
91 %post   -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
93
94 %files
95 %defattr(644,root,root,755)
96 %doc README
97 %attr(755,root,root) %{_libdir}/libarpack.so.*.*.*
98
99 %files devel
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libarpack.so
102 %{_libdir}/libarpack.la
103
104 %files static
105 %defattr(644,root,root,755)
106 %{_libdir}/libarpack.a
This page took 0.076379 seconds and 4 git commands to generate.