X-Git-Url: http://git.pld-linux.org/?p=packages%2Farpack.git;a=blobdiff_plain;f=arpack.spec;h=cb166c8c40a2f9a2d186dd4821333f1b0abb3efb;hp=c55396f2470ec0b2bd18dbf87de5ce3c3b983184;hb=HEAD;hpb=1f114de4253ecb2a3ca8904aa52a0269b341dcd4 diff --git a/arpack.spec b/arpack.spec index c55396f..9c11cce 100644 --- a/arpack.spec +++ b/arpack.spec @@ -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)