diff --git a/lapack.changes b/lapack.changes index 3c1d3af..afaa053 100644 --- a/lapack.changes +++ b/lapack.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Feb 13 10:48:17 UTC 2012 - coolo@suse.com + +- patch license to follow spdx.org standard + +------------------------------------------------------------------- +Wed Nov 23 14:04:54 UTC 2011 - jengelh@medozas.de + +- Remove redundant/unwanted tags/section (cf. specfile guidelines) +- Use %_smp_mflags for parallel building + ------------------------------------------------------------------- Wed Nov 16 21:03:58 UTC 2011 - burnus@net-b.de diff --git a/lapack.spec b/lapack.spec index 39dc667..614484d 100644 --- a/lapack.spec +++ b/lapack.spec @@ -1,7 +1,7 @@ # # spec file for package lapack # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,16 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: lapack -BuildRequires: doxygen gcc-fortran python +BuildRequires: doxygen +BuildRequires: gcc-fortran +BuildRequires: python Summary: Linear Algebra Package -Version: 3.4.0 -Release: 3 -License: Public Domain, Freeware +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 @@ -51,7 +51,6 @@ Authors: Jack Dongarra %package -n blas -License: Public Domain, Freeware Summary: Basic Linear Algebra Subprograms Group: Productivity/Scientific/Math Requires: libblas3 >= %{version} @@ -70,7 +69,6 @@ Authors: UTK %package -n blas-man -License: Public Domain, Freeware Summary: Documentation for BLAS (Basic Linear Algebra Subprograms) Group: Productivity/Scientific/Math Provides: blasman = %{version}-%{release} @@ -90,7 +88,6 @@ Authors: UTK %package man -License: Public Domain, Freeware Summary: Manpages for LAPACK Group: Development/Libraries/Parallel Provides: lapack-manpages = %{version}-%{release} @@ -109,7 +106,6 @@ Authors: Lapack team %package -n liblapack3 -License: Public Domain, Freeware Summary: LAPACK Shared Library Group: Development/Libraries/Parallel @@ -131,7 +127,6 @@ Authors: Jack Dongarra %package -n libblas3 -License: Public Domain, Freeware Summary: BLAS Shared Library Group: Productivity/Scientific/Math @@ -158,7 +153,7 @@ esac export PRECFLAGS cp make.inc.example make.inc make cleanlib -make %{?jobs:-j%jobs} blaslib \ +make %{?_smp_mflags} blaslib \ OPTS="$RPM_OPT_FLAGS -fPIC" \ NOOPT="$RPM_OPT_FLAGS -O0 -fPIC" mv librefblas.a libblas_pic.a @@ -168,7 +163,7 @@ 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 %{?jobs:-j%jobs} blaslib \ +make %{?_smp_mflags} blaslib \ OPTS="$RPM_OPT_FLAGS" \ NOOPT="$RPM_OPT_FLAGS -O0" make blas_testing \ @@ -184,7 +179,7 @@ else fi mv librefblas.a libblas.a make cleanlib -make %{?jobs:-j%jobs} lapacklib \ +make %{?_smp_mflags} lapacklib \ OPTS="$RPM_OPT_FLAGS -fPIC" \ NOOPT="$RPM_OPT_FLAGS -O0 -fPIC" mv liblapack.a liblapack_pic.a @@ -194,7 +189,7 @@ gfortran -shared -Wl,-soname=liblapack.so.3 -o liblapack.so.%version tmp/*.o -L. ln -s liblapack.so.%version liblapack.so rm -rf tmp make cleanlib -make %{?jobs:-j%jobs} lapacklib \ +make %{?_smp_mflags} lapacklib \ OPTS="$RPM_OPT_FLAGS" \ NOOPT="$RPM_OPT_FLAGS -O0" ln -s libblas.a librefblas.a @@ -298,9 +293,6 @@ ln -s DLAMCH.3.gz $RPM_BUILD_ROOT/%{_mandir}/man3/DLAMC3.3.gz %postun -n liblapack3 -p /sbin/ldconfig -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root) %{_libdir}/liblapack.so