]> git.pld-linux.org Git - packages/agfl.git/blob - agfl.spec
- fixed acam patch, added c++,flex patches
[packages/agfl.git] / agfl.spec
1 Summary:        AGFL - parser generator for natural languages
2 Summary(pl):    AGFL - generator parserów jêzyków naturalnych
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
9 # Source0-md5:  59c7f460ffba3589a06bd881d1162707
10 Patch0:         %{name}-acam.patch
11 Patch1:         %{name}-c++.patch
12 Patch2:         %{name}-flex.patch
13 URL:            http://www.cs.kun.nl/agfl/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  cdl3
17 BuildRequires:  flex
18 BuildRequires:  glib-devel >= 1.2.0
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  libtool
21 BuildRequires:  readline-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
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.
28
29 %description -l pl
30 System generowania parserów AGFL dla jêzyków naturalnych generuje
31 wydajne parsery z gramatyk AGFL. Zawiera system leksykalny odpowiedni
32 dla du¿ych s³owników potrzebnych w prawdziwych aplikacjach NLP.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37 %patch1 -p1
38 %patch2 -p1
39
40 rm -f utils/scanner.cc
41
42 %build
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
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc doc/userdoc/*.ps README
64 %attr(755,root,root) %{_bindir}/*
65 %{_includedir}/*.h
66 %{_libdir}/lib*.la
67 %{_libdir}/lib*.a
68 %{_mandir}/man1/*
This page took 0.076542 seconds and 3 git commands to generate.