160 lines
5.4 KiB
RPMSpec
160 lines
5.4 KiB
RPMSpec
Name: link-grammar
|
|
Version: 5.3.7
|
|
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 <silvan.calarco@mambasoft.it>
|
|
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: glibc-devel
|
|
BuildRequires: libedit-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libhunspell-devel
|
|
BuildRequires: libsqlite-devel
|
|
BuildRequires: libstdc++6-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
|
|
#%{_bindir}/dict-reopen
|
|
%dir %{_datadir}/link-grammar/amy
|
|
%{_datadir}/link-grammar/amy/*
|
|
%dir %{_datadir}/link-grammar/any/
|
|
%{_datadir}/link-grammar/any/*
|
|
%dir %{_datadir}/link-grammar/kz
|
|
%{_datadir}/link-grammar/kz/*
|
|
%dir %{_datadir}/link-grammar/vn
|
|
%{_datadir}/link-grammar/vn/*
|
|
%lang(ar) %dir %{_datadir}/link-grammar/ar/
|
|
%lang(ar) %{_datadir}/link-grammar/ar/*
|
|
%lang(de) %dir %{_datadir}/link-grammar/de
|
|
%lang(de) %{_datadir}/link-grammar/de/*
|
|
%dir %{_datadir}/link-grammar/en
|
|
%{_datadir}/link-grammar/en/*
|
|
%lang(fa) %dir %{_datadir}/link-grammar/fa
|
|
%lang(fa) %{_datadir}/link-grammar/fa/*
|
|
%lang(he) %dir %{_datadir}/link-grammar/he
|
|
%lang(he) %{_datadir}/link-grammar/he/*
|
|
%lang(id) %{_datadir}/link-grammar/id/*
|
|
%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/*
|
|
%lang(tr) %dir %{_datadir}/link-grammar/tr
|
|
%lang(tr) %{_datadir}/link-grammar/tr/*
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/liblink-grammar.so.*
|
|
%{_libdir}/libminisat.so.*
|
|
#%{_libdir}/libsat-solver.so.*
|
|
#%{perl_sitearch}/clinkgrammar.*
|
|
%doc AUTHORS 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}/libminisat.a
|
|
%{_libdir}/libminisat.la
|
|
%{_libdir}/libminisat.so
|
|
#%{_libdir}/libsat-solver.a
|
|
#%{_libdir}/libsat-solver.la
|
|
#%{_libdir}/libsat-solver.so
|
|
%{_libdir}/pkgconfig/link-grammar.pc
|
|
#%{_mandir}/man1/link-parser.1*
|
|
#%doc ChangeLog README TODO
|
|
|
|
%changelog
|
|
* Mon Aug 08 2016 Automatic Build System <autodist@mambasoft.it> 5.3.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Mar 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.3-3mamba
|
|
- moved %{_datadir} files from lib to main package
|
|
|
|
* Fri Mar 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.3-2mamba
|
|
- move libminisat.so.* from -java to lib package
|
|
|
|
* Tue Mar 01 2016 Automatic Build System <autodist@mambasoft.it> 5.3.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 26 2016 Automatic Build System <autodist@mambasoft.it> 5.2.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Oct 26 2014 Automatic Build System <autodist@mambasoft.it> 5.1.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Mar 02 2014 Automatic Build System <autodist@mambasoft.it> 4.8.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Aug 16 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.14-1mamba
|
|
- package created by silvan using the webbuild interface
|