File shogun.spec of Package shogun
#
# spec file for package shogun
#
# 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: shogun
Version: 2.0.0
Release: 0
License: GPL-3.0+
Summary: A large scale machine learning toolbox.
Url: http://www.shogun-toolbox.org/page/home/
Group: Development/Libraries/c_c++
Source: ftp://shogun-toolbox.org/shogun/releases/2.0/sources/%{name}-%{version}.tar.bz2
BuildRequires: R-base-devel
BuildRequires: ant-antlr
BuildRequires: arpack-ng
BuildRequires: arpack-ng-devel
BuildRequires: blas-devel
BuildRequires: cblas-devel
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: gcc-java
BuildRequires: glpk-devel
BuildRequires: hdf5-devel >= 1.8.0
BuildRequires: lapack-devel
BuildRequires: lapacke-devel
BuildRequires: java-devel
BuildRequires: libbz2-devel
BuildRequires: libeigen3-devel
BuildRequires: libjson-devel
BuildRequires: libscalapack2-openmpi-devel-static
BuildRequires: libxml2-devel >= 2.7.0
BuildRequires: lpsolve-devel
BuildRequires: lua-devel
BuildRequires: lua-libs
BuildRequires: lzo-devel
BuildRequires: mono-devel
BuildRequires: nlopt-devel
BuildRequires: octave-devel
BuildRequires: parpack-openmpi
BuildRequires: parpack-openmpi-devel
BuildRequires: python-devel
BuildRequires: python-numpy-devel
BuildRequires: python-scipy-weave
BuildRequires: python-scikit-learn
BuildRequires: readline-devel
BuildRequires: ruby-devel
BuildRequires: superlu-devel
BuildRequires: swig
BuildRequires: xz-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The machine learning toolbox's focus is on large scale kernel methods
and especially on Support Vector Machines (SVM) [1]. It provides a
generic SVM object interfacing to several different SVM
implementations, among them the state of the art OCAS [21],
Liblinear [20], LibSVM [2], SVMLight, [3] SVMLin [4] and GPDT [5].
Each of the SVMs can be combined with a variety of kernels. The
toolbox not only provides efficient implementations of the most
common kernels, like the Linear, Polynomial, Gaussian and Sigmoid
Kernel but also comes with a number of recent string kernels as e.g.
the Locality Improved [6], Fischer [7], TOP [8], Spectrum [9],
Weighted Degree Kernel (with shifts) [10] [11] [12]. For the latter
the efficient LINADD [12] optimizations are implemented.
%prep
%setup -q -n %{name}-%{version}
%build
cd src
./configure --disable-svm-light
make
%install
cd src
%makeinstall
%files
%defattr(-,root,root,-)
%doc README
%changelog