Blame SPECS/eigen3.spec

cb349f
# The (empty) main package is arch, to have the package built and tests run
cb349f
# on all arches, but the actual result package is the noarch -devel subpackge.
cb349f
# Debuginfo packages are disabled to prevent rpmbuild from generating an empty
cb349f
# debuginfo package for the empty main package.
cb349f
%global debug_package %{nil}
cb349f
cb349f
# FIXME ICE on ppc64le when buildings docs with optflags
cb349f
%ifarch ppc64le
cb349f
%global optflags %{nil}
cb349f
%endif
cb349f
cb349f
e04763
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
cb349f
%global blaslib flexiblas
e04763
%global cmake_blas_flags -DBLA_VENDOR=FlexiBLAS
cb349f
%else
cb349f
%global blaslib openblas
e04763
%global blasvar o
e04763
%global cmake_blas_flags -DBLAS_LIBRARIES=%{_libdir}/lib%{blaslib}%{blasvar}.so
cb349f
%endif
cb349f
cb349f
%bcond_with sparsehash
cb349f
%bcond_with suitesparse
cb349f
%bcond_with SuperLU
cb349f
%bcond_with scotch
cb349f
%bcond_with metis
cb349f
cb349f
Name:           eigen3
e04763
Version:        3.4.0
e04763
Release:        1%{?dist}
cb349f
Summary:        A lightweight C++ template library for vector and matrix math
cb349f
e04763
License:        ASL 2.0 and MPLv2.0 and LGPLv2+ and BSD and Minpack
cb349f
URL:            http://eigen.tuxfamily.org/index.php?title=Main_Page
cb349f
Source0:        https://gitlab.com/libeigen/eigen/-/archive/%{version}/eigen-%{version}.tar.bz2
cb349f
cb349f
BuildRequires:  %{blaslib}-devel
cb349f
BuildRequires:  fftw-devel
cb349f
BuildRequires:  gmp-devel
cb349f
BuildRequires:  gsl-devel
cb349f
BuildRequires:  mpfr-devel
cb349f
%{?with_sparsehash:BuildRequires:  sparsehash-devel}
cb349f
%{?with_suitesparse:BuildRequires:  suitesparse-devel}
cb349f
BuildRequires:  gcc-gfortran
cb349f
%{?with_SuperLU:BuildRequires:  SuperLU-devel}
cb349f
%{?with_scotch:BuildRequires:  scotch-devel}
cb349f
%{?with_metis:BuildRequires:  metis-devel}
cb349f
cb349f
BuildRequires:  cmake
cb349f
BuildRequires:  make
cb349f
BuildRequires:  gcc-c++
cb349f
BuildRequires:  doxygen
cb349f
BuildRequires:  graphviz
cb349f
BuildRequires:  tex(latex)
cb349f
cb349f
%description
cb349f
%{summary}.
cb349f
cb349f
cb349f
%package devel
cb349f
Summary:        A lightweight C++ template library for vector and matrix math
cb349f
BuildArch:      noarch
cb349f
# -devel subpkg only atm, compat with other distros
cb349f
Provides:       %{name} = %{version}-%{release}
cb349f
# not *strictly* a -static pkg, but the results are the same
cb349f
Provides:       %{name}-static = %{version}-%{release}
cb349f
cb349f
%description devel
cb349f
%{summary}.
cb349f
cb349f
%package doc
cb349f
Summary:        Developer documentation for Eigen
cb349f
Requires:       %{name}-devel = %{version}-%{release}
cb349f
BuildArch:      noarch
cb349f
cb349f
%description doc
cb349f
Developer documentation for Eigen.
cb349f
cb349f
cb349f
%prep
cb349f
%autosetup -p1 -n eigen-%{version}
cb349f
cb349f
cb349f
%build
cb349f
%cmake \
e04763
    -DINCLUDE_INSTALL_DIR=%{_includedir}/%{name} \
e04763
    %{cmake_blas_flags} \
cb349f
    %{?with_SuperLU:-DSUPERLU_INCLUDES=%{_includedir}/SuperLU} \
