|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: armadillo
|
|
|
|
Name: armadillo
|
|
|
|
Version: 6.600.4
|
|
|
|
Version: 6.700.4
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS
|
|
|
|
Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS
|
|
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
@ -9,7 +9,11 @@ URL: http://arma.sourceforge.net/
|
|
|
|
Source: http://sourceforge.net/projects/arma/files/%{name}-%{version}.tar.gz
|
|
|
|
Source: http://sourceforge.net/projects/arma/files/%{name}-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: cmake, blas-devel, lapack-devel, atlas-devel, arpack-devel, hdf5-devel
|
|
|
|
BuildRequires: cmake, blas-devel, lapack-devel, atlas-devel, arpack-devel, hdf5-devel
|
|
|
|
|
|
|
|
%if 0%{?fedora} > 23
|
|
|
|
BuildRequires: SuperLU43-devel
|
|
|
|
BuildRequires: SuperLU43-devel
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
BuildRequires: SuperLU-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Armadillo is a C++ linear algebra library (matrix maths)
|
|
|
|
Armadillo is a C++ linear algebra library (matrix maths)
|
|
|
@ -32,7 +36,12 @@ Summary: Development headers and documentation for the Armadillo C++ libr
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: blas-devel, lapack-devel, atlas-devel, arpack-devel, hdf5-devel, libstdc++-devel
|
|
|
|
Requires: blas-devel, lapack-devel, atlas-devel, arpack-devel, hdf5-devel, libstdc++-devel
|
|
|
|
Requires: SuperLU43-devel
|
|
|
|
%if 0%{?fedora} > 23
|
|
|
|
|
|
|
|
BuildRequires: SuperLU43-devel
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
BuildRequires: SuperLU-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
This package contains files necessary for development using the
|
|
|
|
This package contains files necessary for development using the
|
|
|
@ -43,9 +52,11 @@ and user documentation (API reference guide).
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} > 23
|
|
|
|
# fix for building using SuperLU43
|
|
|
|
# fix for building using SuperLU43
|
|
|
|
sed -i 's/\/usr\/include\/SuperLU\//\/usr\/include\/SuperLU43\//' cmake_aux/Modules/ARMA_FindSuperLU.cmake
|
|
|
|
sed -i 's/\/usr\/include\/SuperLU\//\/usr\/include\/SuperLU43\//' cmake_aux/Modules/ARMA_FindSuperLU.cmake
|
|
|
|
sed -i 's/NAMES superlu/NAMES superlu43/' cmake_aux/Modules/ARMA_FindSuperLU.cmake
|
|
|
|
sed -i 's/NAMES superlu/NAMES superlu43/' cmake_aux/Modules/ARMA_FindSuperLU.cmake
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# convert DOS end-of-line to UNIX end-of-line
|
|
|
|
# convert DOS end-of-line to UNIX end-of-line
|
|
|
|
|
|
|
|
|
|
|
@ -94,6 +105,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%doc mex_interface
|
|
|
|
%doc mex_interface
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Apr 15 2016 José Matos <jamatos@fedoraproject.org> - 6.700.4-1
|
|
|
|
|
|
|
|
- update to 6.700.4
|
|
|
|
|
|
|
|
- superlu43 is only required for Fedora >= 24
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 29 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 6.600.4-3
|
|
|
|
* Tue Mar 29 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 6.600.4-3
|
|
|
|
- Add SuperLU43 (compat package) as dep
|
|
|
|
- Add SuperLU43 (compat package) as dep
|
|
|
|
- Fix cmake files for building against SuperLU43
|
|
|
|
- Fix cmake files for building against SuperLU43
|
|
|
|