File link-grammar.spec of Package link-grammar

#
# spec file for package link-grammar (Version 4.3.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


BuildRequires:  glibc-devel libgcj43-devel

Name:           link-grammar
License:        BSD 3-Clause
Group:          Productivity/Text/Spell
AutoReqProv:    on
Version:        4.3.4
Release:        3
Summary:        An English grammar checker
Url:            http://www.abisource.com/projects/link-grammar/
Source:         %{name}-%{version}.tar.bz2
Patch:          link-grammar-strncat-param.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The Link Grammar Parser is a syntactic parser of English, 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
labeled 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.).



Authors:
--------
    Davy Temperley: http://theory.esm.rochester.edu/temperley/
    Daniel Sleator: http://www.cs.cmu.edu/~sleator/
    John Lafferty: http://www.cs.cmu.edu/~lafferty/
    Dom Lachowicz (domlachowicz@gmail.com)
    Linas Vepstas (linasvepstas@gmail.com)

%package devel
License:        BSD 3-Clause
Summary:        An English grammar checker (Development files)
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}-%{release}

%description devel
The Link Grammar Parser is a syntactic parser of English, 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
labeled 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.).

This package contains the development files.



Authors:
--------
    Davy Temperley: http://theory.esm.rochester.edu/temperley/
    Daniel Sleator: http://www.cs.cmu.edu/~sleator/
    John Lafferty: http://www.cs.cmu.edu/~lafferty/
    Dom Lachowicz (domlachowicz@gmail.com)
    Linas Vepstas (linasvepstas@gmail.com)

%prep
%setup
%patch -p0

%build
%configure
%__make

%install
%makeinstall

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean 
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog LICENSE MAINTAINERS README TODO
%{_bindir}/*
%{_libdir}/*.so.*
%{_datadir}/link-grammar
%{_datadir}/man/man1/*

%files devel
%defattr(-, root, root)
%dir %{_includedir}/link-grammar
%{_includedir}/link-grammar/*.h
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc

%changelog
* Thu Apr 03 2008 hfiguiere@suse.de
- Make rpmlint happier
* Tue Apr 01 2008 hfiguiere@suse.de
- Fix -devel package dependency
* Tue Apr 01 2008 hfiguiere@suse.de
- Initial package, version 4.3.4.
  * Needed for AbiWord 2.6.0 (bnc#374240)
openSUSE Build Service is sponsored by