]> git.pld-linux.org Git - packages/arpack.git/blobdiff - arpack.spec
- rediffed arscnd-3 patch
[packages/arpack.git] / arpack.spec
index c55396f2470ec0b2bd18dbf87de5ce3c3b983184..9c11cce102c12bf071a9050268f0feba147bb32b 100644 (file)
@@ -2,11 +2,12 @@
 # Conditional build:
 %bcond_with    acml    # With ACML version of BLAS instead of NETLIB implementation
 #
+%define                rel     13
 Summary:       Subroutines for solving large scale eigenvalue problems
 Summary(pl.UTF-8):     Rozwiązywanie zagadnienia własnego dla dużych macierzy
 Name:          arpack
 Version:       2.1
-Release:       4%{?with_acml:ACML}
+Release:       %{rel}%{?with_acml:ACML}
 License:       Freely distributable
 Group:         Libraries
 Source0:       http://www.caam.rice.edu/software/ARPACK/SRC/%{name}96.tar.gz
@@ -19,14 +20,16 @@ Source3:    http://www.caam.rice.edu/software/ARPACK/SRC/P57_58.ps.gz
 # Source3-md5: b86d77199f989fc438acaf7ac0433e76
 Source4:       http://www.caam.rice.edu/software/ARPACK/SRC/P61_62.ps.gz
 # Source4-md5: d116887acb3d61fecf645c2d37d4d517
-Patch0:                %{name}-automake_support.patch
-Patch1:                %{name}-no_etime.patch
+# originally from http://mathema.tician.de/news.tiker.net/files/arpack-arscnd-3.patch.gz (dead now)
+Patch0:                %{name}-arscnd-3.patch
+Patch1:                %{name}-automake_support.patch
+Patch2:                %{name}-no_etime.patch
 URL:           http://www.caam.rice.edu/software/ARPACK/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gcc-g77
 BuildRequires: libtool >= 2:1.5
-%{!?with_acml:BuildRequires:   blas-devel}
+%{!?with_acml:BuildRequires:   lapack-devel}
 %{?with_acml:ExclusiveArch:    %{x8664}}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -80,6 +83,7 @@ Statyczna biblioteka ARPACK.
 %setup -q -n ARPACK -b1
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 cp %{SOURCE2} .
 cp %{SOURCE3} .
 cp %{SOURCE4} .
@@ -90,8 +94,7 @@ cp %{SOURCE4} .
 %{__autoheader}
 %{__autoconf}
 %{__automake}
-%configure \
-       LDFLAGS=%{?with_acml:-lacml}%{!?with_acml:-lblas}
+%configure
 
 %{__make}
 
@@ -102,7 +105,7 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
-rm -fr $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
@@ -111,6 +114,7 @@ rm -fr $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README
 %attr(755,root,root) %{_libdir}/libarpack.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libarpack.so.2
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.073601 seconds and 4 git commands to generate.