]> git.pld-linux.org Git - packages/eigen3.git/blobdiff - eigen3.spec
- updated to 3.4.0
[packages/eigen3.git] / eigen3.spec
index 24163a5362f93362c16209c75835db47a5a5f9a2..b5aacee8b3558e8e9096606864bb8fb266f2ebbf 100644 (file)
@@ -6,16 +6,15 @@
 Summary:       C++ template library for linear algebra
 Summary(pl.UTF-8):     Biblioteka szablonów C++ do algebry liniowej
 Name:          eigen3
-Version:       3.3.7
+Version:       3.4.0
 Release:       1
-License:       LGPL v3+ or GPL v2+
+License:       MPL v2.0 with LGPL v2.1+ parts
 Group:         Development/Libraries
 #Source0Download: http://eigen.tuxfamily.org/index.php?title=Main_Page
-Source0:       https://bitbucket.org/eigen/eigen/get/%{version}.tar.bz2
-# Source0-md5: 05b1f7511c93980c385ebe11bd3c93fa
-Patch0:                %{name}-buildtype.patch
+Source0:       https://gitlab.com/libeigen/eigen/-/archive/%{version}/eigen-%{version}.tar.bz2
+# Source0-md5: 132dde48fe2b563211675626d29f1707
 URL:           http://eigen.tuxfamily.org/
-BuildRequires: cmake >= 2.8.5
+BuildRequires: cmake >= 3.5.0
 %{?with_gdb:BuildRequires:     python-modules}
 BuildRequires: rpmbuild(macros) >= 1.605
 Requires:      libstdc++-devel
@@ -83,8 +82,7 @@ end
 do pliku ~/.gdbinit .
 
 %prep
-%setup -q -n eigen-eigen-323c052e1731
-%patch0 -p1
+%setup -q -n eigen-%{version}
 
 %build
 install -d build
@@ -93,6 +91,7 @@ cd build
 %cmake .. \
        -DCMAKE_CXX_COMPILER_WORKS=1 \
        -DCMAKE_CXX_COMPILER="%{__cxx}" \
+       -DCMAKE_INSTALL_DATADIR:PATH=share \
        -DCMAKE_INSTALL_INCLUDEDIR:PATH=include
 
 %{__make}
@@ -120,6 +119,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc COPYING.BSD COPYING.MINPACK COPYING.README README.md
 %{_includedir}/eigen3
 %{_npkgconfigdir}/eigen3.pc
 %dir %{_datadir}/eigen3
This page took 0.068754 seconds and 4 git commands to generate.