File libeigen2-devel.spec of Package libeigen2-devel

#
# spec file for package libeigen2-devel
#
# Copyright (c) 2014 SUSE LINUX Products 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:           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
Url:            http://eigen.tuxfamily.org/
Version:        2.0.16
Release:        0
%define tar_ver 9ca09dbd70ce
BuildArch:      noarch
Source:         eigen-%{version}.tar.bz2
Patch:          altivec-packetmath.patch

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

%prep
%setup -q -n eigen-eigen-%{tar_ver}
%patch -p1

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  make DESTDIR=%{buildroot} install

%files
%defattr(-,root,root)
%doc COPYING COPYING.LESSER
/usr/include/eigen2
/usr/share/pkgconfig/eigen2.pc

%changelog