|
|
73320db |
%{?mingw_package_header}
|
|
|
73320db |
|
|
|
73320db |
%global mingw_pkg_name eigen3
|
|
|
362123e |
%global commit 5a0156e40feb
|
|
|
73320db |
|
|
|
73320db |
Name: mingw-%{mingw_pkg_name}
|
|
|
362123e |
Version: 3.3.4
|
|
|
e85524a |
Release: 1%{?dist}
|
|
|
73320db |
Summary: MinGW lightweight C++ template library for vector and matrix math
|
|
|
73320db |
BuildArch: noarch
|
|
|
73320db |
# See COPYING.README
|
|
|
73320db |
License: MPLv2.0 and LGPLv2+ and BSD
|
|
|
73320db |
URL: http://eigen.tuxfamily.org/index.php?title=Main_Page
|
|
|
a39a3f8 |
Source0: http://bitbucket.org/eigen/eigen/get/%{version}.tar.bz2
|
|
|
73320db |
# Since we are crosscompiling, read the comment in the file for details
|
|
|
73320db |
Source1: TryRunResults.cmake
|
|
|
73320db |
|
|
|
d4c65e8 |
# Fix pkgconfig file
|
|
|
155f896 |
Patch0: eigen_pkgconfig.patch
|
|
|
d20cae9 |
# Fix cmake error due to buggy FindCUDA.cmake
|
|
|
d20cae9 |
# CMake Error at /usr/share/cmake/Modules/FindCUDA.cmake:675 (find_host_program):
|
|
|
d20cae9 |
# Unknown CMake command "find_host_program".
|
|
|
d20cae9 |
# See https://gitlab.kitware.com/cmake/cmake/issues/16509
|
|
|
d20cae9 |
Patch1: eigen_disable-cuda.patch
|
|
|
d20cae9 |
# Tweak installation dir for cmake modules
|
|
|
d20cae9 |
Patch2: eigen_cmake-dir.patch
|
|
|
d20cae9 |
# Fix the include paths in the new Eigen3Config.cmake file
|
|
|
d20cae9 |
Patch3: eigen_fixcmake.patch
|
|
|
73320db |
|
|
|
528487d |
BuildRequires: mingw32-filesystem >= 95
|
|
|
73320db |
BuildRequires: mingw32-gcc-c++
|
|
|
73320db |
BuildRequires: mingw32-gcc-gfortran
|
|
|
528487d |
BuildRequires: mingw32-fftw
|
|
|
528487d |
BuildRequires: mingw32-gmp
|
|
|
528487d |
BuildRequires: mingw32-mpfr
|
|
|
528487d |
|
|
|
528487d |
BuildRequires: mingw64-filesystem >= 95
|
|
|
528487d |
BuildRequires: mingw64-gcc-c++
|
|
|
73320db |
BuildRequires: mingw64-gcc-gfortran
|
|
|
528487d |
BuildRequires: mingw64-fftw
|
|
|
528487d |
BuildRequires: mingw64-gmp
|
|
|
528487d |
BuildRequires: mingw64-mpfr
|
|
|
528487d |
|
|
|
73320db |
BuildRequires: cmake
|
|
|
73320db |
|
|
|
73320db |
%description
|
|
|
73320db |
%{summary}
|
|
|
73320db |
|
|
|
73320db |
# Mingw32
|
|
|
73320db |
%package -n mingw32-%{mingw_pkg_name}
|
|
|
73320db |
Summary: %{summary}
|
|
|
73320db |
|
|
|
73320db |
%description -n mingw32-%{mingw_pkg_name}
|
|
|
73320db |
%{summary}
|
|
|
73320db |
|
|
|
73320db |
# Mingw64
|
|
|
73320db |
%package -n mingw64-%{mingw_pkg_name}
|
|
|
73320db |
Summary: %{summary}
|
|
|
73320db |
|
|
|
73320db |
%description -n mingw64-%{mingw_pkg_name}
|
|
|
73320db |
%{summary}
|
|
|
73320db |
|
|
|
528487d |
|
|
|
73320db |
%prep
|
|
|
2c497c6 |
%setup -q -n eigen-eigen-%{commit}
|
|
|
528487d |
%patch0 -p1
|
|
|
d20cae9 |
%patch1 -p1
|
|
|
d20cae9 |
%patch2 -p1
|
|
|
d20cae9 |
%patch3 -p1
|
|
|
73320db |
|
|
|
528487d |
|
|
|
73320db |
%build
|
|
|
d4c65e8 |
mkdir build_win32
|
|
|
d4c65e8 |
pushd build_win32
|
|
|
d4c65e8 |
%mingw32_cmake -C%{SOURCE1} -DEIGEN_BUILD_PKGCONFIG:BOOL=ON -DINCLUDE_INSTALL_DIR=%{mingw32_includedir}/eigen3
|
|
|
d4c65e8 |
popd
|
|
|
d4c65e8 |
|
|
|
d4c65e8 |
mkdir build_win64
|
|
|
d4c65e8 |
pushd build_win64
|
|
|
d4c65e8 |
%mingw64_cmake -C%{SOURCE1} -DEIGEN_BUILD_PKGCONFIG:BOOL=ON -DINCLUDE_INSTALL_DIR=%{mingw64_includedir}/eigen3
|
|
|
d4c65e8 |
popd
|
|
|
528487d |
# Just as a sanity check
|
|
|
528487d |
%mingw_make %{?_smp_mflags} buildtests
|
|
|
528487d |
|
|
|
73320db |
|
|
|
73320db |
%install
|
|
|
73320db |
%mingw_make install DESTDIR=%{buildroot}
|
|
|
73320db |
|
|
|
528487d |
|
|
|
73320db |
%files -n mingw32-%{mingw_pkg_name}
|
|
|
528487d |
%license COPYING.BSD COPYING.LGPL COPYING.MPL2 COPYING.README
|
|
|
73320db |
%{mingw32_includedir}/eigen3
|
|
|
73320db |
%{mingw32_datadir}/pkgconfig/*
|
|
|
d20cae9 |
%dir %{mingw32_datadir}/cmake/Modules
|
|
|
d20cae9 |
%{mingw32_datadir}/cmake/Modules/*.cmake
|
|
|
73320db |
|
|
|
73320db |
%files -n mingw64-%{mingw_pkg_name}
|
|
|
528487d |
%license COPYING.BSD COPYING.LGPL COPYING.MPL2 COPYING.README
|
|
|
73320db |
%{mingw64_includedir}/eigen3
|
|
|
73320db |
%{mingw64_datadir}/pkgconfig/*
|
|
|
d20cae9 |
%dir %{mingw64_datadir}/cmake/Modules
|
|
|
d20cae9 |
%{mingw64_datadir}/cmake/Modules/*.cmake
|
|
|
73320db |
|
|
|
528487d |
|
|
|
73320db |
%changelog
|
|
|
362123e |
* Mon Jun 19 2017 Sandro Mani <manisandro@gmail.com> - 3.3.4-1
|
|
|
362123e |
- Update to 3.3.4
|
|
|
362123e |
|
|
|
e85524a |
* Wed Feb 22 2017 Sandro Mani <manisandro@gmail.com> - 3.3.3-1
|
|
|
e85524a |
- Update to 3.3.3
|
|
|
e85524a |
|
|
|
a644032 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-2
|
|
|
a644032 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
a644032 |
|
|
|
a78828c |
* Sun Jan 22 2017 Sandro Mani <manisandro@gmail.com> - 3.3.2-1
|
|
|
a78828c |
- Update to 3.3.2
|
|
|
a78828c |
|
|
|
a39a3f8 |
* Sun Jan 01 2017 Sandro Mani <manisandro@gmail.com> - 3.3.1-1
|
|
|
a39a3f8 |
- Update to 3.3.1
|
|
|
a39a3f8 |
|
|
|
6e34894 |
* Tue Oct 04 2016 Sandro Mani <manisandro@gmail.com> - 3.2.10-1
|
|
|
6e34894 |
- Update to 3.2.10
|
|
|
6e34894 |
|
|
|
155f896 |
* Tue Jul 19 2016 Sandro Mani <manisandro@gmail.com> - 3.2.9-1
|
|
|
155f896 |
- Update to 3.2.9
|
|
|
155f896 |
|
|
|
d4c65e8 |
* Sat Feb 20 2016 Sandro Mani <manisandro@gmail.com> - 3.2.8-1
|
|
|
d4c65e8 |
- Update to 3.2.8
|
|
|
155f896 |
|
|
|
278726b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7-4
|
|
|
278726b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
278726b |
|
|
|
bff10af |
* Fri Nov 06 2015 Sandro Mani <manisandro@gmail.com> - 3.2.7-3
|
|
|
bff10af |
- Again: Fix incorrect include path in pkgconfig file
|
|
|
bff10af |
|
|
|
7fad6e7 |
* Fri Nov 06 2015 Sandro Mani <manisandro@gmail.com> - 3.2.7-2
|
|
|
7fad6e7 |
- Fix incorrect include path in pkgconfig file
|
|
|
7fad6e7 |
|
|
|
9602be9 |
* Thu Nov 05 2015 Sandro Mani <manisandro@gmail.com> - 3.2.7-1
|
|
|
9602be9 |
- Update to release 3.2.7
|
|
|
9602be9 |
|
|
|
a66d324 |
* Thu Oct 01 2015 Sandro Mani <manisandro@gmail.com> - 3.2.6-1
|
|
|
a66d324 |
- Update to release 3.2.6
|
|
|
a66d324 |
|
|
|
a66d324 |
* Tue Jun 16 2015 Sandro Mani <manisandro@gmail.com> - 3.2.5-1
|
|
|
a66d324 |
- Update to release 3.2.5
|
|
|
a66d324 |
|
|
|
6023c22 |
* Sat Jan 24 2015 Sandro Mani <manisandro@gmail.com> - 3.2.4-1
|
|
|
6023c22 |
- Update to release 3.2.4
|
|
|
6023c22 |
|
|
|
5ef81d3 |
* Thu Dec 18 2014 Sandro Mani <manisandro@gmail.com> - 3.2.3-1
|
|
|
5ef81d3 |
- Update to release 3.2.3
|
|
|
5ef81d3 |
|
|
|
49ebe00 |
* Mon Aug 04 2014 Sandro Mani <manisandro@gmail.com> - 3.2.2-1
|
|
|
49ebe00 |
- Update to release 3.2.2
|
|
|
49ebe00 |
|
|
|
1da2998 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
|
|
|
1da2998 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
1da2998 |
|
|
|
d83ac5a |
* Wed Feb 26 2014 Sandro Mani <manisandro@gmail.com> - 3.2.1-1
|
|
|
d83ac5a |
- Update to release 3.2.1
|
|
|
d83ac5a |
|
|
|
b0d0ced |
* Mon Aug 05 2013 Sandro Mani <manisandro@gmail.com> - 3.2-3
|
|
|
b0d0ced |
- Add patch to work around gcc bug 58087
|
|
|
b0d0ced |
|
|
|
bb3f9c5 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-2
|
|
|
bb3f9c5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
bb3f9c5 |
|
|
|
7ee91e9 |
* Wed Jul 24 2013 Sandro Mani <manisandro@gmail.com> - 3.2-1
|
|
|
7ee91e9 |
- Update to release 3.2
|
|
|
7ee91e9 |
|
|
|
ad21f65 |
* Fri Apr 19 2013 Sandro Mani <manisandro@gmail.com> - 3.1.3-1
|
|
|
ad21f65 |
- Update to release 3.1.3
|
|
|
ad21f65 |
|
|
|
73320db |
* Tue Mar 05 2013 Sandro Mani <manisandro@gmail.com> - 3.1.2-1
|
|
|
73320db |
- Initial fedora package
|