File viennagrid.spec of Package viennagrid

# spec file for package viennagrid
# 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:           viennagrid
Version:        2.1.0
Release:        0
Summary:        A C++ library designed for the handling of structured and unstructured meshes
License:        MIT
Group:          Development/Languages/C and C++
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  doxygen
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

ViennaGrid is a C++ library designed for the handling of structured and unstructured meshes in arbitrary spatial dimensions using different coordinate systems. The use of template metaprogramming techniques provides high performance and convenience.

%setup -q -n %{name}-dev-release-%{version}

%cmake -DBUILD_DOXYGEN_DOCS=ON -DINSTALL_CMAKE_DIR=%{_libdir}/cmake/viennagrid

cd ..

install -d %{buildroot}%{_docdir}/%{name}/html
cp -r build/doc/doxygen/html %{buildroot}%{_docdir}/%{name}/

%package devel
Summary: Development files for viennagrid
Group: Development/Libraries/C and C++
%description devel
This package contains the header files for development with viennagrid

%files devel

%package doc
Summary: Documentation for viennagrid
Group: Documentation/Other
%description doc
This package contains the API documentation for viennagrid

%files doc