Name: fann Summary: A fast artificial neural network library Version: 2.2.0 Release: 26%{?dist} License: LGPLv2+ URL: http://leenissen.dk/fann/wp/ Source: http://downloads.sourceforge.net/fann/fann/2.2.0/FANN-%{version}-Source.tar.gz Patch0: fann-2.2.0-pkgconfig.patch Patch1: fann-memcorruption.patch BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: make %description Fast Artificial Neural Network (FANN) Library is written in ANSI C. The library implements multilayer feedforward ANNs, up to 150 times faster than other libraries. FANN supports execution in fixed point, for fast execution on systems like the iPAQ. %package devel Summary: Development libraries for FANN Requires: %{name} = %{version}-%{release} pkgconfig %description devel This package is only needed if you intend to develop and/or compile programs based on the FANN library. %prep %setup -q -n FANN-%{version}-Source %patch0 -p1 %patch1 -p1 -b .memcorruption LIBS=-lm export LIBS %build %{cmake} -DPKGCONFIG_INSTALL_DIR=/%{_lib}/pkgconfig make -C "%{_vpath_builddir}" %install make -C "%{_vpath_builddir}" DESTDIR=$RPM_BUILD_ROOT install find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \; %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license COPYING.txt %doc README.txt %{_libdir}/libdoublefann.so.2 %{_libdir}/libdoublefann.so.2.2.0 %{_libdir}/libfloatfann.so.2 %{_libdir}/libfloatfann.so.2.2.0 %{_libdir}/libfixedfann.so.2 %{_libdir}/libfixedfann.so.2.2.0 %{_libdir}/libfann.so.2 %{_libdir}/libfann.so.2.2.0 %files devel %{_libdir}/pkgconfig/fann.pc %{_libdir}/libdoublefann.so %{_libdir}/libfann.so %{_libdir}/libfixedfann.so %{_libdir}/libfloatfann.so %{_includedir}/*.h %changelog * Fri Aug 19 2022 Tomas Smetana - 2.2.0-26 - Fix building with new CMake: rhbz#2113219 * Thu Jul 21 2022 Fedora Release Engineering - 2.2.0-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 2.2.0-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 2.2.0-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.2.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Aug 06 2020 Tomas Smetana - 2.2.0-21 - Fix #1863526: Update spec for the new cmake * Sat Aug 01 2020 Fedora Release Engineering - 2.2.0-20 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 2.2.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 2.2.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 2.2.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 2.2.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 2.2.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 2.2.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Aug 25 2017 Peter Robinson 2.2.0-13 - Modernise spec * Wed Aug 02 2017 Fedora Release Engineering - 2.2.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.2.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 2.2.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 2.2.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 2.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Aug 16 2014 Fedora Release Engineering - 2.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 2.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Jan 01 2014 Remi Collet - 2.2.0-5 - fix memory corruption in fann_error, #1047627 * Sat Aug 03 2013 Fedora Release Engineering - 2.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 2.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 2.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Apr 24 2012 Tomas Smetana - 2.2.0-1 - update to the version 2.2.0 (thanks to Jaroslav Reznik) * Fri Jan 13 2012 Fedora Release Engineering - 2.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 2.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 2.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Jun 11 2009 Tomas Smetana 2.0.0-6 - There is no html documentation, don't try to build it * Tue Feb 24 2009 Fedora Release Engineering - 2.0.0-5.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 12 2008 Tomas Smetana 2.0.0-4.1 - rebuild (gcc-4.3) * Mon Aug 20 2007 Tomas Smetana 2.0.0-4 - License tag update * Wed Aug 01 2007 Tomas Smetana 2.0.0-3 - Ensure linking against libm * Mon Jul 09 2007 Tomas Smetana 2.0.0-2 - Disable static libraries, fix BuildRoot, move headers to subdirectory * Thu Jun 21 2007 Tomas Smetana 2.0.0-1 - Bump release * Thu Jun 21 2007 Tomas Smetana 2.0.0-0 - Updated spec file. * Fri Mar 30 2004 Evan Nemerson - Build and install HTML documentation. * Fri Jan 16 2004 Evan Nemerson - Added activation header. * Mon Jan 10 2004 Evan Nemerson - RPM created