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