update to 5.6.0 [release 5.6.0-1mamba;Wed Nov 06 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 05:52:22 +01:00
parent 7eaf26073e
commit 1dd951c32b

View File

@ -1,5 +1,5 @@
Name: libsuitesparse
Version: 4.4.5
Version: 5.6.0
Release: 1mamba
Summary: A collection of sparse matrix libraries
Group: System/Libraries
@ -7,13 +7,17 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://faculty.cse.tamu.edu/davis/suitesparse.html
Source: http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-%{version}.tar.gz
Source: https://github.com/DrTimothyAldenDavis/SuiteSparse.git/v%{version}/SuiteSparse-%{version}.tar.bz2
#Source: http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-%{version}.tar.gz
License: GPL, LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatlas-devel
BuildRequires: libblas-devel
BuildRequires: libgcc
BuildRequires: libgomp-devel
%ifnarch arm
BuildRequires: libopenblas-devel
%endif
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Provides: libumfpack
@ -48,9 +52,15 @@ Obsoletes: libumfpack-devel
This package contains libraries and header files for developing applications that use %{name}.
%prep
%setup -q -n SuiteSparse
%setup -q -n SuiteSparse-%{version}
%ifarch arm
sed -i "/CHOLMOD/d" Makefile
%endif
%build
%make
:<< ___OBSOLETE
%define amd_version 2.2.2
%define amd_version_major 2
%define btf_version 1.1.2
@ -327,6 +337,11 @@ popd
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
make install \
INSTALL_LIB=%{buildroot}%{_libdir} \
INSTALL_INCLUDE=%{buildroot}%{_includedir}/suitesparse
:<< __OBSOLETE
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}/suitesparse
@ -358,44 +373,37 @@ popd
%{_libdir}/libcxsparse.so.*
%{_libdir}/libklu.so.*
%{_libdir}/libldl.so.*
#%{_libdir}/librbio.so.*
%{_libdir}/librbio.so.*
%{_libdir}/libspqr.so.*
#%{_libdir}/libufconfig.so.*
%{_libdir}/libsuitesparseconfig.so.*
%{_libdir}/libumfpack.so.*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/suitesparse
%{_includedir}/suitesparse/*.h
%{_libdir}/libamd.a
%{_includedir}/suitesparse/*.hpp
%{_libdir}/libamd.so
%{_libdir}/libbtf.a
%{_libdir}/libbtf.so
%{_libdir}/libcamd.a
%{_libdir}/libcamd.so
%{_libdir}/libccolamd.a
%{_libdir}/libccolamd.so
%{_libdir}/libcholmod.a
%{_libdir}/libcholmod.so
%{_libdir}/libcolamd.a
%{_libdir}/libcolamd.so
%{_libdir}/libcxsparse.a
%{_libdir}/libcxsparse.so
%{_libdir}/libklu.a
%{_libdir}/libklu.so
%{_libdir}/libldl.a
%{_libdir}/libldl.so
#%{_libdir}/librbio.a
#%{_libdir}/librbio.so
%{_libdir}/libspqr.a
%{_libdir}/libmetis.so
%{_libdir}/librbio.so
%{_libdir}/librbio.so
%{_libdir}/libspqr.so
#%{_libdir}/libufconfig.a
#%{_libdir}/libufconfig.so
%{_libdir}/libumfpack.a
%{_libdir}/libsuitesparseconfig.so
%{_libdir}/libumfpack.so
#%doc README.txt
%doc README.txt
%changelog
* Wed Nov 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
- update to 5.6.0
* Fri Dec 18 2015 Automatic Build System <autodist@mambasoft.it> 4.4.5-1mamba
- automatic version update by autodist