]> git.pld-linux.org Git - packages/fann.git/blame - fann.spec
Update to 2.2.0 (-static subpackage and python bindings are no longer available)
[packages/fann.git] / fann.spec
CommitLineData
5d7fa531 1Summary: A fast artificial neural network library
60f137b5 2Summary(pl.UTF-8): Szybka biblioteka do tworzenia sztucznych sieci neuronowych
5d7fa531 3Name: fann
7fd004fb
MB
4Version: 2.2.0
5Release: 1
5d7fa531 6License: LGPL
31b0c84c 7Group: Libraries
7fd004fb
MB
8Source0: http://downloads.sourceforge.net/fann/FANN-%{version}-Source.tar.gz
9# Source0-md5: c9d6c8da5bb70276352a1718a668562c
10Source1: http://downloads.sourceforge.net/fann/%{name}_doc_complete_1.0.pdf
b852ca22 11# Source1-md5: 8117a677afc79dfaa31de39ca84d82da
7fd004fb 12Patch0: %{name}-link.patch
9c8085b1 13URL: http://leenissen.dk/fann/
7fd004fb 14BuildRequires: cmake >= 2.8
5d7fa531 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Fast Artificial Neural Network (FANN) Library is written in ANSI C.
19The library implements multilayer feedforward ANNs, up to 150 times
20faster than other libraries. FANN supports execution in fixed point,
21for fast execution on systems like the iPAQ.
22
6d2204d0 23%description -l pl.UTF-8
31b0c84c 24FANN (Fast Artificial Neural Network - szybkie sztuczne sieci
6d2204d0 25neuronowe) to biblioteka napisana w ANSI C, implementująca
31b0c84c 26wielowarstwowe sztuczne sieci neuronowe, do 150 razy szybsza od innych
6d2204d0
JR
27bibliotek. FANN obsługuje operacje stałoprzecinkowe w celu szybkiego
28działania na systemach typu iPAQ.
31b0c84c 29
5d7fa531 30%package devel
31Summary: Development libraries for FANN
60f137b5 32Summary(pl.UTF-8): Pliki nagłówkowe FANN
5d7fa531 33Group: Development/Libraries
31b0c84c 34Requires: %{name} = %{version}-%{release}
5d7fa531 35
36%description devel
37This package is only needed if you intend to develop and/or compile
38programs based on the FANN library.
39
6d2204d0
JR
40%description devel -l pl.UTF-8
41Pliki nagłówkowe FANN, potrzebne do tworzenia programów napisanych w
42oparciu o bibliotekę FANN.
5d7fa531 43
b852ca22
MB
44%package doc
45Summary: FANN documentation
60f137b5 46Summary(pl.UTF-8): Dokumentacja do FANN
b852ca22 47Group: Documentation
b852ca22
MB
48
49%description doc
0683ba34 50Documentation for FANN.
b852ca22 51
6d2204d0 52%description doc -l pl.UTF-8
0683ba34 53Dokumentacja do FANN.
b852ca22 54
5d7fa531 55%prep
7fd004fb 56%setup -q -n FANN-%{version}-Source
b852ca22 57cp %{SOURCE1} .
5d7fa531 58%patch0 -p1
59
60%build
7fd004fb 61%cmake .
0683ba34 62%{__make}
5d7fa531 63
64%install
65rm -rf $RPM_BUILD_ROOT
7fd004fb 66install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
31b0c84c
JB
67
68%{__make} install \
69 DESTDIR=$RPM_BUILD_ROOT
5d7fa531 70
70da6979 71install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
5d7fa531 72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
31b0c84c
JB
76%post -p /sbin/ldconfig
77%postun -p /sbin/ldconfig
78
5d7fa531 79%files
80%defattr(644,root,root,755)
7fd004fb 81%doc README.txt datasets/*
cab3df65
MB
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
5d7fa531 90
91%files devel
92%defattr(644,root,root,755)
cab3df65
MB
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
5d7fa531 97%{_includedir}/*.h
31b0c84c 98%{_pkgconfigdir}/fann.pc
70da6979 99%{_examplesdir}/%{name}-%{version}
5d7fa531 100
b852ca22
MB
101%files doc
102%defattr(644,root,root,755)
7fd004fb 103%doc fann_doc_complete_1.0.pdf
This page took 0.073003 seconds and 4 git commands to generate.