Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:cabelo:Manakin
libfann2
fann.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fann.spec of Package libfann2
Summary: A fast artificial neural network library Name: fann Version: 2.2.0 Release: 16.1 License: LGPLv2+ Group: Development/Libraries URL: http://fann.sf.net/ Source: http://downloads.sourceforge.net/fann/fann/2.2.0/FANN-%{version}-Source.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: cmake, gcc-c++ Patch0: fann-2.2.0-pkgconfig.patch %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 Group: Development/Libraries 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 LIBS=-lm export LIBS mkdir -p %{_target_platform} pushd %{_target_platform} %ifarch x86_64 cmake -DPKGCONFIG_INSTALL_DIR=/%{_lib}/pkgconfig -D CMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=64 .. %endif %ifarch i586 cmake -DPKGCONFIG_INSTALL_DIR=/%{_lib}/pkgconfig -D CMAKE_INSTALL_PREFIX=/usr .. %endif popd %build make %{?_smp_mflags} -C %{_target_platform} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} install find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \; %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING.txt 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 %defattr(-,root,root) %{_libdir}/pkgconfig/fann.pc %{_libdir}/libdoublefann.so %{_libdir}/libfann.so %{_libdir}/libfixedfann.so %{_libdir}/libfloatfann.so %{_includedir}/*.h %changelog * Mon Sep 22 2014 Urs Beyerle <urs.beyerle@env.ethz.ch> - 2.2.0-2 - spec for openSUSE * Tue Apr 24 2012 Tomas Smetana <tsmetana@redhat.com> - 2.2.0-1 - update to the version 2.2.0 (thanks to Jaroslav Reznik) * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Jun 11 2009 Tomas Smetana <tsmetana@redhat.com> 2.0.0-6 - There is no html documentation, don't try to build it * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-5.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 12 2008 Tomas Smetana <tsmetana@redhat.com> 2.0.0-4.1 - rebuild (gcc-4.3) * Mon Aug 20 2007 Tomas Smetana <tsmetana@redhat.com> 2.0.0-4 - License tag update * Wed Aug 01 2007 Tomas Smetana <tsmetana@redhat.com> 2.0.0-3 - Ensure linking against libm * Mon Jul 09 2007 Tomas Smetana <tsmetana@redhat.com> 2.0.0-2 - Disable static libraries, fix BuildRoot, move headers to subdirectory * Thu Jun 21 2007 Tomas Smetana <tsmetana@redhat.com> 2.0.0-1 - Bump release * Thu Jun 21 2007 Tomas Smetana <tsmetana@redhat.com> 2.0.0-0 - Updated spec file. * Fri Mar 30 2004 Evan Nemerson <evan@coeus-group.com> - Build and install HTML documentation. * Fri Jan 16 2004 Evan Nemerson <evan@coeus-group.com> - Added activation header. * Mon Jan 10 2004 Evan Nemerson <evan@coeus-group.com> - RPM created
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor