-
Notifications
You must be signed in to change notification settings - Fork 49
/
annabell.spec.in
48 lines (37 loc) · 1.43 KB
/
annabell.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
Name: annabell
Version: @VERSION@
Release: 1%{?dist}
Summary: A neural architecture able to learn the natural language
Group: Applications/Engineering and Scientific
License: nonstandard
Packager: Bruno Golosio <golosio@uniss.it>
URL:
Source: annabell-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: gcc gcc-c++ libstdc++-devel
Requires: libstdc++
%description
ANNABELL is a large-scale cognitive system, entirely based on an artificial neural network, able to learn complex aspects of natural language starting from tabula rasa, without any a priori knowledge of the structure of phrases, meaning of words, role of the different classes of words, only by communicating with a human through a text-based interface, in a similar way as humans themselves do.
%prep
%setup -q
%build
%configure
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
libtool --finish $RPM_BUILD_ROOT%{_libdir}
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/annabell/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/annabell
%{_prefix}/share/examples/annabell/*
%{_prefix}/share/doc/annabell/annabell_@VERSION@_man.pdf
%changelog
* Thu Jun 26 2014 Bruno Golosio
- First version of spec file