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