]> git.pld-linux.org Git - packages/clapack.git/blobdiff - clapack.spec
- może wrescie ktoś wykasuje to konto ?
[packages/clapack.git] / clapack.spec
index ddd0d6bb0cd6beb540df6b9259a826c019715fb6..e1241677e18f84139301e2a3534634be66028ed0 100644 (file)
@@ -6,14 +6,14 @@ Release:      1
 License:       freely distributable
 Group:         Development/Libraries
 Source0:       http://www.netlib.org/clapack/%{name}.tgz
+# Source0-md5: 1b6d89b3352d0c678e50a03724458053
 #Source1:      http://www.netlib.org/clapack/manpages.tgz
 Patch0:                %{name}-automake_support.patch
 URL:           http://www.netlib.org/lapack/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: ed
 BuildRequires: gcc-g77
-BuildRequires: libtool
+BuildRequires: libtool >= 1:1.4.2-9
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Requires:      cblas
 
@@ -113,41 +113,31 @@ Biblioteki statyczne CBLAS.
 %patch0 -p1
 # directory INSTALL conflicts with file INSTALL needed by automake
 mv -f INSTALL install
->INSTALL
->AUTHORS
->ChangeLog
->NEWS
->COPYING
-#>config.h.in
 
 %build
-rm -f ltmain.sh
-libtoolize --copy --force
-aclocal
-autoheader
-automake --add-missing
-autoconf
+rm -f ltmain.sh missing
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__automake}
+%{__autoconf}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-#workaround libtool
-ed SRC/libclapack.la <<EOF
-s/relink_command=.*/relink_command=''/
-w
-q
-EOF
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -fr $RPM_BUILD_ROOT
 
-%post           -p /sbin/ldconfig
-%postun         -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
-%post   -n cblas -p /sbin/ldconfig
-%postun -n cblas -p /sbin/ldconfig
+%post  -n cblas -p /sbin/ldconfig
+%postun        -n cblas -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
@@ -157,6 +147,7 @@ rm -fr $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %{_libdir}/libclapack.so
+%{_libdir}/libclapack.la
 %{_includedir}/clapack.h
 
 %files static
@@ -170,6 +161,7 @@ rm -fr $RPM_BUILD_ROOT
 %files -n cblas-devel
 %defattr(644,root,root,755)
 %{_libdir}/libcblas.so
+%{_libdir}/libcblas.la
 
 %files -n cblas-static
 %defattr(644,root,root,755)
This page took 0.10096 seconds and 4 git commands to generate.