rpms/lapack/FC-4 lapack.spec,1.1,1.2
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Wed Sep 14 19:31:07 UTC 2005
Author: spot
Update of /cvs/extras/rpms/lapack/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25422/FC-4
Modified Files:
lapack.spec
Log Message:
make -devel packages for lapack/blas, special _pic static lib for ATLAS
Index: lapack.spec
===================================================================
RCS file: /cvs/extras/rpms/lapack/FC-4/lapack.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lapack.spec 15 Apr 2005 02:04:38 -0000 1.1
+++ lapack.spec 14 Sep 2005 19:31:04 -0000 1.2
@@ -1,7 +1,7 @@
Summary: The LAPACK libraries for numerical linear algebra.
Name: lapack
Version: 3.0
-Release: 29
+Release: 30%{?dist}
License: Freely distributable
Group: Development/Libraries
URL: http://www.netlib.org/lapack/
@@ -30,6 +30,14 @@
real and complex matrices in both single and double precision. LAPACK
is coded in Fortran77 and built with gcc.
+%package devel
+Summary: LAPACK development libraries
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+LAPACK development libraries for applications that link statically.
+
%package -n blas
Summary: The BLAS (Basic Linear Algebra Subprograms) library.
Group: Development/Libraries
@@ -40,6 +48,14 @@
provides a number of basic algorithms for numerical algebra. Man
pages for blas are available in the blas-man package.
+%package -n blas-devel
+Summary: LAPACK development libraries
+Group: Development/Libraries
+Requires: blas = %{version}-%{release}
+
+%description blas-devel
+BLAS development libraries for applications that link statically.
+
%prep
%setup -q -n LAPACK
%setup -q -D -T -a 1 -n LAPACK
@@ -75,6 +91,11 @@
FFLAGS="$RPM_OPT_SIZE_FLAGS -fPIC" make dlamch.o slamch.o dgeev.o
FFLAGS="$RPM_OPT_FLAGS -fPIC" make shared
cp liblapack.so.3.0.3 ..
+make clean
+FFLAGS="$RPM_OPT_SIZE_FLAGS -fPIC" make dlamch.o slamch.o dgeev.o
+FFLAGS="$RPM_OPT_FLAGS -fPIC" make static
+cp liblapack.a ../liblapack_pic.a
+
cd ..
cp %{SOURCE4} lapackqref.ps
cp %{SOURCE5} blasqr.ps
@@ -120,14 +141,29 @@
%files -f lapackmans
%defattr(-,root,root)
%doc README lapackqref.ps
-%{_libdir}/liblapack.*
+%{_libdir}/liblapack.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/liblapack.so
+%{_libdir}/liblapack*.a
%files -n blas -f blasmans
%defattr(-,root,root)
%doc blasqr.ps
-%{_libdir}/libblas.*
+%{_libdir}/libblas.so.*
+
+%files -n blas-devel
+%defattr(-,root,root,-)
+%{_libdir}/libblas.so
+%{_libdir}/libblas*.a
%changelog
+* Wed Sep 14 2005 Tom "spot" Callaway <tcallawa at redhat.com> 3.0-30
+- make -devel packages
+- make liblapack_pic.a package
+- use dist tag
+
* Thu Apr 14 2005 Tom "spot" Callaway <tcallawa at redhat.com> 3.0-29
- package moves to Fedora Extras, gcc4
More information about the fedora-extras-commits
mailing list