]> git.pld-linux.org Git - packages/arpack.git/blobdiff - arpack.spec
- unified %clean section
[packages/arpack.git] / arpack.spec
index b290d388f02714eadafca8d016a9c1ece07736a5..49b4cf7c1b3e87139783a842a4ead49f6c07ecf3 100644 (file)
@@ -6,7 +6,7 @@ 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:       7%{?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
@@ -27,7 +27,7 @@ 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)
 
@@ -92,8 +92,7 @@ cp %{SOURCE4} .
 %{__autoheader}
 %{__autoconf}
 %{__automake}
-%configure \
-       LDFLAGS=%{?with_acml:-lacml}%{!?with_acml:-lblas}
+%configure
 
 %{__make}
 
@@ -104,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
@@ -113,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.032125 seconds and 4 git commands to generate.