update to 7.100.3

- link with openblas instead of atlas
epel9
José Matos 9 years ago
parent c07ac0ed24
commit 2994ef8abd

@ -8,12 +8,9 @@ License: MPLv2.0
URL: http://arma.sourceforge.net/ URL: http://arma.sourceforge.net/
Source: http://sourceforge.net/projects/arma/files/%{name}-%{version}.tar.xz Source: http://sourceforge.net/projects/arma/files/%{name}-%{version}.tar.xz
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, openblas-devel, arpack-devel, hdf5-devel
%if 0%{?fedora} > 23
BuildRequires: SuperLU43-devel
%else
BuildRequires: SuperLU-devel BuildRequires: SuperLU-devel
%endif
%description %description
Armadillo is a C++ linear algebra library (matrix maths) Armadillo is a C++ linear algebra library (matrix maths)
@ -35,12 +32,8 @@ than another language like Matlab or Octave.
Summary: Development headers and documentation for the Armadillo C++ library Summary: Development headers and documentation for the Armadillo C++ library
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: openblas-devel, arpack-devel, hdf5-devel, libstdc++-devel
%if 0%{?fedora} > 23 Requires: SuperLU-devel
Requires: SuperLU-devel
%else
Requires: SuperLU43-devel
%endif
%description devel %description devel
@ -52,12 +45,6 @@ and user documentation (API reference guide).
%prep %prep
%setup -q %setup -q
%if 0%{?fedora} > 23
# fix for building using SuperLU43
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
%endif
# convert DOS end-of-line to UNIX end-of-line # convert DOS end-of-line to UNIX end-of-line
for file in README.txt; do for file in README.txt; do
@ -107,6 +94,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon May 30 2016 José Matos <jamatos@fedoraproject.org> - 7.100.3-1 * Mon May 30 2016 José Matos <jamatos@fedoraproject.org> - 7.100.3-1
- update to 7.100.3 - update to 7.100.3
- link with openblas instead of atlas
* Sat May 7 2016 José Matos <jamatos@fedoraproject.org> - 6.700.6-1 * Sat May 7 2016 José Matos <jamatos@fedoraproject.org> - 6.700.6-1
- update to 6.700.6 - update to 6.700.6

Loading…
Cancel
Save