From: Jakub Bogusz Date: Fri, 28 Nov 2003 11:28:20 +0000 (+0000) Subject: - fixed acam patch, added c++,flex patches X-Git-Url: http://git.pld-linux.org/?p=packages%2Fagfl.git;a=commitdiff_plain;h=b54c40944097bc9deac70bf01824787bca36e81b - fixed acam patch, added c++,flex patches - added description, BR: flex,glib-devel,libstdc++-devel Changed files: agfl.spec -> 1.3 --- diff --git a/agfl.spec b/agfl.spec index fca1fa4..401423d 100644 --- a/agfl.spec +++ b/agfl.spec @@ -1,5 +1,5 @@ -Summary: AGFL is the parser generator for natural languages -Summary(pl): AGFL jest generatorem parserow jezykow naturalnych +Summary: AGFL - parser generator for natural languages +Summary(pl): AGFL - generator parserów jêzyków naturalnych Name: agfl Version: 2.3 Release: 0.1 @@ -8,25 +8,38 @@ Group: Development/Languages Source0: ftp://ftp.cs.kun.nl/pub/agfl/2.0/unix/sources/%{name}-%{version}.tar.gz # Source0-md5: 59c7f460ffba3589a06bd881d1162707 Patch0: %{name}-acam.patch +Patch1: %{name}-c++.patch +Patch2: %{name}-flex.patch +URL: http://www.cs.kun.nl/agfl/ BuildRequires: autoconf BuildRequires: automake BuildRequires: cdl3 +BuildRequires: flex +BuildRequires: glib-devel >= 1.2.0 +BuildRequires: libstdc++-devel BuildRequires: libtool BuildRequires: readline-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -AGFL +The AGFL parser generation system for Natural Languages generates +efficient parsers from AGFL grammars. It includes a lexicon system +suitable for the large lexica needed in real life NLP applications. %description -l pl -AGFL +System generowania parserów AGFL dla jêzyków naturalnych generuje +wydajne parsery z gramatyk AGFL. Zawiera system leksykalny odpowiedni +dla du¿ych s³owników potrzebnych w prawdziwych aplikacjach NLP. %prep %setup -q -%patch0 +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 + +rm -f utils/scanner.cc %build -rm -f missing %{__libtoolize} %{__aclocal} %{__autoconf} @@ -38,21 +51,18 @@ rm -f missing %install rm -rf $RPM_BUILD_ROOT + %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT -%post -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 - -%postun -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 - %files %defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/* -%{_includedir}/* -%{_libdir}/* %doc doc/userdoc/*.ps README +%attr(755,root,root) %{_bindir}/* +%{_includedir}/*.h +%{_libdir}/lib*.la +%{_libdir}/lib*.a +%{_mandir}/man1/*