A new user interface for you! Read more...

File eigen.spec of Package eigen

#
# spec file for package eigen
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:		   eigen
Version:	   3.3.7
Release:	   0
Summary:	   C++ template library for linear algebra
License:	   MPL-2.0
Group:         Productivity/Scientific/Math
Url:		   http://eigen.tuxfamily.org/index.php?title=Main_Page
Source0:	   %{name}-%{version}.tar.bz2
BuildRequires: cmake
BuildRequires: pkgconfig
BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: texlive-dvips-bin
BuildRequires: gcc-c++
BuildRequires: blas-devel
BuildRequires: suitesparse-devel
BuildRequires: libboost_system-devel
BuildRequires: Mesa-devel
BuildRequires: superlu-devel
BuildRequires: fftw-devel
BuildRequires: freeglut-devel
BuildRequires: libqt4-devel
BuildRequires: gmp-devel
BuildRequires: mpfr-devel
BuildRequires: adolc-devel
BuildRequires: fdupes

%description
Eigen is a high-level C++ library of template headers for linear algebra,
matrix and vector operations, geometrical transformations, numerical solvers 
and related algorithms. Eigen is an open source library licensed under MPL2 
starting from version 3.1.1. Earlier versions were licensed under LGPL3+.

Eigen is implemented using the expression templates metaprogramming
technique, meaning it builds expression trees at compile time and generates 
custom code to evaluate these. Using expression templates and a cost model of 
floating point operations, the library performs its own loop unrolling and 
vectorization.

%package devel
Summary:        C++ template library for linear algebra (developer files)
Group:          Development/Libraries/C and C++

%description devel
Eigen is a high-level C++ library of template headers for linear algebra,
matrix and vector operations, geometrical transformations, numerical solvers 
and related algorithms. Eigen is an open source library licensed under MPL2 
starting from version 3.1.1. Earlier versions were licensed under LGPL3+.

Eigen is implemented using the expression templates metaprogramming
technique, meaning it builds expression trees at compile time and generates 
custom code to evaluate these. Using expression templates and a cost model of 
floating point operations, the library performs its own loop unrolling and 
vectorization.

This package contains the developer files (.so file, header files)

%package doc
Summary:        C++ template library for linear algebra (developer files)
Group:          Documentation/Other

%description doc
Eigen is a high-level C++ library of template headers for linear algebra,
matrix and vector operations, geometrical transformations, numerical solvers 
and related algorithms. Eigen is an open source library licensed under MPL2 
starting from version 3.1.1. Earlier versions were licensed under LGPL3+.

Eigen is implemented using the expression templates metaprogramming
technique, meaning it builds expression trees at compile time and generates 
custom code to evaluate these. Using expression templates and a cost model of 
floating point operations, the library performs its own loop unrolling and 
vectorization.

This package contains the documentation files

%prep
%setup -q

%build
%cmake

%make_jobs

make doc 

%install
%cmake_install

%fdupes %{buildroot}

%files devel
%exclude %{_includedir}/signature_of_eigen3_matrix_library
%{_includedir}/Eigen
%{_includedir}/unsupported
%{_datadir}/eigen3
%{_datadir}/pkgconfig/eigen3.pc

%files doc

%changelog