From b68e10834003dd8530d02f8b032c0aded2a77c28 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 06:17:52 +0100 Subject: [PATCH] automatic version update by autodist [release 5.10.2-1mamba;Tue Dec 14 2021] --- link-grammar.spec | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/link-grammar.spec b/link-grammar.spec index f916ac1..287d356 100644 --- a/link-grammar.spec +++ b/link-grammar.spec @@ -1,5 +1,5 @@ Name: link-grammar -Version: 5.8.0 +Version: 5.10.2 Release: 1mamba Summary: A syntactic parser of English, Russian, Arabic and Persian (and other languages as well) Group: Applications/Publishing @@ -14,6 +14,8 @@ BuildRequires: glibc-devel BuildRequires: libedit-devel BuildRequires: libgcc BuildRequires: libhunspell-devel +BuildRequires: libpcre2-devel +BuildRequires: libpython3-devel BuildRequires: libsqlite-devel BuildRequires: libstdc++6-devel BuildRequires: libtermcap-devel @@ -21,7 +23,6 @@ BuildRequires: libtermcap-devel BuildRequires: jpackage-utils BuildRequires: libedit-devel >= 3.1_20130712 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The Link Grammar Parser is a syntactic parser of English, Russian, Arabic and Persian (and other languages as well), based on link grammar, an original theory of English syntax. Given a sentence, the system assigns to it a syntactic structure, which consists of a set of labelled links connecting pairs of words. The parser also produces a "constituent" (Penn tree-bank style phrase tree) representation of a sentence (showing noun phrases, verb phrases, etc.). The RelEx extension provides dependency-parse output. @@ -56,7 +57,9 @@ This package contains libraries and header files for developing applications tha %setup -q %build -%configure +%configure \ + PYTHON=%{__python3} + %make %install @@ -72,7 +75,7 @@ This package contains libraries and header files for developing applications tha %files %defattr(-,root,root) %{_bindir}/link-parser -#%{_bindir}/dict-reopen +%{_bindir}/link-generator %dir %{_datadir}/link-grammar/ady %{_datadir}/link-grammar/ady/* %dir %{_datadir}/link-grammar/amy @@ -83,7 +86,6 @@ This package contains libraries and header files for developing applications tha %{_datadir}/link-grammar/kz/* %dir %{_datadir}/link-grammar/vn %{_datadir}/link-grammar/vn/* -%{_mandir}/man1/link-parser.1* %lang(ar) %dir %{_datadir}/link-grammar/ar/ %lang(ar) %{_datadir}/link-grammar/ar/* %lang(de) %dir %{_datadir}/link-grammar/de @@ -102,18 +104,19 @@ This package contains libraries and header files for developing applications tha %lang(ru) %{_datadir}/link-grammar/ru/* %lang(tr) %dir %{_datadir}/link-grammar/tr %lang(tr) %{_datadir}/link-grammar/tr/* +%{_mandir}/man1/link-parser.1* +%{_mandir}/man1/link-generator.1* %files -n lib%{name} %defattr(-,root,root) %{_libdir}/liblink-grammar.so.* -#%dir %{python27_sitelib}/linkgrammar -#%{python27_sitelib}/linkgrammar/* %dir %{python3_sitelib}/linkgrammar %{python3_sitelib}/linkgrammar/* %{python3_sitelib}/linkgrammar.pth -#%{_libdir}/libminisat.so.* -#%{_libdir}/libsat-solver.so.* -#%{perl_sitearch}/clinkgrammar.* +%ifarch x86_64 aarch64 +%dir %{python3_sitearch}/linkgrammar +%{python3_sitearch}/linkgrammar/* +%endif %doc AUTHORS LICENSE %files -n lib%{name}-java @@ -145,6 +148,9 @@ This package contains libraries and header files for developing applications tha #%doc ChangeLog README TODO %changelog +* Tue Dec 14 2021 Automatic Build System 5.10.2-1mamba +- automatic version update by autodist + * Tue Apr 07 2020 Automatic Build System 5.8.0-1mamba - automatic version update by autodist