Accepting request 112135 from devel:libraries:c_c++
- Fixed building on openSUSE 11.4 by fixing defattr - Made the package groups consistent: Development/Libraries/Parallel - Cleaned up spec file formatting - Made all requires use the new package naming (forwarded request 112040 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/112135 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lapack?expand=0&rev=24
This commit is contained in:
parent
91b57c81fc
commit
96bba20005
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 14:11:58 UTC 2012 - toddrme2178@gmail.com
|
||||
|
||||
- Fixed building on openSUSE 11.4 by fixing defattr
|
||||
- Made the package groups consistent: Development/Libraries/Parallel
|
||||
- Cleaned up spec file formatting
|
||||
- Made all requires use the new package naming
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 14 12:31:13 UTC 2012 - saschpe@suse.de
|
||||
|
||||
|
118
lapack.spec
118
lapack.spec
@ -15,15 +15,15 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: lapack
|
||||
Version: 3.4.0
|
||||
%define sonum 3
|
||||
Release: 0
|
||||
Summary: Linear Algebra Package
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Parallel
|
||||
Url: http://www.netlib.org/lapack/
|
||||
Source0: http://www.netlib.org/lapack/lapack-%{version}.tgz
|
||||
Url: http://www.netlib.org/%{name}/
|
||||
Source0: http://www.netlib.org/%{name}/%{name}-%{version}.tgz
|
||||
Patch1: lapack-3.2.2.patch
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: gcc-fortran
|
||||
@ -41,11 +41,35 @@ matrices are handled, but not general sparse matrices. In all areas,
|
||||
similar functionality is provided for real and complex matrices, in
|
||||
both single and double precision.
|
||||
|
||||
%package -n lib%{name}%{sonum}
|
||||
Summary: LAPACK Shared Library
|
||||
Group: Development/Libraries/Parallel
|
||||
|
||||
%description -n lib%{name}%{sonum}
|
||||
LAPACK provides routines for solving systems of simultaneous linear
|
||||
equations, least-squares solutions of linear systems of equations,
|
||||
eigenvalue problems, and singular value problems. The associated matrix
|
||||
factorizations (LU, Cholesky, QR, SVD, Schur, generalized Schur) are
|
||||
also provided, as are related computations such as reordering of the
|
||||
Schur factorizations and estimating condition numbers. Dense and banded
|
||||
matrices are handled, but not general sparse matrices. In all areas,
|
||||
similar functionality is provided for real and complex matrices, in
|
||||
both single and double precision.
|
||||
|
||||
%package -n libblas%{sonum}
|
||||
Summary: BLAS Shared Library
|
||||
Group: Development/Libraries/Parallel
|
||||
|
||||
%description -n libblas%{sonum}
|
||||
BLAS (Basic Linear Algebra Subprograms) is a standard library for
|
||||
numerical algebra. BLAS provides a number of basic algorithms for
|
||||
linear algebra.
|
||||
|
||||
%package devel
|
||||
Summary: Linear Algebra Package
|
||||
Group: Development/Libraries/Parallel
|
||||
Requires: blas = %{version}
|
||||
Requires: liblapack3 = %{version}
|
||||
Requires: blas-devel = %{version}
|
||||
Requires: lib%{name}%{sonum} = %{version}
|
||||
Provides: %{name} = %{version}
|
||||
Provides: %{name}-devel-static = %{version}
|
||||
#TODO: Change back to '<' after next version update:
|
||||
@ -64,8 +88,8 @@ both single and double precision.
|
||||
|
||||
%package -n blas-devel
|
||||
Summary: Basic Linear Algebra Subprograms
|
||||
Group: Productivity/Scientific/Math
|
||||
Requires: libblas3 >= %{version}
|
||||
Group: Development/Libraries/Parallel
|
||||
Requires: libblas%{sonum} = %{version}
|
||||
Provides: blas = %{version}
|
||||
Provides: blas-devel-static = %{version}
|
||||
#TODO: Change back to '<' after next version update:
|
||||
@ -78,9 +102,21 @@ linear algebra. BLAS is fast and well-tested, was written in FORTRAN 77
|
||||
and built with gfortran. BLAS manual pages are available in the
|
||||
blas-man package.
|
||||
|
||||
%package man
|
||||
Summary: Manpages for LAPACK
|
||||
Group: Development/Libraries/Parallel
|
||||
Provides: %{name}-manpages = %{version}
|
||||
Obsoletes: %{name}-manpages < %{version}
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description man
|
||||
Manpages for LAPACK
|
||||
|
||||
%package -n blas-man
|
||||
Summary: Documentation for BLAS (Basic Linear Algebra Subprograms)
|
||||
Group: Productivity/Scientific/Math
|
||||
Group: Development/Libraries/Parallel
|
||||
Provides: blasman = %{version}
|
||||
Obsoletes: blasman < %{version}
|
||||
%if 0%{?suse_version} >= 1120
|
||||
@ -91,42 +127,6 @@ BuildArch: noarch
|
||||
The blas-man package contains documentation for BLAS (Basic Linear
|
||||
Algebra subprograms) routines, in the form of man pages.
|
||||
|
||||
%package man
|
||||
Summary: Manpages for LAPACK
|
||||
Group: Development/Libraries/Parallel
|
||||
Provides: lapack-manpages = %{version}
|
||||
Obsoletes: lapack-manpages < %{version}
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description man
|
||||
Manpages for LAPACK
|
||||
|
||||
%package -n liblapack3
|
||||
Summary: LAPACK Shared Library
|
||||
Group: Development/Libraries/Parallel
|
||||
|
||||
%description -n liblapack3
|
||||
LAPACK provides routines for solving systems of simultaneous linear
|
||||
equations, least-squares solutions of linear systems of equations,
|
||||
eigenvalue problems, and singular value problems. The associated matrix
|
||||
factorizations (LU, Cholesky, QR, SVD, Schur, generalized Schur) are
|
||||
also provided, as are related computations such as reordering of the
|
||||
Schur factorizations and estimating condition numbers. Dense and banded
|
||||
matrices are handled, but not general sparse matrices. In all areas,
|
||||
similar functionality is provided for real and complex matrices, in
|
||||
both single and double precision.
|
||||
|
||||
%package -n libblas3
|
||||
Summary: BLAS Shared Library
|
||||
Group: Productivity/Scientific/Math
|
||||
|
||||
%description -n libblas3
|
||||
BLAS (Basic Linear Algebra Subprograms) is a standard library for
|
||||
numerical algebra. BLAS provides a number of basic algorithms for
|
||||
linear algebra.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1
|
||||
@ -277,17 +277,23 @@ ln -s DLAMCH.3.gz %{buildroot}/%{_mandir}/man3/DLAMC3.3.gz
|
||||
%post -n liblapack3 -p /sbin/ldconfig
|
||||
%postun -n liblapack3 -p /sbin/ldconfig
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/liblapack.so
|
||||
%{_libdir}/liblapack.a
|
||||
%{_libdir}/liblapack_pic.a
|
||||
|
||||
%files -n liblapack3
|
||||
%files -n lib%{name}%{sonum}
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README
|
||||
%{_libdir}/liblapack.so.%{version}
|
||||
%{_libdir}/liblapack.so.3
|
||||
%{_libdir}/lib%{name}.so.%{version}
|
||||
%{_libdir}/lib%{name}.so.%{sonum}
|
||||
|
||||
%files -n libblas%{sonum}
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README
|
||||
%{_libdir}/libblas.so.%{version}
|
||||
%{_libdir}/libblas.so.%{sonum}
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/lib%{name}.so
|
||||
%{_libdir}/lib%{name}.a
|
||||
%{_libdir}/lib%{name}_pic.a
|
||||
|
||||
%files -n blas-devel
|
||||
%defattr(-,root,root)
|
||||
@ -295,12 +301,6 @@ ln -s DLAMCH.3.gz %{buildroot}/%{_mandir}/man3/DLAMC3.3.gz
|
||||
%{_libdir}/libblas.a
|
||||
%{_libdir}/libblas_pic.a
|
||||
|
||||
%files -n libblas3
|
||||
%doc LICENSE README
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libblas.so.%{version}
|
||||
%{_libdir}/libblas.so.3
|
||||
|
||||
%files man -f lapackmans
|
||||
%defattr(-,root,root)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user