Compare commits

...

15 Commits

Author SHA1 Message Date
Ryan Curtin e9e55f6ad9 Set installation root correctly. 2022-05-30 23:31:27 +00:00
Ryan Curtin 664c9a6dbd Abandon CMake macros altogether. 2022-05-30 17:37:06 +00:00
Ryan Curtin 921105804e Don't use CMake macros. 2022-05-30 17:22:20 +00:00
Ryan Curtin a000962d2d Merge branch 'epel8' into epel7 2022-05-30 16:17:12 +00:00
Ryan Curtin 1487a1cf52 Remove unnecessary fedora branches from EPEL spec. 2022-05-27 14:10:38 +00:00
Ryan Curtin ab13b57138 Merge branch 'rawhide' into epel8 2022-05-27 14:09:13 +00:00
Troy Dawson 59b5f7475b remove package.cfg per new epel-playground policy 2020-09-24 16:11:09 +00:00
Ryan Curtin 169d6652de Other version 8 fixes. 2019-09-03 23:50:05 +00:00
Ryan Curtin 6c3d900a49 Armadillo 8 has a txt README not md. 2019-09-03 23:36:23 +00:00
Ryan Curtin 1e67d0b5f3 Oops, fix soversion in %files. 2019-09-03 23:19:56 +00:00
Ryan Curtin d45d12aef5 Use latest Armadillo 8 version. 2019-09-03 23:14:09 +00:00
Devrim Gündüz 92b4d73af3 armadillo: Update to 9.700.2 2019-09-03 22:59:40 +01:00
Devrim Gündüz aefe35c95b Fix rpmlint warnings 2019-09-03 12:33:17 +01:00
Ryan Curtin d7c9735aab Merge branch 'master' into epel8 2019-08-28 22:20:59 +00:00
Gwyn Ciesla 53f6284980 "Adding package.cfg file" 2019-08-28 08:44:34 -05:00
1 changed files with 21 additions and 153 deletions

View File

@ -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
@ -77,18 +78,12 @@ rm -rf examples/*win64*
%build
%cmake %{extra_options}
%cmake_build
cmake .
make
%install
%cmake_install
%check
%cmake %{extra_options} -DBUILD_SMOKE_TEST=ON
make -C "%{_vpath_builddir}"
%ctest
make install DESTDIR=$RPM_BUILD_ROOT
%if (0%{?rhel} && 0%{?rhel} <= 7)
@ -126,135 +121,8 @@ make -C "%{_vpath_builddir}"
* Thu Feb 3 2022 José Matos <jamatos@fedoraproject.org> - 10.8.2-1
- update to 10.8.2
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 10.7.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Nov 27 2021 José Matos <jamatos@fedoraproject.org> - 10.7.4-1
- Update to 10.7.4
* Mon Nov 22 2021 Orion Poplawski <orion@nwra.com> - 10.6.0-7
- Rebuild to tag build
* Sun Nov 21 2021 Orion Poplawski <orion@nwra.com> - 10.6.0-6
- Rebuild for hdf5 1.12.1
* Sat Oct 30 2021 Antoio Trande <sagitter@fedoraproject.org> - 10.6.0-5
- Rebuild for SuperLU-5.3.0
* Tue Aug 10 2021 Orion Poplawski <orion@nwra.com> - 10.6.0-4
- Rebuild for hdf5 1.10.7
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 10.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jul 15 2021 José Matos <jamatos@fedoraproject.org> - 10.6.0-1
- update to 10.6.0
- BR flexiblas for Fedora and lapack, openblas and atlas for EPEL
- adapt armadillo-devel accordingly
* Wed Jul 7 2021 José Matos <jamatos@fedoraproject.org> - 10.5.3-1
- update to 10.5.3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 10.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jan 20 2021 José Matos <jamatos@fedoraproject.org> - 10.2.0-1
- update to 10.2.0
* Tue Jan 5 2021 José Matos <jamatos@fedoraproject.org> - 10.1.2-1
- update to 10.1.2
* Fri Sep 4 2020 José Matos <jamatos@fedoraproject.org> - 9.900.3-2
- make extra_options empty in the correct way
* Thu Sep 3 2020 José Matos <jamatos@fedoraproject.org> - 9.900.3-1
- update to 9.900.3
* Wed Aug 5 2020 José Matos <jamatos@fedoraproject.org> - 9.900.2-5
- add upstream patch to support flexiblas
- enable tests
* Wed Aug 5 2020 José Matos <jamatos@fedoraproject.org> - 9.900.2-4
- clean the spec file and remove support for epel 6
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.900.2-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.900.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- Adapt cmake to work with out of tree builds (and other minor cleanups)
* Fri Jul 17 2020 José Matos <jamatos@fedoraproject.org> - 9.900.2-1
- update to 9.900.2
* Fri Jul 3 2020 José Matos <jamatos@fedoraproject.org> - 9.900.1-1
- update to 9.900.1
* Thu Jun 25 2020 Orion Poplawski <orion@cora.nwra.com> - 9.880.1-2
- Rebuild for hdf5 1.10.6
* Sat May 16 2020 José Matos <jamatos@fedoraproject.org> - 9.880.1-1
- update to 9.880.1
* Wed Apr 1 2020 José Matos <jamatos@fedoraproject.org> - 9.860.1-1
- update to 9.860.1
* Sun Feb 23 2020 José Matos <jamatos@fedoraproject.org> - 9.850.1-1
- update to 9.850.1
- update list of document files
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.800.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Dec 23 2019 José Matos <jamatos@fedoraproject.org> - 9.800.3-1
- update to 9.800.3
* Tue Aug 13 2019 José Matos <jamatos@fedoraproject.org> - 9.600.6-1
- update to 9.600.6
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9.600.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jul 15 2019 José Matos <jamatos@fedoraproject.org> - 9.600.4-1
- update to 9.600.4
* Tue Jun 11 2019 José Matos <jamatos@fedoraproject.org> - 9.500.2-1
- update to 9.500.2
* Thu May 30 2019 José Matos <jamatos@fedoraproject.org> - 9.400.4-1
- update to 9.400.4
* Sat May 4 2019 José Matos <jamatos@fedoraproject.org> - 9.400.3-1
- update to 9.400.3
* Sat Apr 27 2019 José Matos <jamatos@fedoraproject.org> - 9.400.2-1
- update to 9.400.2
* Sat Mar 30 2019 José Matos <jamatos@fedoraproject.org> - 9.300.2-1
- update to 9.300.2
* Sat Mar 16 2019 Orion Poplawski <orion@nwra.com> - 9.200.8-2
- Rebuild for hdf5 1.10.5
* Fri Mar 15 2019 José Matos <jamatos@fedoraproject.org> - 9.200.8-1
- update to 9.200.8
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9.200.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jan 26 2019 José Matos <jamatos@fedoraproject.org> - 9.200.7-1
- update to 9.200.7
* Sat Dec 22 2018 José Matos <jamatos@fedoraproject.org> - 9.200.6-1
- update to 9.200.6
* Tue Nov 20 2018 José Matos <jamatos@fedoraproject.org> - 9.200.4-1
- update to 9.200.4
* Fri Aug 17 2018 José Matos <jamatos@fedoraproject.org> - 9.100.5-1
- update to 9.100.5
- add white lines to improve spec file readability
* Tue Sep 3 2019 Ryan Curtin <ryan@ratml.org> - 8.600.1-2
- Use latest Armadillo 8 to avoid API breakage.
* Fri Aug 10 2018 José Matos <jamatos@fedoraproject.org> - 8.600.1-1
- update to 8.600.1