File mdds.spec of Package mdds

#
# spec file for package libexttextcat
#
# Copyright (c) 2012 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:           mdds
Version:        0.6.1
Release:        1
Url:            http://code.google.com/p/multidimalgorithm/
License:        MIT
Source:         %{name}_%{version}.tar.bz2
Group:          Development/Libraries/C and C++
Summary:        A collection of multi-dimensional data structure and indexing algorithm
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc-c++, libstdc++-devel, boost-devel 
Requires:       boost-devel >= 1.39

%description
This library provides a collection of multi-dimensional data structure and indexing
algorithm.  All data structures are available as C++ templates, hence this is a 
header-only library, with no shared library to link against.

%package        devel
Group:          Development/Libraries/C and C++
Summary:        A collection of multi-dimensional data structure and indexing algorithm

%description    devel
This library provides a collection of multi-dimensional data structure and indexing
algorithms.  All data structures are available as C++ templates, hence this is a 
header-only library, with no shared library to link against.

%define _docdir %{_defaultdocdir}/%{name}-devel

%prep
%setup -q -n %{name}_%{version}

%build
%configure --docdir=%{_docdir}
make %{?_smp_mflags}

%check
#make check

%install
make DESTDIR=%buildroot install

%files devel
%defattr(-,root,root)
%doc %{_docdir}
%{_includedir}/%{name}

%changelog
openSUSE Build Service is sponsored by