|
@@ -1,6 +1,6 @@
|
|
Name: suitesparse
|
|
Name: suitesparse
|
|
-Version: 4.3.1
|
|
|
|
-Release: 3%{?_dist_release}
|
|
|
|
|
|
+Version: 4.4.6
|
|
|
|
+Release: 1%{?_dist_release}
|
|
Summary: A collection of sparse matrix libraries
|
|
Summary: A collection of sparse matrix libraries
|
|
Summary(ja): 疎行列ライブラリ集
|
|
Summary(ja): 疎行列ライブラリ集
|
|
|
|
|
|
@@ -8,7 +8,8 @@ Group: System Environment/Libraries
|
|
License: LGPLv2+ and GPLv2+
|
|
License: LGPLv2+ and GPLv2+
|
|
URL: http://www.cise.ufl.edu/research/sparse/SuiteSparse
|
|
URL: http://www.cise.ufl.edu/research/sparse/SuiteSparse
|
|
|
|
|
|
-Source0: http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-%{version}.tar.gz
|
|
|
|
|
|
+Source0: https://github.com/jluttine/suitesparse/archive/v%{version}.tar.gz
|
|
|
|
+# Source0: http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-%{version}.tar.gz
|
|
# Move #include <math.h> out of StuiteSparse_config.h and into SuiteSparse_config.c
|
|
# Move #include <math.h> out of StuiteSparse_config.h and into SuiteSparse_config.c
|
|
Patch0: suitesparse-math.patch
|
|
Patch0: suitesparse-math.patch
|
|
|
|
|
|
@@ -39,6 +40,7 @@ matrices. The package includes the following libraries:
|
|
SuiteSparse_config configuration file for all the above packages.
|
|
SuiteSparse_config configuration file for all the above packages.
|
|
RBio read/write files in Rutherford/Boeing format
|
|
RBio read/write files in Rutherford/Boeing format
|
|
|
|
|
|
|
|
+
|
|
%package devel
|
|
%package devel
|
|
Summary: Development headers for SuiteSparse
|
|
Summary: Development headers for SuiteSparse
|
|
Summary(ja): SuiteSparse の開発用ヘッダファイル集
|
|
Summary(ja): SuiteSparse の開発用ヘッダファイル集
|
|
@@ -63,37 +65,37 @@ version of the suitesparse libraries.
|
|
#'
|
|
#'
|
|
|
|
|
|
%prep
|
|
%prep
|
|
-%setup -q -n SuiteSparse
|
|
|
|
-%patch0 -p1 -b .math
|
|
|
|
|
|
+%setup -q
|
|
|
|
+# %patch0 -p1 -b .math
|
|
|
|
|
|
%build
|
|
%build
|
|
-%define amd_version 2.4.0
|
|
|
|
|
|
+%define amd_version 2.4.1
|
|
%define amd_version_major 2
|
|
%define amd_version_major 2
|
|
-%define btf_version 1.2.0
|
|
|
|
|
|
+%define btf_version 1.2.1
|
|
%define btf_version_major 1
|
|
%define btf_version_major 1
|
|
-%define camd_version 2.4.0
|
|
|
|
|
|
+%define camd_version 2.4.1
|
|
%define camd_version_major 2
|
|
%define camd_version_major 2
|
|
-%define ccolamd_version 2.9.0
|
|
|
|
|
|
+%define ccolamd_version 2.9.1
|
|
%define ccolamd_version_major 2
|
|
%define ccolamd_version_major 2
|
|
-%define cholmod_version 3.0.1
|
|
|
|
|
|
+%define cholmod_version 3.0.6
|
|
%define cholmod_version_major 3
|
|
%define cholmod_version_major 3
|
|
-%define colamd_version 2.9.0
|
|
|
|
|
|
+%define colamd_version 2.9.1
|
|
%define colamd_version_major 2
|
|
%define colamd_version_major 2
|
|
-%define csparse_version 3.1.3
|
|
|
|
|
|
+%define csparse_version 3.1.4
|
|
%define csparse_version_major 3
|
|
%define csparse_version_major 3
|
|
-%define cxsparse_version 3.1.3
|
|
|
|
|
|
+%define cxsparse_version 3.1.4
|
|
%define cxsparse_version_major 3
|
|
%define cxsparse_version_major 3
|
|
-%define klu_version 1.3.0
|
|
|
|
|
|
+%define klu_version 1.3.3
|
|
%define klu_version_major 1
|
|
%define klu_version_major 1
|
|
-%define ldl_version 2.2.0
|
|
|
|
|
|
+%define ldl_version 2.2.1
|
|
%define ldl_version_major 2
|
|
%define ldl_version_major 2
|
|
-%define rbio_version 2.2.0
|
|
|
|
|
|
+%define rbio_version 2.2.1
|
|
%define rbio_version_major 2
|
|
%define rbio_version_major 2
|
|
-%define spqr_version 1.3.3
|
|
|
|
-%define spqr_version_major 1
|
|
|
|
-%define SuiteSparse_config_ver 4.3.1
|
|
|
|
|
|
+%define spqr_version 2.0.2
|
|
|
|
+%define spqr_version_major 2
|
|
|
|
+%define SuiteSparse_config_ver 4.4.6
|
|
%define SuiteSparse_config_major 4
|
|
%define SuiteSparse_config_major 4
|
|
-%define umfpack_version 5.7.0
|
|
|
|
|
|
+%define umfpack_version 5.7.1
|
|
%define umfpack_version_major 5
|
|
%define umfpack_version_major 5
|
|
### CHOLMOD can also be compiled to use the METIS library, but it is not
|
|
### CHOLMOD can also be compiled to use the METIS library, but it is not
|
|
### used here because its licensing terms exclude it from Fedora Extras.
|
|
### used here because its licensing terms exclude it from Fedora Extras.
|
|
@@ -134,7 +136,7 @@ pushd AMD
|
|
cp -p ../AMD/Lib/*.a ./
|
|
cp -p ../AMD/Lib/*.a ./
|
|
popd
|
|
popd
|
|
cp -p Include/*.h ../Include
|
|
cp -p Include/*.h ../Include
|
|
- cp -p README.txt Doc/License Doc/ChangeLog Doc/*.pdf ../Doc/AMD
|
|
|
|
|
|
+ cp -p README.txt Doc/License.txt Doc/ChangeLog Doc/*.pdf ../Doc/AMD
|
|
popd
|
|
popd
|
|
|
|
|
|
pushd BTF
|
|
pushd BTF
|
|
@@ -154,7 +156,7 @@ popd
|
|
|
|
|
|
pushd CAMD
|
|
pushd CAMD
|
|
pushd Lib
|
|
pushd Lib
|
|
- make CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
|
|
|
|
+ make CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
popd
|
|
popd
|
|
pushd ../Lib
|
|
pushd ../Lib
|
|
gcc -shared -Wl,-soname,libcamd.so.%{camd_version_major} -o \
|
|
gcc -shared -Wl,-soname,libcamd.so.%{camd_version_major} -o \
|
|
@@ -170,7 +172,7 @@ popd
|
|
|
|
|
|
pushd CCOLAMD
|
|
pushd CCOLAMD
|
|
pushd Lib
|
|
pushd Lib
|
|
- make CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
|
|
|
|
+ make CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
popd
|
|
popd
|
|
pushd ../Lib
|
|
pushd ../Lib
|
|
gcc -shared -Wl,-soname,libccolamd.so.%{ccolamd_version_major} -o \
|
|
gcc -shared -Wl,-soname,libccolamd.so.%{ccolamd_version_major} -o \
|
|
@@ -216,7 +218,7 @@ pushd CHOLMOD
|
|
libcamd.so.%{camd_version_major} libcolamd.so.%{colamd_version_major} \
|
|
libcamd.so.%{camd_version_major} libcolamd.so.%{colamd_version_major} \
|
|
libccolamd.so.%{ccolamd_version_major} \
|
|
libccolamd.so.%{ccolamd_version_major} \
|
|
libsuitesparseconfig.so.%{SuiteSparse_config_major} -lm \
|
|
libsuitesparseconfig.so.%{SuiteSparse_config_major} -lm \
|
|
- -llapack -lblas -lgfortran
|
|
|
|
|
|
+ -llapack -lblas -lgfortran
|
|
# -L%{_libdir}/atlas %{atlaslibs} \
|
|
# -L%{_libdir}/atlas %{atlaslibs} \
|
|
ln -sf libcholmod.so.%{cholmod_version} libcholmod.so.%{cholmod_version_major}
|
|
ln -sf libcholmod.so.%{cholmod_version} libcholmod.so.%{cholmod_version_major}
|
|
ln -sf libcholmod.so.%{cholmod_version} libcholmod.so
|
|
ln -sf libcholmod.so.%{cholmod_version} libcholmod.so
|
|
@@ -309,7 +311,7 @@ pushd UMFPACK
|
|
libamd.so.%{amd_version_major} \
|
|
libamd.so.%{amd_version_major} \
|
|
libcholmod.so.%{cholmod_version_major} \
|
|
libcholmod.so.%{cholmod_version_major} \
|
|
libsuitesparseconfig.so.%{SuiteSparse_config_major} -lm \
|
|
libsuitesparseconfig.so.%{SuiteSparse_config_major} -lm \
|
|
- -llapack -lblas -lgfortran
|
|
|
|
|
|
+ -llapack -lblas -lgfortran
|
|
# -L%{_libdir}/atlas %{atlaslibs} \
|
|
# -L%{_libdir}/atlas %{atlaslibs} \
|
|
ln -sf libumfpack.so.%{umfpack_version} libumfpack.so.%{umfpack_version_major}
|
|
ln -sf libumfpack.so.%{umfpack_version} libumfpack.so.%{umfpack_version_major}
|
|
ln -sf libumfpack.so.%{umfpack_version} libumfpack.so
|
|
ln -sf libumfpack.so.%{umfpack_version} libumfpack.so
|
|
@@ -330,7 +332,7 @@ pushd SPQR
|
|
%{?with_tbb:-ltbb} \
|
|
%{?with_tbb:-ltbb} \
|
|
libcholmod.so.%{cholmod_version_major} \
|
|
libcholmod.so.%{cholmod_version_major} \
|
|
libsuitesparseconfig.so.%{SuiteSparse_config_major} -lm \
|
|
libsuitesparseconfig.so.%{SuiteSparse_config_major} -lm \
|
|
- -llapack -lblas -lgfortran
|
|
|
|
|
|
+ -llapack -lblas -lgfortran
|
|
# -L%{_libdir}/atlas -L%{_libdir} %{atlaslibs} \
|
|
# -L%{_libdir}/atlas -L%{_libdir} %{atlaslibs} \
|
|
ln -sf libspqr.so.%{spqr_version} libspqr.so.%{spqr_version_major}
|
|
ln -sf libspqr.so.%{spqr_version} libspqr.so.%{spqr_version_major}
|
|
ln -sf libspqr.so.%{spqr_version} libspqr.so
|
|
ln -sf libspqr.so.%{spqr_version} libspqr.so
|
|
@@ -397,6 +399,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Aug 22 2018 Toshiaki Ara <ara_t@384.jp> 4.4.6-1
|
|
|
|
+- update to 4.4.6
|
|
|
|
+- drop Patch0
|
|
|
|
+
|
|
* Mon Jul 18 2016 Toshiaki Ara <ara_t@384.jp> 4.3.1-3
|
|
* Mon Jul 18 2016 Toshiaki Ara <ara_t@384.jp> 4.3.1-3
|
|
- rebuild with gcc-5.4.0
|
|
- rebuild with gcc-5.4.0
|
|
|
|
|
|
@@ -473,5 +479,5 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
- Modify description, other modifications for import into FE.
|
|
- Modify description, other modifications for import into FE.
|
|
- Add dist tag, cosmetic changes.
|
|
- Add dist tag, cosmetic changes.
|
|
|
|
|
|
-* Tue Sep 08 2005 David Bateman <dbateman@free.fr> 0.9-1
|
|
|
|
|
|
+* Thu Sep 08 2005 David Bateman <dbateman@free.fr> 0.9-1
|
|
- First version.
|
|
- First version.
|