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