link-grammar/link-grammar.spec

114 lines
3.8 KiB
RPMSpec
Raw Normal View History

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 <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: 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 <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