File libeigen2-devel.spec of Package libeigen2-devel

# spec file for package libeigen2-devel
# Copyright (c) 2017 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

Name:           libeigen2-devel
BuildRequires:  c++_compiler
BuildRequires:  cmake
BuildRequires:  doxygen
BuildRequires:  kde4-filesystem
BuildRequires:  pkg-config
Summary:        Lightweight linear algebra C++ template library
License:        GPL-2.0+ and LGPL-3.0+
Group:          Development/Libraries/C and C++
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Version:        2.0.16
Release:        0
%define tar_ver 9ca09dbd70ce
BuildArch:      noarch
Source:         eigen-%{version}.tar.bz2

Eigen is a lightweight C++ template library for vector and matrix math,
a.k.a. linear algebra.

%setup -q -n eigen-eigen-%{tar_ver}

  %cmake_kde4 -d build

  cd build
  make DESTDIR=%{buildroot} install