Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37402934
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: libfann

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin