Accepting request 159640 from devel:libraries:c_c++

Split devel packages into devel and devel-static (forwarded request 159622 from Dmitry_R)

OBS-URL: https://build.opensuse.org/request/show/159640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lapack?expand=0&rev=33
This commit is contained in:
Stephan Kulow 2013-03-22 10:25:02 +00:00 committed by Git OBS Bridge
parent 6d4815ef39
commit e592399fed
2 changed files with 62 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 15 18:53:22 UTC 2013 - dmitry_r@opensuse.org
- Split devel packages into devel and devel-static
-------------------------------------------------------------------
Sun Jan 13 00:04:56 UTC 2013 - scorot@free.fr

View File

@ -43,7 +43,7 @@ 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 liblapack3
%package -n liblapack3
Summary: LAPACK Shared Library
Group: Development/Libraries/Parallel
@ -58,7 +58,7 @@ 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
%package -n libblas3
Summary: BLAS Shared Library
Group: Development/Libraries/Parallel
@ -67,7 +67,7 @@ BLAS (Basic Linear Algebra Subprograms) is a standard library for
numerical algebra. BLAS provides a number of basic algorithms for
linear algebra.
%package devel
%package devel
Summary: Linear Algebra Package
Group: Development/Libraries/Parallel
Requires: blas-devel = %{version}
@ -76,7 +76,7 @@ Provides: lapack = %{version}
Provides: lapack-devel-static = %{version}
Obsoletes: lapack < %{version}
%description devel
%description devel
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
@ -87,7 +87,23 @@ 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 blas-devel
%package devel-static
Summary: Linear Algebra Package - static libraries
Group: Development/Libraries/Parallel
Requires: lapack-devel = %{version}
%description devel-static
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 blas-devel
Summary: Basic Linear Algebra Subprograms
Group: Development/Libraries/Parallel
Requires: libblas3 = %{version}
@ -102,7 +118,19 @@ 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
%package -n blas-devel-static
Summary: Basic Linear Algebra Subprograms
Group: Development/Libraries/Parallel
Requires: blas-devel = %{version}
%description -n blas-devel-static
BLAS (Basic Linear Algebra Subprograms) is a standard library for
numerical algebra. BLAS provides a number of basic algorithms for
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: lapack-manpages = %{version}
@ -111,10 +139,10 @@ Obsoletes: lapack-manpages < %{version}
BuildArch: noarch
%endif
%description man
%description man
Manpages for LAPACK
%package -n blas-man
%package -n blas-man
Summary: Documentation for BLAS (Basic Linear Algebra Subprograms)
Group: Development/Libraries/Parallel
Provides: blasman = %{version}
@ -128,7 +156,7 @@ The blas-man package contains documentation for BLAS (Basic Linear
Algebra subprograms) routines, in the form of man pages.
%package -n liblapacke3
%package -n liblapacke3
Summary: LAPACKE development files
Group: Development/Libraries/C and C++
@ -146,7 +174,7 @@ This implementation introduces:
- error code as a return value instead of the INFO parameter.
%package -n lapacke-devel
%package -n lapacke-devel
Requires: liblapacke3 = %{version}
Provides: lapacke = %{version}
Provides: lapacke-devel-static = %{version}
@ -156,6 +184,14 @@ Group: Development/Libraries/C and C++
%description -n lapacke-devel
LAPACKE headers and development files.
%package -n lapacke-devel-static
Requires: lapacke-devel = %{version}
Summary: LAPACKE development files - static libraries
Group: Development/Libraries/C and C++
%description -n lapacke-devel-static
LAPACKE development files - static libraries.
%prep
%setup -q
%patch1
@ -374,12 +410,18 @@ fi
%files devel
%defattr(-,root,root)
%{_libdir}/liblapack.so
%files devel-static
%defattr(-,root,root)
%{_libdir}/liblapack.a
%{_libdir}/liblapack_pic.a
%files -n blas-devel
%defattr(-,root,root)
%{_libdir}/libblas.so
%files -n blas-devel-static
%defattr(-,root,root)
%{_libdir}/libblas.a
%{_libdir}/libblas_pic.a
@ -398,8 +440,11 @@ fi
%defattr(-,root,root,-)
%doc lapacke/LICENSE lapacke/README
%{_libdir}/liblapacke.so
%{_libdir}/liblapacke.a
%{_libdir}/liblapacke_pic.a
%{_includedir}/*.h
%files -n lapacke-devel-static
%defattr(-,root,root,-)
%{_libdir}/liblapacke.a
%{_libdir}/liblapacke_pic.a
%changelog