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