make -devel packages for lapack/blas, special _pic static lib for ATLAS
This commit is contained in:
parent
f34ba88b88
commit
540af93208
42
lapack.spec
42
lapack.spec
@ -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 @@ not general sparse matrices. Similar functionality is provided for
|
||||
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 @@ BLAS (Basic Linear Algebra Subprograms) is a standard library which
|
||||
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 @@ make clean
|
||||
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 @@ rm -fr ${RPM_BUILD_ROOT}
|
||||
%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@redhat.com> 3.0-30
|
||||
- make -devel packages
|
||||
- make liblapack_pic.a package
|
||||
- use dist tag
|
||||
|
||||
* Thu Apr 14 2005 Tom "spot" Callaway <tcallawa@redhat.com> 3.0-29
|
||||
- package moves to Fedora Extras, gcc4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user