Update to 4.0.2

This commit is contained in:
Deji Akingunola 2012-11-17 07:20:51 -05:00
parent 8d579fee16
commit 317fc1c058
2 changed files with 47 additions and 47 deletions

View File

@ -1 +1 @@
88a44890e8f61cdbb844a76b7259d876 SuiteSparse-3.6.1.tar.gz
efe53b7ef2b529d54727815231a5a6a9 SuiteSparse-4.0.2.tar.gz

View File

@ -1,13 +1,12 @@
Name: suitesparse
Version: 3.6.1
Release: 3%{?dist}
Version: 4.0.2
Release: 1%{?dist}
Summary: A collection of sparse matrix libraries
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
Patch0: suitesparse-fedora-build-config.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: atlas-devel
@ -22,21 +21,21 @@ Provides: ufsparse = %{version}-%{release}
%description
suitesparse is a collection of libraries for computations involving sparse
matrices. The package includes the following libraries:
AMD approximate minimum degree ordering
BTF permutation to block triangular form (beta)
CAMD constrained approximate minimum degree ordering
COLAMD column approximate minimum degree ordering
CCOLAMD constrained column approximate minimum degree ordering
CHOLMOD sparse Cholesky factorization
CSparse a concise sparse matrix package
CXSparse CSparse extended: complex matrix, int and long int support
KLU sparse LU factorization, primarily for circuit simulation
LDL a simple LDL' factorization
SQPR a multithread, multifrontal, rank-revealing sparse QR
factorization method
UMFPACK sparse LU factorization
UFconfig configuration file for all the above packages.
RBio read/write files in Rutherford/Boeing format
AMD approximate minimum degree ordering
BTF permutation to block triangular form (beta)
CAMD constrained approximate minimum degree ordering
COLAMD column approximate minimum degree ordering
CCOLAMD constrained column approximate minimum degree ordering
CHOLMOD sparse Cholesky factorization
CSparse a concise sparse matrix package
CXSparse CSparse extended: complex matrix, int and long int support
KLU sparse LU factorization, primarily for circuit simulation
LDL a simple LDL factorization
SQPR a multithread, multifrontal, rank-revealing sparse QR
factorization method
UMFPACK sparse LU factorization
SuiteSparse_config configuration file for all the above packages.
RBio read/write files in Rutherford/Boeing format
%package devel
@ -75,37 +74,36 @@ This package contains documentation files for %{name}.
%prep
%setup -q -n SuiteSparse
%patch0 -p0 -b .build
%build
%define amd_version 2.2.2
%define amd_version 2.3.1
%define amd_version_major 2
%define btf_version 1.1.2
%define btf_version 1.2.0
%define btf_version_major 1
%define camd_version 2.2.2
%define camd_version 2.3.1
%define camd_version_major 2
%define ccolamd_version 2.7.3
%define ccolamd_version 2.8.0
%define ccolamd_version_major 2
%define cholmod_version 1.7.3
%define cholmod_version_major 1
%define colamd_version 2.7.3
%define cholmod_version 2.0.1
%define cholmod_version_major 2
%define colamd_version 2.8.0
%define colamd_version_major 2
%define csparse_version 2.2.3
%define csparse_version_major 2
%define cxsparse_version 2.2.3
%define cxsparse_version_major 2
%define klu_version 1.1.3
%define csparse_version 3.1.1
%define csparse_version_major 3
%define cxsparse_version 3.1.1
%define cxsparse_version_major 3
%define klu_version 1.2.1
%define klu_version_major 1
%define ldl_version 2.0.3
%define ldl_version 2.1.0
%define ldl_version_major 2
%define umfpack_version 5.5.1
%define umfpack_version 5.6.1
%define umfpack_version_major 5
%define spqr_version 1.2.1
%define spqr_version 1.3.1
%define spqr_version_major 1
%define rbio_version 2.0.1
%define rbio_version 2.1.1
%define rbio_version_major 2
%define ufconfig_version 3.6.0
%define ufconfig_version_major 3
%define SuiteSparse_config_ver 4.2.0
%define SuiteSparse_config_major 4
### 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.
### To compile with METIS, define enable_metis as 1 below.
@ -323,15 +321,15 @@ pushd SPQR
cp -p README_SPQR.txt Doc/* ../Doc/SPQR
popd
pushd UFconfig
pushd SuiteSparse_config
make CFLAGS="$RPM_OPT_FLAGS -fPIC"
gcc $RPM_OPT_FLAGS -fPIC -c UFconfig.c
ar x libsuitesparseconfig.a
pushd ../Lib
gcc -shared -Wl,-soname,libufconfig.so.%{ufconfig_version_major} -o \
libufconfig.so.%{ufconfig_version} ../UFconfig/*.o
ln -sf libufconfig.so.%{ufconfig_version} libufconfig.so.%{ufconfig_version_major}
ln -sf libufconfig.so.%{ufconfig_version} libufconfig.so
cp -p ../UFconfig/*.a ./
gcc -shared -Wl,-soname,libsuitesparseconfig.so.%{SuiteSparse_config_ver_major} -o \
libsuitesparseconfig.so.%{SuiteSparse_config_ver} ../SuiteSparse_config/*.o
ln -sf libsuitesparseconfig.so.%{SuiteSparse_config_ver} libsuitesparseconfig.so.%{SuiteSparse_config_major}
ln -sf libsuitesparseconfig.so.%{SuiteSparse_config_ver} libsuitesparseconfig.so
cp -p ../SuiteSparse_config/*.a ./
popd
cp -p *.h ../Include
popd
@ -342,8 +340,7 @@ pushd RBio
popd
pushd ../Lib
gcc -shared -Wl,-soname,librbio.so.%{rbio_version_major} -o \
librbio.so.%{rbio_version} ../RBio/Lib/*.o \
libufconfig.so.%{ufconfig_version_major}
librbio.so.%{rbio_version} ../RBio/Lib/*.o
ln -sf librbio.so.%{rbio_version} librbio.so.%{rbio_version_major}
ln -sf librbio.so.%{rbio_version} librbio.so
cp -p ../RBio/Lib/*.a ./
@ -394,6 +391,9 @@ rm -rf ${RPM_BUILD_ROOT}
%doc Doc/*
%changelog
* Fri Nov 16 2012 Deji Akingunola <dakingun@gmail.com> - 4.0.2-1
- Update to 4.0.2
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild