Accepting request 691616 from home:mathletic:branches:science
- Update to SuiteSparse 5.4.0 - doc packages for AMD, CAMD, KLU, LDL, and Mongoose. OBS-URL: https://build.opensuse.org/request/show/691616 OBS-URL: https://build.opensuse.org/package/show/science/suitesparse?expand=0&rev=17
This commit is contained in:
parent
951b9f398e
commit
d7fe3ed756
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3c46c035ea8217649958a0f73360e825b0c9dcca4e32a9349d2c7678c0d48813
|
|
||||||
size 46053054
|
|
3
SuiteSparse-5.4.0.tar.gz
Normal file
3
SuiteSparse-5.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:374dd136696c653e34ef3212dc8ab5b61d9a67a6791d5ec4841efb838e94dbd1
|
||||||
|
size 52594099
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 2 09:24:03 UTC 2019 - Christoph G <foss@grueninger.de>
|
||||||
|
|
||||||
|
- Update to SuiteSparse 5.4.0
|
||||||
|
* GraphBLAS 2.2.2: many upgrades and new features, a few bug fixes
|
||||||
|
- Update to SuiteSparse 5.3.0
|
||||||
|
* new package: Mongoose (version 2.0.2)
|
||||||
|
- doc packages for AMD, CAMD, KLU, LDL, and Mongoose.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 20 23:23:47 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Wed Mar 20 23:23:47 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
107
suitesparse.spec
107
suitesparse.spec
@ -26,7 +26,7 @@ Name: suitesparse
|
|||||||
Summary: A collection of sparse matrix libraries
|
Summary: A collection of sparse matrix libraries
|
||||||
License: GPL-2.0+ and LGPL-2.1+
|
License: GPL-2.0+ and LGPL-2.1+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Version: 5.2.0
|
Version: 5.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://faculty.cse.tamu.edu/davis/SuiteSparse/
|
Url: http://faculty.cse.tamu.edu/davis/SuiteSparse/
|
||||||
Source: http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-%{version}.tar.gz
|
Source: http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-%{version}.tar.gz
|
||||||
@ -46,6 +46,7 @@ BuildRequires: cmake
|
|||||||
BuildRequires: gcc-fortran
|
BuildRequires: gcc-fortran
|
||||||
BuildRequires: lapack-devel
|
BuildRequires: lapack-devel
|
||||||
BuildRequires: metis-devel
|
BuildRequires: metis-devel
|
||||||
|
BuildRequires: m4
|
||||||
BuildRequires: tbb-devel
|
BuildRequires: tbb-devel
|
||||||
%if %{with openblas}
|
%if %{with openblas}
|
||||||
BuildRequires: openblas-devel
|
BuildRequires: openblas-devel
|
||||||
@ -54,19 +55,20 @@ BuildRequires: openblas-devel
|
|||||||
%define btfver 1.2.6
|
%define btfver 1.2.6
|
||||||
%define camdver 2.4.6
|
%define camdver 2.4.6
|
||||||
%define ccolamdver 2.9.6
|
%define ccolamdver 2.9.6
|
||||||
%define cholmodver 3.0.12
|
%define cholmodver 3.0.13
|
||||||
%define colamdver 2.9.6
|
%define colamdver 2.9.6
|
||||||
%define csparsever 3.2.0
|
%define csparsever 3.2.0
|
||||||
%define cxsparsever 3.2.0
|
%define cxsparsever 3.2.0
|
||||||
%define graphblasver 2.0.1
|
%define graphblasver 2.2.2
|
||||||
%define kluver 1.3.9
|
%define kluver 1.3.9
|
||||||
%define ldlver 2.2.6
|
%define ldlver 2.2.6
|
||||||
|
%define mongoosever 2.0.3
|
||||||
%define rbiover 2.2.6
|
%define rbiover 2.2.6
|
||||||
%define spqrver 2.0.8
|
%define spqrver 2.0.9
|
||||||
%define umfpackver 5.7.6
|
%define umfpackver 5.7.8
|
||||||
# Your need define even it's just the same as main package
|
# Your need define even it's just the same as main package
|
||||||
# or the %%build loop will override %%version with umfpack's version.
|
# or the %%build loop will override %%version with umfpack's version.
|
||||||
%define configver 5.2.0
|
%define configver 5.4.0
|
||||||
%define csparsemajor %(echo "%{csparsever}" | cut -d "." -f1)
|
%define csparsemajor %(echo "%{csparsever}" | cut -d "." -f1)
|
||||||
%define amdlib %(echo "libamd%{amdver}" | cut -d "." -f1)
|
%define amdlib %(echo "libamd%{amdver}" | cut -d "." -f1)
|
||||||
%define btflib %(echo "libbtf%{btfver}" | cut -d "." -f1)
|
%define btflib %(echo "libbtf%{btfver}" | cut -d "." -f1)
|
||||||
@ -79,6 +81,7 @@ BuildRequires: openblas-devel
|
|||||||
%define graphblaslib %(echo "libgraphblas%{graphblasver}" | cut -d "." -f1)
|
%define graphblaslib %(echo "libgraphblas%{graphblasver}" | cut -d "." -f1)
|
||||||
%define klulib %(echo "libklu%{kluver}" | cut -d "." -f1)
|
%define klulib %(echo "libklu%{kluver}" | cut -d "." -f1)
|
||||||
%define ldllib %(echo "libldl%{ldlver}" | cut -d "." -f1)
|
%define ldllib %(echo "libldl%{ldlver}" | cut -d "." -f1)
|
||||||
|
%define mongooselib %(echo "libmongoose%{mongoosever}" | cut -d "." -f1)
|
||||||
%define rbiolib %(echo "librbio%{rbiover}" | cut -d "." -f1)
|
%define rbiolib %(echo "librbio%{rbiover}" | cut -d "." -f1)
|
||||||
%define spqrlib %(echo "libspqr%{spqrver}" | cut -d "." -f1)
|
%define spqrlib %(echo "libspqr%{spqrver}" | cut -d "." -f1)
|
||||||
%define umfpacklib %(echo "libumfpack%{umfpackver}" | cut -d "." -f1)
|
%define umfpacklib %(echo "libumfpack%{umfpackver}" | cut -d "." -f1)
|
||||||
@ -110,6 +113,7 @@ Requires: %{cxsparselib} = %{cxsparsever}
|
|||||||
Requires: %{graphblaslib} = %{graphblasver}
|
Requires: %{graphblaslib} = %{graphblasver}
|
||||||
Requires: %{klulib} = %{kluver}
|
Requires: %{klulib} = %{kluver}
|
||||||
Requires: %{ldllib} = %{ldlver}
|
Requires: %{ldllib} = %{ldlver}
|
||||||
|
Requires: %{mongooselib} = %{mongoosever}
|
||||||
Requires: %{rbiolib} = %{rbiover}
|
Requires: %{rbiolib} = %{rbiover}
|
||||||
Requires: %{spqrlib} = %{spqrver}
|
Requires: %{spqrlib} = %{spqrver}
|
||||||
Requires: %{umfpacklib} = %{umfpackver}
|
Requires: %{umfpacklib} = %{umfpackver}
|
||||||
@ -151,6 +155,8 @@ Provides: libklu-devel = %{kluver}
|
|||||||
Obsoletes: libklu-devel < %{kluver}
|
Obsoletes: libklu-devel < %{kluver}
|
||||||
Provides: libldl-devel = %{ldlver}
|
Provides: libldl-devel = %{ldlver}
|
||||||
Obsoletes: libldl-devel < %{ldlver}
|
Obsoletes: libldl-devel < %{ldlver}
|
||||||
|
Provides: libmongoose-devel = %{mongoosever}
|
||||||
|
Obsoletes: libmongoose-devel < %{mongoosever}
|
||||||
Provides: librbio-devel = %{rbiover}
|
Provides: librbio-devel = %{rbiover}
|
||||||
Obsoletes: librbio-devel < %{rbiover}
|
Obsoletes: librbio-devel < %{rbiover}
|
||||||
Provides: libspqr-devel = %{spqrver}
|
Provides: libspqr-devel = %{spqrver}
|
||||||
@ -198,6 +204,13 @@ Note that this software has nothing to do with AMD the company.
|
|||||||
|
|
||||||
AMD is part of the SuiteSparse sparse matrix suite.
|
AMD is part of the SuiteSparse sparse matrix suite.
|
||||||
|
|
||||||
|
%package -n libamd-doc
|
||||||
|
Summary: Documentation for libamd
|
||||||
|
Group: Documentation/Other
|
||||||
|
|
||||||
|
%description -n libamd-doc
|
||||||
|
Documentation for libamd.
|
||||||
|
|
||||||
%package -n %{btflib}
|
%package -n %{btflib}
|
||||||
Version: %{btfver}
|
Version: %{btfver}
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -231,6 +244,13 @@ interface is provided.
|
|||||||
|
|
||||||
CAMD is part of the SuiteSparse sparse matrix suite.
|
CAMD is part of the SuiteSparse sparse matrix suite.
|
||||||
|
|
||||||
|
%package -n libcamd-doc
|
||||||
|
Summary: Documentation for libcamd
|
||||||
|
Group: Documentation/Other
|
||||||
|
|
||||||
|
%description -n libcamd-doc
|
||||||
|
Documentation for libcam.
|
||||||
|
|
||||||
%package -n %{ccolamdlib}
|
%package -n %{ccolamdlib}
|
||||||
Version: %{ccolamdver}
|
Version: %{ccolamdver}
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -383,6 +403,13 @@ the "fast sparse-matrix solver" mentioned in the article.
|
|||||||
|
|
||||||
KLU is part of the SuiteSparse sparse matrix suite.
|
KLU is part of the SuiteSparse sparse matrix suite.
|
||||||
|
|
||||||
|
%package -n libklu-doc
|
||||||
|
Summary: Documentation for libklu
|
||||||
|
Group: Documentation/Other
|
||||||
|
|
||||||
|
%description -n libklu-doc
|
||||||
|
Documentation for libklu.
|
||||||
|
|
||||||
%package -n %{ldllib}
|
%package -n %{ldllib}
|
||||||
Version: %{ldlver}
|
Version: %{ldlver}
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -405,6 +432,36 @@ in C, and includes a MATLAB interface.
|
|||||||
|
|
||||||
LDL is part of the SuiteSparse sparse matrix suite.
|
LDL is part of the SuiteSparse sparse matrix suite.
|
||||||
|
|
||||||
|
%package -n libldl-doc
|
||||||
|
Summary: Documentation for libldl
|
||||||
|
Group: Documentation/Other
|
||||||
|
|
||||||
|
%description -n libldl-doc
|
||||||
|
Documentation for libldl.
|
||||||
|
|
||||||
|
%package -n %{mongooselib}
|
||||||
|
Version: %{mongoosever}
|
||||||
|
Release: 0
|
||||||
|
Summary: Graph partitioning library
|
||||||
|
License: GPL-3.0-only
|
||||||
|
Group: System/Libraries
|
||||||
|
Provides: %(echo "libldl-%{mongoosever}" | tr . _) = %{version}
|
||||||
|
Obsoletes: %(echo "libldl-%{mongoosever}" | tr . _) < %{version}
|
||||||
|
|
||||||
|
%description -n %{mongooselib}
|
||||||
|
Mongoose is a graph partitioning library. Currently, Mongoose only
|
||||||
|
supports edge partitioning, but in the future a vertex separator
|
||||||
|
extension will be added.
|
||||||
|
|
||||||
|
mongoose is part of the SuiteSparse sparse matrix suite.
|
||||||
|
|
||||||
|
%package -n libmongoose-doc
|
||||||
|
Summary: Documentation for libmongoose
|
||||||
|
Group: Documentation/Other
|
||||||
|
|
||||||
|
%description -n libmongoose-doc
|
||||||
|
Documentation for libmongoose.
|
||||||
|
|
||||||
%package -n %{rbiolib}
|
%package -n %{rbiolib}
|
||||||
Version: %{rbiover}
|
Version: %{rbiover}
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -479,7 +536,8 @@ Obsoletes: %(echo "libsuitesparseconfig%{configver}" | tr . _) < %{version}
|
|||||||
SuiteSparse_config is required by a number of sparse matrix packages,
|
SuiteSparse_config is required by a number of sparse matrix packages,
|
||||||
including SuiteSparseQR, AMD, COLAMD, CCOLAMD, CHOLMOD, KLU, BTF,
|
including SuiteSparseQR, AMD, COLAMD, CCOLAMD, CHOLMOD, KLU, BTF,
|
||||||
LDL, CXSparse, RBio, and UMFPACK. It is not required by CSparse,
|
LDL, CXSparse, RBio, and UMFPACK. It is not required by CSparse,
|
||||||
which is a stand-alone package.
|
which is a stand-alone packages. Mongoose uses SuiteSparse_config,
|
||||||
|
if available but works also without it.
|
||||||
|
|
||||||
SuiteSparse_config contains a configuration file for "make"
|
SuiteSparse_config contains a configuration file for "make"
|
||||||
(SuiteSparse_config.mk) and an include file (SuiteSparse_config.h).
|
(SuiteSparse_config.mk) and an include file (SuiteSparse_config.h).
|
||||||
@ -532,6 +590,8 @@ make MY_METIS_LIB="-lmetis" LAPACK="-llapack" BLAS="$blas_lib" TBB="-ltbb" CFLAG
|
|||||||
chrpath -d lib/*.so.*.*
|
chrpath -d lib/*.so.*.*
|
||||||
chrpath -d GraphBLAS/build/*.so
|
chrpath -d GraphBLAS/build/*.so
|
||||||
chrpath -d GraphBLAS/build/*.so.*.*
|
chrpath -d GraphBLAS/build/*.so.*.*
|
||||||
|
chrpath -d Mongoose/build/lib/*.so
|
||||||
|
chrpath -d Mongoose/build/lib/*.so.*.*
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_includedir}/%{name}
|
mkdir -p %{buildroot}%{_includedir}/%{name}
|
||||||
@ -542,6 +602,8 @@ cp -Pt %{buildroot}%{_libdir} */Lib/*.a
|
|||||||
cp -Pt %{buildroot}%{_libdir} lib/*
|
cp -Pt %{buildroot}%{_libdir} lib/*
|
||||||
cp -Pt %{buildroot}%{_libdir} GraphBLAS/build/*.so
|
cp -Pt %{buildroot}%{_libdir} GraphBLAS/build/*.so
|
||||||
cp -Pt %{buildroot}%{_libdir} GraphBLAS/build/*.so.*
|
cp -Pt %{buildroot}%{_libdir} GraphBLAS/build/*.so.*
|
||||||
|
cp -Pt %{buildroot}%{_libdir} Mongoose/build/lib/*.so
|
||||||
|
cp -Pt %{buildroot}%{_libdir} Mongoose/build/lib/*.so.*
|
||||||
cp -Pt %{buildroot}%{_includedir}/%{name} include/*
|
cp -Pt %{buildroot}%{_includedir}/%{name} include/*
|
||||||
cp -Pt %{buildroot}%{_includedir}/%{name} GraphBLAS/Include/*.h
|
cp -Pt %{buildroot}%{_includedir}/%{name} GraphBLAS/Include/*.h
|
||||||
cp -Prt %{buildroot}%{_docdir} share/doc/*
|
cp -Prt %{buildroot}%{_docdir} share/doc/*
|
||||||
@ -620,6 +682,9 @@ popd
|
|||||||
%post -n %{ldllib} -p /sbin/ldconfig
|
%post -n %{ldllib} -p /sbin/ldconfig
|
||||||
%postun -n %{ldllib} -p /sbin/ldconfig
|
%postun -n %{ldllib} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n %{mongooselib} -p /sbin/ldconfig
|
||||||
|
%postun -n %{mongooselib} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n %{rbiolib} -p /sbin/ldconfig
|
%post -n %{rbiolib} -p /sbin/ldconfig
|
||||||
%postun -n %{rbiolib} -p /sbin/ldconfig
|
%postun -n %{rbiolib} -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -647,10 +712,13 @@ popd
|
|||||||
|
|
||||||
%files -n %{amdlib}
|
%files -n %{amdlib}
|
||||||
%doc AMD/README.txt
|
%doc AMD/README.txt
|
||||||
%doc AMD/Doc/AMD_UserGuide.pdf AMD/Doc/ChangeLog
|
%doc AMD/Doc/ChangeLog
|
||||||
%license AMD/Doc/License.txt AMD/Doc/lesser.txt
|
%license AMD/Doc/License.txt AMD/Doc/lesser.txt
|
||||||
%{_libdir}/libamd.so.*
|
%{_libdir}/libamd.so.*
|
||||||
|
|
||||||
|
%files -n libamd-doc
|
||||||
|
%doc AMD/Doc/AMD_UserGuide.pdf
|
||||||
|
|
||||||
%files -n %{btflib}
|
%files -n %{btflib}
|
||||||
%doc BTF/README.txt
|
%doc BTF/README.txt
|
||||||
%doc BTF/Doc/ChangeLog
|
%doc BTF/Doc/ChangeLog
|
||||||
@ -659,10 +727,13 @@ popd
|
|||||||
|
|
||||||
%files -n %{camdlib}
|
%files -n %{camdlib}
|
||||||
%doc CAMD/README.txt
|
%doc CAMD/README.txt
|
||||||
%doc CAMD/Doc/CAMD_UserGuide.pdf CAMD/Doc/ChangeLog
|
%doc CAMD/Doc/ChangeLog
|
||||||
%license CAMD/Doc/License.txt CAMD/Doc/lesser.txt
|
%license CAMD/Doc/License.txt CAMD/Doc/lesser.txt
|
||||||
%{_libdir}/libcamd.so.*
|
%{_libdir}/libcamd.so.*
|
||||||
|
|
||||||
|
%files -n libcamd-doc
|
||||||
|
%doc CAMD/Doc/CAMD_UserGuide.pdf
|
||||||
|
|
||||||
%files -n %{ccolamdlib}
|
%files -n %{ccolamdlib}
|
||||||
%doc CCOLAMD/README.txt
|
%doc CCOLAMD/README.txt
|
||||||
%doc CCOLAMD/Doc/ChangeLog
|
%doc CCOLAMD/Doc/ChangeLog
|
||||||
@ -703,16 +774,30 @@ popd
|
|||||||
|
|
||||||
%files -n %{klulib}
|
%files -n %{klulib}
|
||||||
%doc KLU/README.txt
|
%doc KLU/README.txt
|
||||||
%doc KLU/Doc/KLU_UserGuide.pdf KLU/Doc/ChangeLog
|
%doc KLU/Doc/ChangeLog
|
||||||
%license KLU/Doc/License.txt KLU/Doc/lesser.txt
|
%license KLU/Doc/License.txt KLU/Doc/lesser.txt
|
||||||
%{_libdir}/libklu.so.*
|
%{_libdir}/libklu.so.*
|
||||||
|
|
||||||
|
%files -n libldl-doc
|
||||||
|
%doc KLU/Doc/KLU_UserGuide.pdf
|
||||||
|
|
||||||
%files -n %{ldllib}
|
%files -n %{ldllib}
|
||||||
%doc LDL/README.txt
|
%doc LDL/README.txt
|
||||||
%doc LDL/Doc/ldl_userguide.pdf LDL/Doc/ChangeLog
|
%doc LDL/Doc/ChangeLog
|
||||||
%license LDL/Doc/License.txt LDL/Doc/lesser.txt
|
%license LDL/Doc/License.txt LDL/Doc/lesser.txt
|
||||||
%{_libdir}/libldl.so.*
|
%{_libdir}/libldl.so.*
|
||||||
|
|
||||||
|
%files -n libldl-doc
|
||||||
|
%doc LDL/Doc/ldl_userguide.pdf
|
||||||
|
|
||||||
|
%files -n %{mongooselib}
|
||||||
|
%doc Mongoose/README.md
|
||||||
|
%license Mongoose/Doc/License.txt
|
||||||
|
%{_libdir}/libmongoose.so.*
|
||||||
|
|
||||||
|
%files -n libmongoose-doc
|
||||||
|
%doc Mongoose/Doc/Mongoose_UserGuide.pdf
|
||||||
|
|
||||||
%files -n %{rbiolib}
|
%files -n %{rbiolib}
|
||||||
%doc RBio/README.txt
|
%doc RBio/README.txt
|
||||||
%doc RBio/Doc/ChangeLog
|
%doc RBio/Doc/ChangeLog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user