1 Summary: A fast artificial neural network library
2 Summary(pl.UTF-8): Szybka biblioteka do tworzenia sztucznych sieci neuronowych
8 Source0: http://downloads.sourceforge.net/fann/FANN-%{version}-Source.tar.gz
9 # Source0-md5: c9d6c8da5bb70276352a1718a668562c
10 Source1: http://downloads.sourceforge.net/fann/%{name}_doc_complete_1.0.pdf
11 # Source1-md5: 8117a677afc79dfaa31de39ca84d82da
12 Patch0: %{name}-link.patch
13 URL: http://leenissen.dk/fann/
14 BuildRequires: cmake >= 2.8
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Fast Artificial Neural Network (FANN) Library is written in ANSI C.
19 The library implements multilayer feedforward ANNs, up to 150 times
20 faster than other libraries. FANN supports execution in fixed point,
21 for fast execution on systems like the iPAQ.
23 %description -l pl.UTF-8
24 FANN (Fast Artificial Neural Network - szybkie sztuczne sieci
25 neuronowe) to biblioteka napisana w ANSI C, implementująca
26 wielowarstwowe sztuczne sieci neuronowe, do 150 razy szybsza od innych
27 bibliotek. FANN obsługuje operacje stałoprzecinkowe w celu szybkiego
28 działania na systemach typu iPAQ.
31 Summary: Development libraries for FANN
32 Summary(pl.UTF-8): Pliki nagłówkowe FANN
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
37 This package is only needed if you intend to develop and/or compile
38 programs based on the FANN library.
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe FANN, potrzebne do tworzenia programów napisanych w
42 oparciu o bibliotekę FANN.
45 Summary: FANN documentation
46 Summary(pl.UTF-8): Dokumentacja do FANN
50 Documentation for FANN.
52 %description doc -l pl.UTF-8
56 %setup -q -n FANN-%{version}-Source
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
69 DESTDIR=$RPM_BUILD_ROOT
71 install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
74 rm -rf $RPM_BUILD_ROOT
76 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
80 %defattr(644,root,root,755)
81 %doc README.txt datasets/*
82 %attr(755,root,root) %{_libdir}/libdoublefann.so.*.*.*
83 %attr(755,root,root) %ghost %{_libdir}/libdoublefann.so.2
84 %attr(755,root,root) %{_libdir}/libfann.so.*.*.*
85 %attr(755,root,root) %ghost %{_libdir}/libfann.so.2
86 %attr(755,root,root) %{_libdir}/libfixedfann.so.*.*.*
87 %attr(755,root,root) %ghost %{_libdir}/libfixedfann.so.2
88 %attr(755,root,root) %{_libdir}/libfloatfann.so.*.*.*
89 %attr(755,root,root) %ghost %{_libdir}/libfloatfann.so.2
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libdoublefann.so
94 %attr(755,root,root) %{_libdir}/libfann.so
95 %attr(755,root,root) %{_libdir}/libfixedfann.so
96 %attr(755,root,root) %{_libdir}/libfloatfann.so
98 %{_pkgconfigdir}/fann.pc
99 %{_examplesdir}/%{name}-%{version}
102 %defattr(644,root,root,755)
103 %doc fann_doc_complete_1.0.pdf