packages: clapack/clapack.spec, clapack/clapack-automake_support.patch (REM...
arekm
arekm at pld-linux.org
Thu Oct 6 19:25:37 CEST 2011
Author: arekm Date: Thu Oct 6 17:25:37 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 3.2.1 (patches from gentoo); cblas is gone
---- Files affected:
packages/clapack:
clapack.spec (1.26 -> 1.27) , clapack-automake_support.patch (1.1 -> NONE) (REMOVED)
---- Diffs:
================================================================
Index: packages/clapack/clapack.spec
diff -u packages/clapack/clapack.spec:1.26 packages/clapack/clapack.spec:1.27
--- packages/clapack/clapack.spec:1.26 Sun Feb 6 17:50:36 2011
+++ packages/clapack/clapack.spec Thu Oct 6 19:25:32 2011
@@ -2,20 +2,20 @@
Summary: The CLAPACK libraries for numerical linear algebra
Summary(pl.UTF-8): Biblioteki numeryczne CLAPACK do algebry liniowej
Name: clapack
-Version: 3.0
-Release: 4
+Version: 3.2.1
+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
+Source0: http://www.netlib.org/clapack/%{name}-%{version}-CMAKE.tgz
+# Source0-md5: 4fd18eb33f3ff8c5d65a7d43913d661b
+Patch0: %{name}-%{version}-fix_include_file.patch
+Patch1: %{name}-%{version}-noblasf2c.patch
+Patch2: %{name}-%{version}-hang.patch
+Patch3: %{name}-%{version}-findblas-r6.patch
URL: http://www.netlib.org/clapack/
-BuildRequires: autoconf
-BuildRequires: automake
+BuildRequires: cmake
BuildRequires: gcc-g77
BuildRequires: libtool >= 1:1.4.2-9
-Requires: cblas = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -68,80 +68,33 @@
%description static -l pl.UTF-8
Biblioteki statyczne CLAPACK.
-%package -n cblas
-Summary: The CBLAS (Basic Linear Algebra Subprograms) library for Linux
-Summary(pl.UTF-8): Biblioteka CBLAS (Basic Linear Algebra Subprograms) dla Linuksa
-Group: Development/Libraries
-
-%description -n cblas
-CBLAS (Basic Linear Algebra Subprograms) is a standard library for
-numerical algebra. CBLAS provides a number of basic algorithms for
-linear algebra. CBLAS is fast and well-tested, was written in FORTRAN
-77.
-
-%description -n cblas -l pl.UTF-8
-CBLAS (Basic Linear Algebra Subprograms) jest standardową biblioteką
-numeryczną algebry. Dostarcza wiele podstawowych algorytmów dla
-algebry liniowej. Jest szybka i dobrze przetestowana, została napisana
-w Fortranie 77.
-
-%package -n cblas-devel
-Summary: CBLAS header files
-Summary(pl.UTF-8): Pliki nagłówkowe CBLAS
-Group: Development/Libraries
-Requires: cblas = %{version}-%{release}
-
-%description -n cblas-devel
-CBLAS header files.
-
-%description -n cblas-devel -l pl.UTF-8
-Pliki nagłówkowe CBLAS.
-
-%package -n cblas-static
-Summary: Static CBLAS libraries
-Summary(pl.UTF-8): Biblioteki statyczne CBLAS
-Group: Development/Libraries
-Requires: cblas-devel = %{version}-%{release}
-
-%description -n cblas-static
-Static CBLAS libraries.
-
-%description -n cblas-static -l pl.UTF-8
-Biblioteki statyczne CBLAS.
-
%prep
-%setup -q -n CLAPACK
+%setup -q -n %{name}-%{version}-CMAKE
%patch0 -p1
-# directory INSTALL conflicts with file INSTALL needed by automake
-mv -f INSTALL install
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
%build
-rm -f ltmain.sh missing
-%{__libtoolize}
-%{__aclocal}
-%{__autoheader}
-%{__automake}
-%{__autoconf}
-%configure
+install -d build
+cd build
+%cmake \
+ ..
+
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
-install BLAS/WRAP/cblas.h $RPM_BUILD_ROOT%{_includedir}
-
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%post -n cblas -p /sbin/ldconfig
-%postun -n cblas -p /sbin/ldconfig
-
%files
%defattr(644,root,root,755)
%doc README*
@@ -150,26 +103,8 @@
%files devel
%defattr(644,root,root,755)
%{_libdir}/libclapack.so
-%{_libdir}/libclapack.la
-%{_includedir}/clapack.h
-
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/libclapack.a
-
-%files -n cblas
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libcblas.so.*.*.*
-
-%files -n cblas-devel
-%defattr(644,root,root,755)
-%{_libdir}/libcblas.so
-%{_libdir}/libcblas.la
-%{_includedir}/cblas.h
-
-%files -n cblas-static
-%defattr(644,root,root,755)
-%{_libdir}/libcblas.a
+%{_includedir}/clapack
+%{_datadir}/cmake/Modules/clapack*.cmake
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -177,6 +112,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.27 2011/10/06 17:25:32 arekm
+- up to 3.2.1 (patches from gentoo); cblas is gone
+
Revision 1.26 2011/02/06 16:50:36 sparky
- unified %clean section
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/clapack/clapack.spec?r1=1.26&r2=1.27&f=u
More information about the pld-cvs-commit
mailing list