]>
Commit | Line | Data |
---|---|---|
b54c4094 | 1 | Summary: AGFL - parser generator for natural languages |
19367d16 | 2 | Summary(pl.UTF-8): AGFL - generator parserów języków naturalnych |
6b020b40 | 3 | Name: agfl |
4 | Version: 2.3 | |
5 | Release: 0.1 | |
6 | License: GPL, partialy LGPL | |
7 | Group: Development/Languages | |
8 | Source0: ftp://ftp.cs.kun.nl/pub/agfl/2.0/unix/sources/%{name}-%{version}.tar.gz | |
fae3c91c | 9 | # Source0-md5: 59c7f460ffba3589a06bd881d1162707 |
6b020b40 | 10 | Patch0: %{name}-acam.patch |
b54c4094 JB |
11 | Patch1: %{name}-c++.patch |
12 | Patch2: %{name}-flex.patch | |
13 | URL: http://www.cs.kun.nl/agfl/ | |
6b020b40 | 14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
16 | BuildRequires: cdl3 | |
b54c4094 JB |
17 | BuildRequires: flex |
18 | BuildRequires: glib-devel >= 1.2.0 | |
19 | BuildRequires: libstdc++-devel | |
6b020b40 | 20 | BuildRequires: libtool |
21 | BuildRequires: readline-devel | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
b54c4094 JB |
25 | The AGFL parser generation system for Natural Languages generates |
26 | efficient parsers from AGFL grammars. It includes a lexicon system | |
27 | suitable for the large lexica needed in real life NLP applications. | |
6b020b40 | 28 | |
de5d6e96 JR |
29 | %description -l pl.UTF-8 |
30 | System generowania parserów AGFL dla języków naturalnych generuje | |
b54c4094 | 31 | wydajne parsery z gramatyk AGFL. Zawiera system leksykalny odpowiedni |
de5d6e96 | 32 | dla dużych słowników potrzebnych w prawdziwych aplikacjach NLP. |
6b020b40 | 33 | |
34 | %prep | |
35 | %setup -q | |
b54c4094 JB |
36 | %patch0 -p1 |
37 | %patch1 -p1 | |
38 | %patch2 -p1 | |
39 | ||
40 | rm -f utils/scanner.cc | |
6b020b40 | 41 | |
42 | %build | |
6b020b40 | 43 | %{__libtoolize} |
44 | %{__aclocal} | |
45 | %{__autoconf} | |
46 | %{__automake} | |
47 | %configure \ | |
48 | --with-readline=%{_usr} | |
49 | ||
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
b54c4094 | 54 | |
6b020b40 | 55 | %{__make} install \ |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
6b020b40 | 61 | %files |
62 | %defattr(644,root,root,755) | |
6b020b40 | 63 | %doc doc/userdoc/*.ps README |
b54c4094 JB |
64 | %attr(755,root,root) %{_bindir}/* |
65 | %{_includedir}/*.h | |
66 | %{_libdir}/lib*.la | |
67 | %{_libdir}/lib*.a | |
68 | %{_mandir}/man1/* |