-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfann.spec.in
81 lines (69 loc) · 2.19 KB
/
fann.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Summary: A fast artificial neural network library.
Name: @PACKAGE@
Version: @VERSION@
Release: 1
License: LGPL
Group: Development/Libraries
URL: http://fann.sf.net/
Source: http://prdownloads.sourceforge.net/fann/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%package devel
Summary: Development libraries for FANN
Requires: fann = @VERSION@-%{release}
Group: Development/Libraries
%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.
%description devel
This package is only needed if you intend to develop and/or compile programs based on the FANN library.
%prep
%setup -q
./configure --prefix=@prefix@
%build
make
(cd doc && make html-single)
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_libdir}/libdoublefann.so
%{_libdir}/libdoublefann.so.1
%{_libdir}/libdoublefann.so.@VERSION@
%{_libdir}/libfloatfann.so
%{_libdir}/libfloatfann.so.1
%{_libdir}/libfloatfann.so.@VERSION@
%{_libdir}/libfixedfann.so
%{_libdir}/libfixedfann.so.1
%{_libdir}/libfixedfann.so.@VERSION@
%{_libdir}/libfann.so
%{_libdir}/libfann.so.1
%{_libdir}/libfann.so.@VERSION@
%files devel
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO doc/fann.html
%{_libdir}/pkgconfig/fann.pc
%{_libdir}/libdoublefann.a
%{_libdir}/libdoublefann.la
%{_libdir}/libfloatfann.a
%{_libdir}/libfloatfann.la
%{_libdir}/libfixedfann.a
%{_libdir}/libfixedfann.la
%{_libdir}/libfann.a
%{_libdir}/libfann.la
%{_includedir}/fann.h
%{_includedir}/doublefann.h
%{_includedir}/fann_internal.h
%{_includedir}/floatfann.h
%{_includedir}/fann_data.h
%{_includedir}/fixedfann.h
%{_includedir}/compat_time.h
%{_includedir}/fann_errno.h
%{_includedir}/fann_activation.h
%changelog
* Fri Mar 30 2004 Evan Nemerson <[email protected]>
- Build and install HTML documentation.
* Fri Jan 16 2004 Evan Nemerson <[email protected]>
- Added activation header.
* Mon Jan 10 2004 Evan Nemerson <[email protected]>
- RPM created