]> git.pld-linux.org Git - packages/arpack.git/blobdiff - arpack.spec
- unified %clean section
[packages/arpack.git] / arpack.spec
index 46f922d8fd7d2ade34f1cc121eb28f7599d3dcfd..49b4cf7c1b3e87139783a842a4ead49f6c07ecf3 100644 (file)
@@ -3,10 +3,10 @@
 %bcond_with    acml    # With ACML version of BLAS instead of NETLIB implementation
 #
 Summary:       Subroutines for solving large scale eigenvalue problems
-Summary(pl.UTF-8):   Rozwiązywanie zagadnienia własnego dla dużych macierzy
+Summary(pl.UTF-8):     Rozwiązywanie zagadnienia własnego dla dużych macierzy
 Name:          arpack
 Version:       2.1
-Release:       3%{?with_acml:ACML}
+Release:       8%{?with_acml:ACML}
 License:       Freely distributable
 Group:         Libraries
 Source0:       http://www.caam.rice.edu/software/ARPACK/SRC/%{name}96.tar.gz
@@ -19,13 +19,15 @@ 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
+Patch0:                http://mathema.tician.de/news.tiker.net/files/arpack-arscnd-3.patch.gz
+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)
 
@@ -52,7 +54,7 @@ dodatkowa pamięć (np. dyskowa) nie jest wymagana.
 
 %package devel
 Summary:       ARPACK development files
-Summary(pl.UTF-8):   Pliki programistyczne ARPACK
+Summary(pl.UTF-8):     Pliki programistyczne ARPACK
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 %{!?with_acml:Requires:        blas-devel}
@@ -65,7 +67,7 @@ Pliki programistyczne ARPACK.
 
 %package static
 Summary:       Static ARPACK library
-Summary(pl.UTF-8):   Statyczna biblioteka ARPACK
+Summary(pl.UTF-8):     Statyczna biblioteka ARPACK
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
@@ -78,6 +80,8 @@ Statyczna biblioteka ARPACK.
 %prep
 %setup -q -n ARPACK -b1
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 cp %{SOURCE2} .
 cp %{SOURCE3} .
 cp %{SOURCE4} .
@@ -88,8 +92,7 @@ cp %{SOURCE4} .
 %{__autoheader}
 %{__autoconf}
 %{__automake}
-%configure \
-       LDFLAGS=%{?with_acml:-lacml}%{!?with_acml:-lblas}
+%configure
 
 %{__make}
 
@@ -100,7 +103,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
@@ -109,6 +112,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.281719 seconds and 4 git commands to generate.