]>
Commit | Line | Data |
---|---|---|
6b020b40 | 1 | Summary: AGFL is the parser generator for natural languages |
2 | Summary(pl): AGFL jest generatorem parserow jezykow 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 | |
fae3c91c | 9 | # Source0-md5: 59c7f460ffba3589a06bd881d1162707 |
6b020b40 | 10 | Patch0: %{name}-acam.patch |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: cdl3 | |
14 | BuildRequires: libtool | |
15 | BuildRequires: readline-devel | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | AGFL | |
20 | ||
21 | %description -l pl | |
22 | AGFL | |
23 | ||
24 | %prep | |
25 | %setup -q | |
26 | %patch0 | |
27 | ||
28 | %build | |
29 | rm -f missing | |
30 | %{__libtoolize} | |
31 | %{__aclocal} | |
32 | %{__autoconf} | |
33 | %{__automake} | |
34 | %configure \ | |
35 | --with-readline=%{_usr} | |
36 | ||
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | %{__make} install \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %post | |
48 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 | |
49 | ||
50 | %postun | |
51 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %attr(755,root,root) %{_bindir}/* | |
56 | %{_includedir}/* | |
57 | %{_libdir}/* | |
58 | %doc doc/userdoc/*.ps README |