cb349f
    %{?with_scotch:-DSCOTCH_INCLUDES=%{_includedir} -DSCOTCH_LIBRARIES="scotch"} \
cb349f
    %{?with_metis:-DMETIS_INCLUDES=%{_includedir} -DMETIS_LIBRARIES="metis"} \
e04763
    -DCMAKEPACKAGE_INSTALL_DIR=%{_datadir}/cmake/%{name} \
e04763
    -DEIGEN_TEST_CXX11=ON
cb349f
cb349f
%cmake_build
cb349f
%cmake_build --target doc
cb349f
cb349f
rm -f %{_vpath_builddir}/doc/html/installdox
cb349f
rm -f %{_vpath_builddir}/doc/html/unsupported/installdox
cb349f
cb349f
cb349f
%install
cb349f
%cmake_install
cb349f
cb349f
cb349f
%check
e04763
# Test fail to build due to compiler crashes
cb349f
#cmake_build --target buildtests
e04763
#ctest
cb349f
cb349f
cb349f
%files devel
e04763
%license COPYING.README COPYING.APACHE COPYING.BSD COPYING.MPL2 COPYING.GPL COPYING.LGPL COPYING.MINPACK
cb349f
%{_includedir}/%{name}
cb349f
%{_datadir}/cmake/%{name}
cb349f
%{_datadir}/pkgconfig/%{name}.pc
cb349f
cb349f
%files doc
cb349f
%doc %{_vpath_builddir}/doc/html
cb349f
cb349f
cb349f
%changelog
e04763
* Wed Feb 16 2022 Jiri Kucera <jkucera@redhat.com> - 3.4.0-1
e04763
- Update to 3.4.0
e04763
  Resolves: #2032423
e04763
cb349f
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.9-8
cb349f
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
cb349f
  Related: rhbz#1991688
cb349f
cb349f
* Mon Jul 12 2021 Jiri Kucera <jkucera@redhat.com> - 3.3.9-7
cb349f
- Remove glew-devel BR
cb349f
  Resolves: #1981397
cb349f
cb349f
* Wed Jun 30 2021 Jiri Kucera <jkucera@redhat.com> - 3.3.9-6
cb349f
- Added missing Minpack license
cb349f
  Dropped unnecessary dependencies
cb349f
  Resolves: #1967481
