Accepting request 104669 from devel:libraries:c_c++
patch license to follow spdx.org standard (forwarded request 104371 from coolo) OBS-URL: https://build.opensuse.org/request/show/104669 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lapack?expand=0&rev=22
This commit is contained in:
parent
6c1534cbd6
commit
f8565bd68c
@ -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
|
Wed Nov 16 21:03:58 UTC 2011 - burnus@net-b.de
|
||||||
|
|
||||||
|
30
lapack.spec
30
lapack.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lapack
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,16 +15,16 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: lapack
|
Name: lapack
|
||||||
BuildRequires: doxygen gcc-fortran python
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: gcc-fortran
|
||||||
|
BuildRequires: python
|
||||||
Summary: Linear Algebra Package
|
Summary: Linear Algebra Package
|
||||||
Version: 3.4.0
|
License: SUSE-Public-Domain
|
||||||
Release: 3
|
|
||||||
License: Public Domain, Freeware
|
|
||||||
Group: Development/Libraries/Parallel
|
Group: Development/Libraries/Parallel
|
||||||
|
Version: 3.4.0
|
||||||
|
Release: 0
|
||||||
Source0: lapack-%{version}.tar.bz2
|
Source0: lapack-%{version}.tar.bz2
|
||||||
Source99: lapack-rpmlintrc
|
Source99: lapack-rpmlintrc
|
||||||
Patch1: lapack-3.2.2.patch
|
Patch1: lapack-3.2.2.patch
|
||||||
@ -51,7 +51,6 @@ Authors:
|
|||||||
Jack Dongarra <lapack@cs.utk.edu>
|
Jack Dongarra <lapack@cs.utk.edu>
|
||||||
|
|
||||||
%package -n blas
|
%package -n blas
|
||||||
License: Public Domain, Freeware
|
|
||||||
Summary: Basic Linear Algebra Subprograms
|
Summary: Basic Linear Algebra Subprograms
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
Requires: libblas3 >= %{version}
|
Requires: libblas3 >= %{version}
|
||||||
@ -70,7 +69,6 @@ Authors:
|
|||||||
UTK <lapack@cs.utk.edu>
|
UTK <lapack@cs.utk.edu>
|
||||||
|
|
||||||
%package -n blas-man
|
%package -n blas-man
|
||||||
License: Public Domain, Freeware
|
|
||||||
Summary: Documentation for BLAS (Basic Linear Algebra Subprograms)
|
Summary: Documentation for BLAS (Basic Linear Algebra Subprograms)
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
Provides: blasman = %{version}-%{release}
|
Provides: blasman = %{version}-%{release}
|
||||||
@ -90,7 +88,6 @@ Authors:
|
|||||||
UTK <lapack@cs.utk.edu>
|
UTK <lapack@cs.utk.edu>
|
||||||
|
|
||||||
%package man
|
%package man
|
||||||
License: Public Domain, Freeware
|
|
||||||
Summary: Manpages for LAPACK
|
Summary: Manpages for LAPACK
|
||||||
Group: Development/Libraries/Parallel
|
Group: Development/Libraries/Parallel
|
||||||
Provides: lapack-manpages = %{version}-%{release}
|
Provides: lapack-manpages = %{version}-%{release}
|
||||||
@ -109,7 +106,6 @@ Authors:
|
|||||||
Lapack team<lapack@cs.utk.edu>
|
Lapack team<lapack@cs.utk.edu>
|
||||||
|
|
||||||
%package -n liblapack3
|
%package -n liblapack3
|
||||||
License: Public Domain, Freeware
|
|
||||||
Summary: LAPACK Shared Library
|
Summary: LAPACK Shared Library
|
||||||
Group: Development/Libraries/Parallel
|
Group: Development/Libraries/Parallel
|
||||||
|
|
||||||
@ -131,7 +127,6 @@ Authors:
|
|||||||
Jack Dongarra <lapack@cs.utk.edu>
|
Jack Dongarra <lapack@cs.utk.edu>
|
||||||
|
|
||||||
%package -n libblas3
|
%package -n libblas3
|
||||||
License: Public Domain, Freeware
|
|
||||||
Summary: BLAS Shared Library
|
Summary: BLAS Shared Library
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
|
|
||||||
@ -158,7 +153,7 @@ esac
|
|||||||
export PRECFLAGS
|
export PRECFLAGS
|
||||||
cp make.inc.example make.inc
|
cp make.inc.example make.inc
|
||||||
make cleanlib
|
make cleanlib
|
||||||
make %{?jobs:-j%jobs} blaslib \
|
make %{?_smp_mflags} blaslib \
|
||||||
OPTS="$RPM_OPT_FLAGS -fPIC" \
|
OPTS="$RPM_OPT_FLAGS -fPIC" \
|
||||||
NOOPT="$RPM_OPT_FLAGS -O0 -fPIC"
|
NOOPT="$RPM_OPT_FLAGS -O0 -fPIC"
|
||||||
mv librefblas.a libblas_pic.a
|
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
|
ln -s libblas.so.%version libblas.so
|
||||||
rm -rf tmp
|
rm -rf tmp
|
||||||
make cleanlib
|
make cleanlib
|
||||||
make %{?jobs:-j%jobs} blaslib \
|
make %{?_smp_mflags} blaslib \
|
||||||
OPTS="$RPM_OPT_FLAGS" \
|
OPTS="$RPM_OPT_FLAGS" \
|
||||||
NOOPT="$RPM_OPT_FLAGS -O0"
|
NOOPT="$RPM_OPT_FLAGS -O0"
|
||||||
make blas_testing \
|
make blas_testing \
|
||||||
@ -184,7 +179,7 @@ else
|
|||||||
fi
|
fi
|
||||||
mv librefblas.a libblas.a
|
mv librefblas.a libblas.a
|
||||||
make cleanlib
|
make cleanlib
|
||||||
make %{?jobs:-j%jobs} lapacklib \
|
make %{?_smp_mflags} lapacklib \
|
||||||
OPTS="$RPM_OPT_FLAGS -fPIC" \
|
OPTS="$RPM_OPT_FLAGS -fPIC" \
|
||||||
NOOPT="$RPM_OPT_FLAGS -O0 -fPIC"
|
NOOPT="$RPM_OPT_FLAGS -O0 -fPIC"
|
||||||
mv liblapack.a liblapack_pic.a
|
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
|
ln -s liblapack.so.%version liblapack.so
|
||||||
rm -rf tmp
|
rm -rf tmp
|
||||||
make cleanlib
|
make cleanlib
|
||||||
make %{?jobs:-j%jobs} lapacklib \
|
make %{?_smp_mflags} lapacklib \
|
||||||
OPTS="$RPM_OPT_FLAGS" \
|
OPTS="$RPM_OPT_FLAGS" \
|
||||||
NOOPT="$RPM_OPT_FLAGS -O0"
|
NOOPT="$RPM_OPT_FLAGS -O0"
|
||||||
ln -s libblas.a librefblas.a
|
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
|
%postun -n liblapack3 -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/liblapack.so
|
%{_libdir}/liblapack.so
|
||||||
|
Loading…
Reference in New Issue
Block a user