Browse Source

suitesparse: update to 4.4.6

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11777 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 5 years ago
parent
commit
4946e08246
1 changed files with 33 additions and 27 deletions
  1. 33 27
      s/suitesparse/suitesparse-vl.spec

+ 33 - 27
s/suitesparse/suitesparse-vl.spec

@@ -1,6 +1,6 @@
 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(ja):    疎行列ライブラリ集
 
@@ -8,7 +8,8 @@ Group:          System Environment/Libraries
 License:        LGPLv2+ and GPLv2+
 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
 Patch0:         suitesparse-math.patch
 
@@ -39,6 +40,7 @@ matrices.  The package includes the following libraries:
   SuiteSparse_config  configuration file for all the above packages.
   RBio                read/write files in Rutherford/Boeing format
 
+
 %package devel
 Summary:        Development headers for SuiteSparse
 Summary(ja):    SuiteSparse の開発用ヘッダファイル集
@@ -63,37 +65,37 @@ version of the suitesparse libraries.
 #'
 
 %prep
-%setup -q -n SuiteSparse
-%patch0 -p1 -b .math
+%setup -q
+# %patch0 -p1 -b .math
 
 %build
-%define amd_version 2.4.0
+%define amd_version 2.4.1
 %define amd_version_major 2
-%define btf_version 1.2.0
+%define btf_version 1.2.1
 %define btf_version_major 1
-%define camd_version 2.4.0
+%define camd_version 2.4.1
 %define camd_version_major 2
-%define ccolamd_version 2.9.0
+%define ccolamd_version 2.9.1
 %define ccolamd_version_major 2
-%define cholmod_version 3.0.1
+%define cholmod_version 3.0.6
 %define cholmod_version_major 3
-%define colamd_version 2.9.0
+%define colamd_version 2.9.1
 %define colamd_version_major 2
-%define csparse_version 3.1.3
+%define csparse_version 3.1.4
 %define csparse_version_major 3
-%define cxsparse_version 3.1.3
+%define cxsparse_version 3.1.4
 %define cxsparse_version_major 3
-%define klu_version 1.3.0
+%define klu_version 1.3.3
 %define klu_version_major 1
-%define ldl_version 2.2.0
+%define ldl_version 2.2.1
 %define ldl_version_major 2
-%define rbio_version 2.2.0
+%define rbio_version 2.2.1
 %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 umfpack_version 5.7.0
+%define umfpack_version 5.7.1
 %define umfpack_version_major 5
 ### 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.
@@ -134,7 +136,7 @@ pushd AMD
     cp -p ../AMD/Lib/*.a ./
   popd
   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
 
 pushd BTF
@@ -154,7 +156,7 @@ popd
 
 pushd CAMD
   pushd Lib
-    make CFLAGS="$RPM_OPT_FLAGS -fPIC" 
+    make CFLAGS="$RPM_OPT_FLAGS -fPIC"
   popd
   pushd ../Lib
     gcc -shared -Wl,-soname,libcamd.so.%{camd_version_major} -o \
@@ -170,7 +172,7 @@ popd
 
 pushd CCOLAMD
   pushd Lib
-    make CFLAGS="$RPM_OPT_FLAGS -fPIC" 
+    make CFLAGS="$RPM_OPT_FLAGS -fPIC"
   popd
   pushd ../Lib
     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} \
         libccolamd.so.%{ccolamd_version_major} \
         libsuitesparseconfig.so.%{SuiteSparse_config_major} -lm \
-	-llapack -lblas -lgfortran
+  -llapack -lblas -lgfortran
 #        -L%{_libdir}/atlas %{atlaslibs} \
     ln -sf libcholmod.so.%{cholmod_version} libcholmod.so.%{cholmod_version_major}
     ln -sf libcholmod.so.%{cholmod_version} libcholmod.so
@@ -309,7 +311,7 @@ pushd UMFPACK
         libamd.so.%{amd_version_major} \
         libcholmod.so.%{cholmod_version_major} \
         libsuitesparseconfig.so.%{SuiteSparse_config_major} -lm \
-	-llapack -lblas -lgfortran
+  -llapack -lblas -lgfortran
 #        -L%{_libdir}/atlas %{atlaslibs} \
     ln -sf libumfpack.so.%{umfpack_version} libumfpack.so.%{umfpack_version_major}
     ln -sf libumfpack.so.%{umfpack_version} libumfpack.so
@@ -330,7 +332,7 @@ pushd SPQR
         %{?with_tbb:-ltbb} \
         libcholmod.so.%{cholmod_version_major} \
         libsuitesparseconfig.so.%{SuiteSparse_config_major} -lm \
-	-llapack -lblas -lgfortran
+  -llapack -lblas -lgfortran
 #        -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
@@ -397,6 +399,10 @@ rm -rf ${RPM_BUILD_ROOT}
 
 
 %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
 - rebuild with gcc-5.4.0
 
@@ -473,5 +479,5 @@ rm -rf ${RPM_BUILD_ROOT}
 - Modify description, other modifications for import into FE.
 - 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.