Hello community, here is the log from the commit of package lapack for openSUSE:Factory checked in at 2012-03-29 07:43:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lapack (Old) and /work/SRC/openSUSE:Factory/.lapack.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lapack", Maintainer is "rguent...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/lapack/lapack.changes 2012-02-15 22:21:40.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.lapack.new/lapack.changes 2012-03-29 07:44:01.000000000 +0200 @@ -1,0 +2,12 @@ +Wed Mar 14 12:31:13 UTC 2012 - sasc...@suse.de + +- Adhere to shared library policy, packages containing *.so or *.h + files have to be named $FOO-devel, packages containing *.a files either + have to be named $FOO-devel-static or provide this name +- Set license to 'BSD-3-Clause', according to the file LICENSE and the + description on http://www.netlib.org/lapack/ it's not public domain +- Package README and LICENSE in library packages +- Removed rpmlint filters +- Use upstream tarball URL + +------------------------------------------------------------------- Old: ---- lapack-3.4.0.tar.bz2 lapack-rpmlintrc New: ---- lapack-3.4.0.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lapack.spec ++++++ --- /var/tmp/diff_new_pack.xZv4d0/_old 2012-03-29 07:44:03.000000000 +0200 +++ /var/tmp/diff_new_pack.xZv4d0/_new 2012-03-29 07:44:03.000000000 +0200 @@ -17,20 +17,17 @@ Name: lapack -BuildRequires: doxygen -BuildRequires: gcc-fortran -BuildRequires: python -Summary: Linear Algebra Package -License: SUSE-Public-Domain -Group: Development/Libraries/Parallel Version: 3.4.0 Release: 0 -Source0: lapack-%{version}.tar.bz2 -Source99: lapack-rpmlintrc -Patch1: lapack-3.2.2.patch +Summary: Linear Algebra Package +License: BSD-3-Clause +Group: Development/Libraries/Parallel Url: http://www.netlib.org/lapack/ -Requires: blas = %{version} -Requires: liblapack3 = %{version} +Source0: http://www.netlib.org/lapack/lapack-%{version}.tgz +Patch1: lapack-3.2.2.patch +BuildRequires: doxygen +BuildRequires: gcc-fortran +BuildRequires: python BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -44,34 +41,47 @@ similar functionality is provided for real and complex matrices, in both single and double precision. +%package devel +Summary: Linear Algebra Package +Group: Development/Libraries/Parallel +Requires: blas = %{version} +Requires: liblapack3 = %{version} +Provides: %{name} = %{version} +Provides: %{name}-devel-static = %{version} +#TODO: Change back to '<' after next version update: +Obsoletes: %{name} <= %{version} +%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 +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. -Authors: --------- - Jack Dongarra <lap...@cs.utk.edu> - -%package -n blas +%package -n blas-devel Summary: Basic Linear Algebra Subprograms Group: Productivity/Scientific/Math Requires: libblas3 >= %{version} +Provides: blas = %{version} +Provides: blas-devel-static = %{version} +#TODO: Change back to '<' after next version update: +Obsoletes: blas <= %{version} -%description -n blas +%description -n blas-devel 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. - - -Authors: --------- - UTK <lap...@cs.utk.edu> - %package -n blas-man Summary: Documentation for BLAS (Basic Linear Algebra Subprograms) Group: Productivity/Scientific/Math -Provides: blasman = %{version}-%{release} +Provides: blasman = %{version} Obsoletes: blasman < %{version} %if 0%{?suse_version} >= 1120 BuildArch: noarch @@ -81,16 +91,10 @@ The blas-man package contains documentation for BLAS (Basic Linear Algebra subprograms) routines, in the form of man pages. - - -Authors: --------- - UTK <lap...@cs.utk.edu> - %package man Summary: Manpages for LAPACK Group: Development/Libraries/Parallel -Provides: lapack-manpages = %{version}-%{release} +Provides: lapack-manpages = %{version} Obsoletes: lapack-manpages < %{version} %if 0%{?suse_version} >= 1120 BuildArch: noarch @@ -99,12 +103,6 @@ %description man Manpages for LAPACK - - -Authors: --------- - Lapack team<lap...@cs.utk.edu> - %package -n liblapack3 Summary: LAPACK Shared Library Group: Development/Libraries/Parallel @@ -120,12 +118,6 @@ similar functionality is provided for real and complex matrices, in both single and double precision. - - -Authors: --------- - Jack Dongarra <lap...@cs.utk.edu> - %package -n libblas3 Summary: BLAS Shared Library Group: Productivity/Scientific/Math @@ -135,12 +127,6 @@ numerical algebra. BLAS provides a number of basic algorithms for linear algebra. - - -Authors: --------- - UTK <lap...@cs.utk.edu> - %prep %setup -q %patch1 @@ -154,21 +140,21 @@ cp make.inc.example make.inc make cleanlib make %{?_smp_mflags} blaslib \ - OPTS="$RPM_OPT_FLAGS -fPIC" \ - NOOPT="$RPM_OPT_FLAGS -O0 -fPIC" + OPTS="%{optflags} -fPIC" \ + NOOPT="%{optflags} -O0 -fPIC" mv librefblas.a libblas_pic.a mkdir tmp ( cd tmp; ar x ../libblas_pic.a ) -gfortran -shared -Wl,-soname=libblas.so.3 -o libblas.so.%version tmp/*.o -ln -s libblas.so.%version libblas.so +gfortran -shared -Wl,-soname=libblas.so.3 -o libblas.so.%{version} tmp/*.o +ln -s libblas.so.%{version} libblas.so rm -rf tmp make cleanlib make %{?_smp_mflags} blaslib \ - OPTS="$RPM_OPT_FLAGS" \ - NOOPT="$RPM_OPT_FLAGS -O0" + OPTS="%{optflags}" \ + NOOPT="%{optflags} -O0" make blas_testing \ - OPTS="$RPM_OPT_FLAGS $PRECFLAGS" \ - NOOPT="$RPM_OPT_FLAGS $PRECFLAGS -O0" + OPTS="%{optflags} $PRECFLAGS" \ + NOOPT="%{optflags} $PRECFLAGS -O0" if grep -B15 -A15 FAIL BLAS/*.out; then echo echo "blas_testing FAILED" @@ -180,22 +166,22 @@ mv librefblas.a libblas.a make cleanlib make %{?_smp_mflags} lapacklib \ - OPTS="$RPM_OPT_FLAGS -fPIC" \ - NOOPT="$RPM_OPT_FLAGS -O0 -fPIC" + OPTS="%{optflags} -fPIC" \ + NOOPT="%{optflags} -O0 -fPIC" mv liblapack.a liblapack_pic.a mkdir tmp ( cd tmp; ar x ../liblapack_pic.a ) -gfortran -shared -Wl,-soname=liblapack.so.3 -o liblapack.so.%version tmp/*.o -L. -lblas -ln -s liblapack.so.%version liblapack.so +gfortran -shared -Wl,-soname=liblapack.so.3 -o liblapack.so.%{version} tmp/*.o -L. -lblas +ln -s liblapack.so.%{version} liblapack.so rm -rf tmp make cleanlib make %{?_smp_mflags} lapacklib \ - OPTS="$RPM_OPT_FLAGS" \ - NOOPT="$RPM_OPT_FLAGS -O0" + OPTS="%{optflags}" \ + NOOPT="%{optflags} -O0" ln -s libblas.a librefblas.a make lapack_testing \ - OPTS="$RPM_OPT_FLAGS $PRECFLAGS" \ - NOOPT="$RPM_OPT_FLAGS $PRECFLAGS -O0" + OPTS="%{optflags} $PRECFLAGS" \ + NOOPT="%{optflags} $PRECFLAGS -O0" if grep -B15 -A15 FAIL TESTING/*.out; then echo echo "lapack_testing FAILED" @@ -235,19 +221,19 @@ mv DOCS/man/man3/INSTALL_ilaver.f.3 DOCS/man/man3/ilaver.f.3 %install -install -d $RPM_BUILD_ROOT/%{_libdir} -install -m 644 libblas.a $RPM_BUILD_ROOT/%{_libdir} -install -m 644 libblas_pic.a $RPM_BUILD_ROOT/%{_libdir} -install -m 644 liblapack.a $RPM_BUILD_ROOT/%{_libdir} -install -m 644 liblapack_pic.a $RPM_BUILD_ROOT/%{_libdir} -install -m 755 libblas.so.%version $RPM_BUILD_ROOT/%{_libdir} -ln -s libblas.so.%version $RPM_BUILD_ROOT/%{_libdir}/libblas.so.3 -ln -s libblas.so.%version $RPM_BUILD_ROOT/%{_libdir}/libblas.so -install -m 755 liblapack.so.%version $RPM_BUILD_ROOT/%{_libdir} -ln -s liblapack.so.%version $RPM_BUILD_ROOT/%{_libdir}/liblapack.so.3 -ln -s liblapack.so.%version $RPM_BUILD_ROOT/%{_libdir}/liblapack.so -install -d $RPM_BUILD_ROOT%{_mandir}/man3 -install -m 0644 DOCS/man/man3/*.3 $RPM_BUILD_ROOT%{_mandir}/man3/ +install -d %{buildroot}/%{_libdir} +install -m 644 libblas.a %{buildroot}/%{_libdir} +install -m 644 libblas_pic.a %{buildroot}/%{_libdir} +install -m 644 liblapack.a %{buildroot}/%{_libdir} +install -m 644 liblapack_pic.a %{buildroot}/%{_libdir} +install -m 755 libblas.so.%{version} %{buildroot}/%{_libdir} +ln -s libblas.so.%{version} %{buildroot}/%{_libdir}/libblas.so.3 +ln -s libblas.so.%{version} %{buildroot}/%{_libdir}/libblas.so +install -m 755 liblapack.so.%{version} %{buildroot}/%{_libdir} +ln -s liblapack.so.%{version} %{buildroot}/%{_libdir}/liblapack.so.3 +ln -s liblapack.so.%{version} %{buildroot}/%{_libdir}/liblapack.so +install -d %{buildroot}%{_mandir}/man3 +install -m 0644 DOCS/man/man3/*.3 %{buildroot}%{_mandir}/man3/ find BLAS/SRC/ -name \*.f -type f -printf "%{_mandir}/man3/%f.3.gz\n" \ > blasmans find BLAS/SRC/ -name \*.f -type f -printf "%f\n" \ @@ -276,24 +262,22 @@ echo %{_mandir}/man3/slamchf77.f.3.gz >> lapackmans echo %{_mandir}/man3/dlamch.f.3.gz >> lapackmans echo %{_mandir}/man3/dlamchf77.f.3.gz >> lapackmans -ln -s SLAMC1.3.gz $RPM_BUILD_ROOT/%{_mandir}/man3/SLAMC2.3.gz -ln -s SLAMC1.3.gz $RPM_BUILD_ROOT/%{_mandir}/man3/SLAMC4.3.gz -ln -s SLAMC1.3.gz $RPM_BUILD_ROOT/%{_mandir}/man3/SLAMC5.3.gz -ln -s SLAMCH.3.gz $RPM_BUILD_ROOT/%{_mandir}/man3/SLAMC3.3.gz -ln -s DLAMC1.3.gz $RPM_BUILD_ROOT/%{_mandir}/man3/DLAMC2.3.gz -ln -s DLAMC1.3.gz $RPM_BUILD_ROOT/%{_mandir}/man3/DLAMC4.3.gz -ln -s DLAMC1.3.gz $RPM_BUILD_ROOT/%{_mandir}/man3/DLAMC5.3.gz -ln -s DLAMCH.3.gz $RPM_BUILD_ROOT/%{_mandir}/man3/DLAMC3.3.gz +ln -s SLAMC1.3.gz %{buildroot}/%{_mandir}/man3/SLAMC2.3.gz +ln -s SLAMC1.3.gz %{buildroot}/%{_mandir}/man3/SLAMC4.3.gz +ln -s SLAMC1.3.gz %{buildroot}/%{_mandir}/man3/SLAMC5.3.gz +ln -s SLAMCH.3.gz %{buildroot}/%{_mandir}/man3/SLAMC3.3.gz +ln -s DLAMC1.3.gz %{buildroot}/%{_mandir}/man3/DLAMC2.3.gz +ln -s DLAMC1.3.gz %{buildroot}/%{_mandir}/man3/DLAMC4.3.gz +ln -s DLAMC1.3.gz %{buildroot}/%{_mandir}/man3/DLAMC5.3.gz +ln -s DLAMCH.3.gz %{buildroot}/%{_mandir}/man3/DLAMC3.3.gz %post -n libblas3 -p /sbin/ldconfig - %postun -n libblas3 -p /sbin/ldconfig %post -n liblapack3 -p /sbin/ldconfig - %postun -n liblapack3 -p /sbin/ldconfig -%files +%files devel %defattr(-,root,root) %{_libdir}/liblapack.so %{_libdir}/liblapack.a @@ -301,24 +285,26 @@ %files -n liblapack3 %defattr(-,root,root) -%{_libdir}/liblapack.so.%version +%doc LICENSE README +%{_libdir}/liblapack.so.%{version} %{_libdir}/liblapack.so.3 -%files -n blas +%files -n blas-devel %defattr(-,root,root) %{_libdir}/libblas.so %{_libdir}/libblas.a %{_libdir}/libblas_pic.a %files -n libblas3 +%doc LICENSE README %defattr(-,root,root) -%{_libdir}/libblas.so.%version +%{_libdir}/libblas.so.%{version} %{_libdir}/libblas.so.3 -%files -n blas-man -f blasmans +%files man -f lapackmans %defattr(-,root,root) -%files man -f lapackmans +%files -n blas-man -f blasmans %defattr(-,root,root) %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.xZv4d0/_old 2012-03-29 07:44:03.000000000 +0200 +++ /var/tmp/diff_new_pack.xZv4d0/_new 2012-03-29 07:44:03.000000000 +0200 @@ -1,7 +1,7 @@ liblapack3 libblas3 -lapack +lapack-devel requires "liblapack3-<targettype> = <version>" -blas +blas-devel requires -lapack-<targettype> requires "libblas3-<targettype> = <version>" -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org