From 1a490a962450933f4481aaf316860f6ad00e8894 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 06:17:51 +0100 Subject: [PATCH] automatic version update by autodist [release 4.8.6-1mamba;Sun Mar 02 2014] --- README.md | 2 + link-grammar.spec | 113 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) create mode 100644 link-grammar.spec diff --git a/README.md b/README.md index 0e20e9f..552085c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # link-grammar +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. + diff --git a/link-grammar.spec b/link-grammar.spec new file mode 100644 index 0000000..cf821f0 --- /dev/null +++ b/link-grammar.spec @@ -0,0 +1,113 @@ +Name: link-grammar +Version: 4.8.6 +Release: 1mamba +Summary: A syntactic parser of English, Russian, Arabic and Persian (and other languages as well) +Group: Applications/Publishing +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.abisource.com/projects/link-grammar/ +Source: http://www.abisource.com/downloads/link-grammar/%{version}/link-grammar-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: aspell-devel +BuildRequires: glibc-devel +BuildRequires: libedit-devel +BuildRequires: libtermcap-devel +## AUTOBUILDREQ-END +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. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-java +Group: System/Libraries +Summary: Java libraries for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-java +This package contains the Java libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name}-java = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/link-parser + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/liblink-grammar.so.* +%dir %{_datadir}/link-grammar/any/ +%{_datadir}/link-grammar/any/* +%lang(de) %dir %{_datadir}/link-grammar/de +%lang(de) %{_datadir}/link-grammar/de/* +%dir %{_datadir}/link-grammar/en +%{_datadir}/link-grammar/en/* +%lang(lt) %dir %{_datadir}/link-grammar/lt +%lang(lt) %{_datadir}/link-grammar/lt/* +%lang(ru) %dir %{_datadir}/link-grammar/ru +%lang(ru) %{_datadir}/link-grammar/ru/* +%doc AUTHORS COPYING LICENSE + +%files -n lib%{name}-java +%defattr(-,root,root) +%{_libdir}/liblink-grammar-java.so.* +%{_datadir}/java/linkgrammar-%{version}.jar +%{_datadir}/java/linkgrammar.jar + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/link-grammar +%{_includedir}/link-grammar/*.h +%{_libdir}/liblink-grammar-java.a +%{_libdir}/liblink-grammar-java.la +%{_libdir}/liblink-grammar-java.so +%{_libdir}/liblink-grammar.a +%{_libdir}/liblink-grammar.la +%{_libdir}/liblink-grammar.so +%{_libdir}/pkgconfig/link-grammar.pc +%{_mandir}/man1/link-parser.1.gz +%doc ChangeLog README TODO + +%changelog +* Sun Mar 02 2014 Automatic Build System 4.8.6-1mamba +- automatic version update by autodist + +* Fri Aug 16 2013 Silvan Calarco 4.7.14-1mamba +- package created by silvan using the webbuild interface