Blame SPECS/eigen3.spec

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