Compare commits
7 Commits
Author | SHA1 | Date |
---|---|---|
Ryan Curtin | 1487a1cf52 | |
Ryan Curtin | ab13b57138 | |
Troy Dawson | 59b5f7475b | |
Devrim Gündüz | 92b4d73af3 | |
Devrim Gündüz | aefe35c95b | |
Ryan Curtin | d7c9735aab | |
Gwyn Ciesla | 53f6284980 |
|
@ -3,30 +3,33 @@ Version: 10.8.2
|
|||
Release: 1%{?dist}
|
||||
Summary: Fast C++ matrix library with syntax similar to MATLAB and Octave
|
||||
|
||||
License: ASL 2.0
|
||||
URL: http://arma.sourceforge.net/
|
||||
Source: http://sourceforge.net/projects/arma/files/%{name}-%{version}.tar.xz
|
||||
License: ASL 2.0
|
||||
URL: http://arma.sourceforge.net/
|
||||
Source: http://sourceforge.net/projects/arma/files/%{name}-%{version}.tar.xz
|
||||
|
||||
%if 0%{?rhel} && 0%{?rhel} < 7
|
||||
%define old_epel 1
|
||||
%else
|
||||
%define old_epel 0
|
||||
%endif
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: make
|
||||
BuildRequires: arpack-devel
|
||||
BuildRequires: hdf5-devel
|
||||
%if %{old_epel} == 0
|
||||
BuildRequires: hdf5-devel
|
||||
%endif
|
||||
BuildRequires: SuperLU-devel
|
||||
|
||||
# flexiblas is only available on Fedora, for EPEL replace it by atlas, lapack and openblas
|
||||
%if %{?fedora}
|
||||
%global extra_options -DALLOW_FLEXIBLAS_LINUX=ON
|
||||
BuildRequires: flexiblas-devel
|
||||
%else
|
||||
%undefine __cmake_in_source_build
|
||||
%global extra_options %{nil}
|
||||
BuildRequires: atlas-devel
|
||||
BuildRequires: lapack-devel
|
||||
%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64}
|
||||
%ifarch %{openblas_arches}
|
||||
BuildRequires: openblas-devel
|
||||
%endif
|
||||
BuildRequires: openblas-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
@ -50,18 +53,16 @@ Summary: Development headers and documentation for the Armadillo C++ libr
|
|||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: libstdc++-devel
|
||||
Requires: arpack-devel
|
||||
Requires: hdf5-devel
|
||||
%if %{old_epel} == 0
|
||||
Requires: hdf5-devel
|
||||
%endif
|
||||
Requires: SuperLU-devel
|
||||
|
||||
%if %{?fedora}
|
||||
Requires: flexiblas-devel
|
||||
%else
|
||||
Requires: atlas-devel
|
||||
Requires: lapack-devel
|
||||
%ifarch %{openblas_arches}
|
||||
Requires: openblas-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
%description devel
|
||||
|
@ -210,6 +211,9 @@ make -C "%{_vpath_builddir}"
|
|||
* Mon Dec 23 2019 José Matos <jamatos@fedoraproject.org> - 9.800.3-1
|
||||
- update to 9.800.3
|
||||
|
||||
* Tue Sep 3 2019 Devrim Gündüz <devrim@gunduz.org> - 9.700.2
|
||||
- Update to 9.700.2
|
||||
|
||||
* Tue Aug 13 2019 José Matos <jamatos@fedoraproject.org> - 9.600.6-1
|
||||
- update to 9.600.6
|
||||
|
||||
|
|
Loading…
Reference in New Issue