cb349f
cb349f
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.9-5
cb349f
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
cb349f
cb349f
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.9-4
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
cb349f
cb349f
* Tue Jan 19 2021 Jan Grulich <jgrulich@redhat.com> - 3.3.9-3
cb349f
- Drop qt dependency on RHEL 8 and higher
cb349f
cb349f
* Tue Jan 19 2021 Sandro Mani <manisandro@gmail.com> - 3.3.9-2
cb349f
- Backport fix for conflicting declarations of log1p
cb349f
cb349f
* Sun Dec 06 2020 Sandro Mani <manisandro@gmail.com> - 3.3.9-1
cb349f
- Update to 3.3.9
cb349f
cb349f
* Mon Oct 05 2020 Sandro Mani <manisandro@gmail.com> - 3.3.8-2
cb349f
- Drop reference to undefined Eigen::eigen_assert_exception
cb349f
cb349f
* Mon Oct 05 2020 Sandro Mani <manisandro@gmail.com> - 3.3.8-1
cb349f
- Update to 3.3.8
cb349f
cb349f
* Tue Sep 01 2020 Iñaki Úcar <iucar@fedoraproject.org> - 3.3.7-7
cb349f
- https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
cb349f
cb349f
* Sat Aug 29 2020 Fabio Valentini <decathorpe@gmail.com> - 3.3.7-6
cb349f
- Adapt to CMake macros changes in fedora 33+.
cb349f
cb349f
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7-5
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
cb349f
cb349f
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7-4
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
cb349f
cb349f
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7-3
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
cb349f
cb349f
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7-2
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
cb349f
cb349f
* Tue Dec 25 2018 Sandro Mani <manisandro@gmail.com> - 3.3.7-1
cb349f
- Update to 3.3.7
cb349f
- Modernize spec
cb349f
- Add doc
cb349f
cb349f
* Mon Dec 10 2018 Sandro Mani <manisandro@gmail.com> - 3.3.6-1
cb349f
- Update to 3.3.6
cb349f
cb349f
* Thu Sep 06 2018 Rex Dieter <rdieter@fedoraproject.org> - 3.3.5-2
cb349f
- backport upstream fix for step FTBFS (#1619860)
cb349f
cb349f
* Thu Jul 26 2018 Sandro Mani <manisandro@gmail.com> - 3.3.5-1
cb349f
- Update to 3.3.5
cb349f
cb349f
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.4-7
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
cb349f
cb349f
* Fri May 25 2018 Björn Esser <besser82@fedoraproject.org> - 3.3.4-6
cb349f
- Fix compilation of Jacobi rotations with ARM NEON, some
cb349f
  specializations of internal::conj_helper were missing
cb349f
cb349f
* Sun Feb 18 2018 Sandro Mani <manisandro@gmail.com> - 3.3.4-5
cb349f
- Add missing BR: gcc-c++, make
cb349f
cb349f
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.4-4
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cb349f
cb349f
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.4-3
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
cb349f
cb349f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.4-2
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cb349f
cb349f
* Mon Jun 19 2017 Sandro Mani <manisandro@gmail.com> - 3.3.4-1
cb349f
- Update to 3.3.4
cb349f
cb349f
* Wed Feb 22 2017 Sandro Mani <manisandro@gmail.com> - 3.3.3-1
cb349f
- Update to 3.3.3
cb349f
cb349f
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-2
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cb349f
cb349f
* Sun Jan 22 2017 Sandro Mani <manisandro@gmail.com> - 3.3.2-1
cb349f
- Update to 3.3.2
cb349f
cb349f
* Wed Dec 28 2016 Rich Mattes <richmattes@gmail.com> - 3.3.1-1
cb349f
- Update to 3.3.1 (rhbz#1408538)
cb349f
cb349f
* Wed Nov 23 2016 Rich Mattes <richmattes@gmail.com> - 3.3.0-1
cb349f
- Update to 3.3.0
cb349f
- Stop renaming tarball - just use upstream tarball
cb349f
cb349f
* Tue Oct 04 2016 Sandro Mani <manisandro@gmail.com> - 3.2.10-1
cb349f
- Update to 3.2.10
cb349f
cb349f
* Tue Jul 19 2016 Sandro Mani <manisandro@gmail.com> - 3.2.9-1
cb349f
- Update to 3.2.9
cb349f
cb349f
* Sat Feb 20 2016 Sandro Mani <manisandro@gmail.com> - 3.2.8-1
cb349f
- Update to 3.2.8
cb349f
cb349f
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7-4
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cb349f
cb349f
* Fri Nov 06 2015 Sandro Mani <manisandro@gmail.com> - 3.2.7-3
cb349f
- Again: Fix incorrect include path in pkgconfig file
cb349f
cb349f
* Fri Nov 06 2015 Sandro Mani <manisandro@gmail.com> - 3.2.7-2
cb349f
- Fix incorrect include path in pkgconfig file
cb349f
cb349f
* Thu Nov 05 2015 Sandro Mani <manisandro@gmail.com> - 3.2.7-1
cb349f
- Update to release 3.2.7
cb349f
cb349f
* Thu Oct 01 2015 Sandro Mani <manisandro@gmail.com> - 3.2.6-1
cb349f
- Update to release 3.2.6
cb349f
cb349f
* Fri Aug 21 2015 Rich Mattes <richmattes@gmail.com> - 3.2.5-2
cb349f
- Apply patch to install FindEigen3.cmake
cb349f
cb349f
* Tue Jun 16 2015 Sandro Mani <manisandro@gmail.com> - 3.2.5-1
cb349f
- Update to release 3.2.5
cb349f
cb349f
* Thu Jan 22 2015 Sandro Mani <manisandro@gmail.com> - 3.2.4-1
cb349f
- Update to release 3.2.4
cb349f
cb349f
* Mon Jan 05 2015 Rich Mattes <richmattes@gmail.com> - 3.2.3-2
cb349f
- Backport upstream Rotation2D fix
cb349f
cb349f
* Thu Dec 18 2014 Sandro Mani <manisandro@gmail.com> - 3.2.3-1
cb349f
- Update to release 3.2.3
cb349f
- Drop upstreamed eigen3-ppc64.patch
cb349f
cb349f
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-2
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
cb349f
cb349f
* Mon Aug 04 2014 Sandro Mani <manisandro@gmail.com> - 3.2.2-1
cb349f
- Update to release 3.2.2
cb349f
cb349f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-5
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
cb349f
cb349f
* Tue Mar 11 2014 Orion Poplawski <orion@cora.nwra.com> - 3.2.1-4
cb349f
- Add ppc64 support
cb349f
cb349f
* Thu Feb 27 2014 Sandro Mani <manisandro@gmail.com> - 3.2.1-3
cb349f
- Make doc package noarch
cb349f
cb349f
* Thu Feb 27 2014 Sandro Mani <manisandro@gmail.com> - 3.2.1-2
cb349f
- Split off doc to a separate package
cb349f
cb349f
* Wed Feb 26 2014 Sandro Mani <manisandro@gmail.com> - 3.2.1-1
cb349f
- Udpate to release 3.2.1
cb349f
cb349f
* Sun Aug 11 2013 Sandro Mani <manisandro@gmail.com> - 3.2-3
cb349f
- Build and run tests
cb349f
- Drop -DBLAS_LIBRARIES_DIR, not used
cb349f
- Add some BR to enable tests of corresponding backends
cb349f
- spec cleanup
cb349f
cb349f
* Wed Jul 24 2013 Sandro Mani <manisandro@gmail.com> - 3.2-1
cb349f
- Update to release 3.2
cb349f
cb349f
* Sat Jun 29 2013 Rich Mattes <richmattes@gmail.com> - 3.1.3-2
cb349f
- Add upstream patch to fix malloc/free bugs (rhbz#978971)
cb349f
cb349f
* Fri Apr 19 2013 Sandro Mani <manisandro@gmail.com> - 3.1.3-1
cb349f
- Update to release 3.1.3
cb349f
- Add patch for unused typedefs warning with gcc4.8
cb349f
cb349f
* Tue Mar 05 2013 Rich Mattes <richmattes@gmail.com> - 3.1.2-1
cb349f
- Update to release 3.1.2
cb349f
cb349f
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.6-2
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cb349f
cb349f
* Sat Jul 28 2012 Tim Niemueller <tim@niemueller.de> - 3.0.6-1
cb349f
- Update to release 3.0.6 (fixes GCC 4.7 warnings)
cb349f
cb349f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.5-2
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cb349f
cb349f
* Sun Mar 11 2012 Rich Mattes <richmattes@gmail.com> - 3.0.5-1
cb349f
- Update to release 3.0.5
cb349f
cb349f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-2
cb349f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cb349f
cb349f
* Sun Dec 18 2011 Rich Mattes <richmattes@gmail.com> - 3.0.4-1
cb349f
- Update to release 3.0.4
cb349f
cb349f
* Tue Nov 15 2011 Rich Mattes <richmattes@gmail.com> - 3.0.3-1
cb349f
- Update to release 3.0.3
cb349f
cb349f
* Sun Apr 17 2011 Rich Mattes <richmattes@gmail.com> - 3.0.0-2
cb349f
- Patched sources to fix build failure
cb349f
- Removed fixes made upstream
cb349f
- Added project name to source tarball filename
cb349f
cb349f
* Sat Mar 26 2011 Rich Mattes <richmattes@gmail.com> - 3.0.0-1
cb349f
- Update to release 3.0.0
cb349f
cb349f
* Tue Jan 25 2011 Rich Mattes <richmattes@gmail.com> - 3.0-0.2.beta2
cb349f
- Change blas-devel buildrequirement to atlas-devel
cb349f
- Don't make the built-in experimental blas library
cb349f
cb349f
* Mon Jan 24 2011 Rich Mattes <richmattes@gmail.com> - 3.0-0.1.beta2
cb349f
- Initial package