Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37571925
en ru br
ALT Linux repos
S:2.2.0-alt1.1

Group :: System/Libraries
RPM: libfann

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# $Id: fann.spec 3926 2006-01-10 22:04:21Z dries $
# Authority: dries
%define pk_name fann

Name:    libfann
Version: 2.2.0
Release: alt1.1
Summary: Fast artificial neural network library
License: LGPL
Group:   System/Libraries
URL:     http://fann.sourceforge.net/

Packager: Andrey Cherepanov <cas at altlinux.org>

Source:  http://dl.sf.net/fann/%pk_name-%version.tar.bz2

Patch1:  portable-handling-for-va_list.patch
Patch2:  fann-2.2.0-pkgconfig.patch
Patch3:  libfann-link-with-libm.patch

BuildRequires: cmake gcc-c++

%description
Fann is a fast artificial neural network library. More information and
a lot of documentation is available at http://fann.sourceforge.net/

%prep
%setup -n %pk_name-%version
%patch1 -p2
%patch2 -p1
%patch3 -p2

%build
%cmake -DPKGCONFIG_INSTALL_DIR=/%_lib/pkgconfig
%cmake_build

%install
%cmake_install
rm -f %buildroot/%_libdir/lib*fann.a

%package devel
Summary: Files for development with FANN
Group: Development/Other
Requires: libfann = %version-%release

%description devel
Development headers of FANN (Fast artificial neural network library)

%files
%doc README.txt
%_libdir/lib*.so.*
%_pkgconfigdir/fann.pc

%files devel
%_libdir/lib*.so
%_includedir/*.h

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin