84f71e2
Summary: A full-service natural language dependency parser
johannes lips af5ab9b
Name: link-grammar
0f5f198
Version: 5.8.0
7804186
Release: 4%{?dist}
68bd864
License: LGPLv2+
johannes lips af5ab9b
Source: http://www.abisource.com/downloads/link-grammar/%{version}/link-grammar-%{version}.tar.gz
johannes lips af5ab9b
URL: http://abisource.com/projects/link-grammar/
10a337c
BuildRequires: hunspell-devel, java-devel, jpackage-utils, libedit-devel, ant, perl-devel, python3-devel
Niels de Vos 0851ecc
BuildRequires: perl-generators, minisat2-devel, autoconf, automake, libtool, autoconf-archive, gcc-c++
johannes lips af5ab9b
johannes lips af5ab9b
%description
84f71e2
A full-service natural language dependency parser for
84f71e2
English and Russian, with prototypes for other assorted languages.
johannes lips af5ab9b
johannes lips af5ab9b
%package devel
johannes lips af5ab9b
Summary: Support files necessary to compile applications with liblink-grammar
johannes lips af5ab9b
Requires: link-grammar = %{version}-%{release}
johannes lips af5ab9b
johannes lips af5ab9b
%description devel
johannes lips af5ab9b
Libraries, headers, and support files needed for using liblink-grammar.
johannes lips af5ab9b
johannes lips af5ab9b
%package java
johannes lips af5ab9b
Summary: Java libraries for liblink-grammar
1fbc5b9
Requires: java-headless >= 1:1.6.0
johannes lips af5ab9b
Requires: jpackage-utils
johannes lips af5ab9b
Requires: link-grammar = %{version}-%{release}
johannes lips af5ab9b
johannes lips af5ab9b
%description java
johannes lips af5ab9b
Java libraries for liblink-grammar
johannes lips af5ab9b
johannes lips af5ab9b
%package java-devel
johannes lips af5ab9b
Summary: Support files necessary to compile Java applications with liblink-grammar
johannes lips af5ab9b
Requires: link-grammar-java = %{version}-%{release}
johannes lips af5ab9b
Requires: link-grammar-devel = %{version}-%{release}
johannes lips af5ab9b
johannes lips af5ab9b
%description java-devel
johannes lips af5ab9b
Libraries for developing Java components using liblink-grammar.
johannes lips af5ab9b
68bd864
%package perl
68bd864
Summary: Perl libraries for liblink-grammar
9d47f44
Requires: perl-interpreter
68bd864
Requires: link-grammar = %{version}-%{release}
68bd864
68bd864
%description perl
68bd864
Perl libraries for liblink-grammar
68bd864
bb9a897
%package python3
bb9a897
Summary: Python 3 libraries for liblink-grammar
bb9a897
Requires: link-grammar = %{version}-%{release}
bb9a897
bb9a897
%description python3
bb9a897
Python 3 libraries for liblink-grammar
bb9a897
johannes lips af5ab9b
%prep
johannes lips af5ab9b
%setup -q
johannes lips af5ab9b
johannes lips af5ab9b
%build
68bd864
# help configure find jni.h
68bd864
export JAVA_HOME=%{java_home}
fd93c04
autoreconf -if
fd93c04
%configure --disable-static --enable-pthreads --disable-aspell --enable-perl-bindings
johannes lips af5ab9b
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
johannes lips af5ab9b
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
johannes lips af5ab9b
#make
johannes lips af5ab9b
# currently the build system can not handle smp_flags properly
johannes lips af5ab9b
make %{?_smp_mflags}
johannes lips af5ab9b
johannes lips af5ab9b
%install
johannes lips af5ab9b
make DESTDIR=$RPM_BUILD_ROOT install
aa1ccd6
mv $RPM_BUILD_ROOT/%{_datadir}/java/linkgrammar-%{version}.jar $RPM_BUILD_ROOT/%{_datadir}/java/linkgrammar.jar
68bd864
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/perl5/
68bd864
mv $RPM_BUILD_ROOT/usr/local/lib*/perl5/* $RPM_BUILD_ROOT/%{_libdir}/perl5/
68bd864
find $RPM_BUILD_ROOT/%{_libdir}/ -name '*.la' | xargs rm -f
68bd864
johannes lips af5ab9b
johannes lips af5ab9b
%files
325de80
%license LICENSE
325de80
%doc AUTHORS
johannes lips af5ab9b
%{_bindir}/*
johannes lips af5ab9b
%{_libdir}/liblink-grammar.so.*
johannes lips af5ab9b
%{_datadir}/link-grammar
f3c0e81
%{_mandir}/man1/link-parser.1*
johannes lips af5ab9b
johannes lips af5ab9b
%files devel
johannes lips af5ab9b
%{_libdir}/liblink-grammar.so
johannes lips af5ab9b
%{_libdir}/pkgconfig/link-grammar.pc
johannes lips af5ab9b
%{_includedir}/link-grammar
johannes lips af5ab9b
johannes lips af5ab9b
%files java
johannes lips af5ab9b
%{_libdir}/liblink-grammar-java.so.*
aa1ccd6
%{_javadir}/linkgrammar.jar
johannes lips af5ab9b
johannes lips af5ab9b
%files java-devel
johannes lips af5ab9b
%{_libdir}/liblink-grammar-java.so
johannes lips af5ab9b
68bd864
%files perl
68bd864
%{_libdir}/perl5/*
68bd864
bb9a897
%files python3
bb9a897
%{python3_sitelib}/linkgrammar*
bb9a897
4048c4c
%ldconfig_scriptlets
johannes lips af5ab9b
4048c4c
%ldconfig_scriptlets java
johannes lips af5ab9b
johannes lips af5ab9b
%changelog
7804186
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.8.0-4
7804186
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
7804186
0f97617
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 5.8.0-3
0f97617
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
0f97617
f39893d
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 5.8.0-2
f39893d
- Rebuilt for Python 3.9
f39893d
0f5f198
* Mon Mar 02 2020 Gwyn Ciesla <gwync@protonmail.com> - 5.8.0-1
0f5f198
- 5.8.0
0f5f198
7dd1b39
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.0-2
7dd1b39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7dd1b39
9ad702f
* Sat Sep 14 2019 Gwyn Ciesla <gwync@protonmail.com> - 5.7.0-1
9ad702f
- 5.7.0
9ad702f
86ed20d
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 5.6.2-4
86ed20d
- Rebuilt for Python 3.8
86ed20d
f3c0e81
* Mon Aug 12 2019 Jan Beran <jaberan@redhat.com> - 5.6.2-3
f3c0e81
- Avoid using compression format while listing manpages
f3c0e81
cb4d916
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.2-2
cb4d916
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
cb4d916
498ea63
* Tue Jun 25 2019 Gwyn Ciesla <gwync@protonmail.com> - 5.6.2-1
498ea63
- 5.6.2
498ea63
b71f17a
* Tue May 28 2019 Gwyn Ciesla <gwync@protonmail.com> - 5.6.1-1
b71f17a
- 5.6.1
b71f17a
600aacc
* Wed Mar 06 2019 Gwyn Ciesla <gwync@protonmail.com> - 5.6.0-1
600aacc
- 5.6.0
600aacc
b650b50
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.1-6
b650b50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b650b50
2e94bad
* Tue Nov 13 2018 Caolán McNamara <caolanm@redhat.com> - 5.5.1-5
2e94bad
- rebuild for hunspell 1.7.2
2e94bad
10a337c
* Thu Oct 04 2018 Gwyn Ciesla <limburgher@gmail.com> - 5.5.1-2
10a337c
- Drop python2.
10a337c
95017c1
* Mon Jul 30 2018 Gwyn Ciesla <limburgher@gmail.com> - 5.5.1-1
95017c1
- 5.5.1.
95017c1
Niels de Vos 0851ecc
* Sun Jul 22 2018 Niels de Vos <ndevos@redhat.com> - 5.5.0-4
Niels de Vos 0851ecc
- Add gcc-c++ to BuildRequires (#1604705)
Niels de Vos 0851ecc
998e131
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.0-3
998e131
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
998e131
76fb741
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 5.5.0-2
76fb741
- Rebuilt for Python 3.7
76fb741
3823779
* Tue May 01 2018 Gwyn Ciesla <limburgher@gmail.com> - 5.5.0-1
3823779
- 5.5.0
3823779
325de80
* Mon Mar 12 2018 Gwyn Ciesla <limburgher@gmail.com> - 5.4.4-1
325de80
- 5.4.4
325de80
7c177c3
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.3-2
7c177c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7c177c3
eb74f43
* Thu Jan 04 2018 Gwyn Ciesla <limburgher@gmail.com> - 5.4.3-1
eb74f43
- 5.4.3
eb74f43
4665c8f
* Mon Dec 04 2017 Caolán McNamara <caolanm@redhat.com> - 5.4.2-2
eed5ad4
- rebuild for hunspell 1.6.2
eed5ad4
c45a77e
* Fri Oct 20 2017 Gwyn Ciesla <limburgher@gmail.com> - 5.4.2-1
c45a77e
- 5.4.2
c45a77e
a90a3a9
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.0-3
a90a3a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a90a3a9
a24cb53
* Mon Jul 31 2017 Florian Weimer <fweimer@redhat.com> - 5.4.0-2
a24cb53
- Rebuild with binutils fix for ppc64le (#1475636)
a24cb53
66a9bfd
* Thu Jul 27 2017 Gwyn Ciesla <limburgher@gmail.com> - 5.4.0-1
66a9bfd
- 5.4.0
66a9bfd
77e82cd
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.16-4
77e82cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
77e82cd
9d47f44
* Thu Jul 13 2017 Petr Pisar <ppisar@redhat.com> - 5.3.16-3
9d47f44
- perl dependency renamed to perl-interpreter
9d47f44
  <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
9d47f44
404fd9f
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.16-2
404fd9f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
404fd9f
b9e41d3
* Mon Apr 17 2017 Gwyn Ciesla <limburgher@gmail.com> - 5.3.16-1
b9e41d3
- 5.3.16
b9e41d3
b3f0650
* Mon Feb 13 2017 Jon Ciesla <limburgher@gmail.com> - 5.3.15-1
b3f0650
- 5.3.15
b3f0650
8bd828b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.14-2
8bd828b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8bd828b
8f582b0
* Thu Jan 19 2017 Jon Ciesla <limburgher@gmail.com> - 5.3.14-1
8f582b0
- 5.3.14
8f582b0
6c4d69e
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 5.3.13-3
6c4d69e
- Rebuild for Python 3.6
6c4d69e
df3e386
* Tue Dec 13 2016 Caolán McNamara <caolanm@redhat.com> - 5.3.13-2
df3e386
- rebuild for latest hunspell
df3e386
f2b9c60
* Mon Nov 21 2016 Jon Ciesla <limburgher@gmail.com> - 5.3.13-1
f2b9c60
- 5.3.13.
f2b9c60
945580c
* Fri Nov 18 2016 Jon Ciesla <limburgher@gmail.com> - 5.3.12-1
945580c
- 5.3.12.
945580c
- Ship Python2 bindings.
945580c
bb9a897
* Wed Sep 28 2016 Jon Ciesla <limburgher@gmail.com> - 5.3.11-2
bb9a897
- Ship Python3 bindings.
bb9a897
- Spec cleanup.
bb9a897
acb211d
* Tue Sep 27 2016 Jon Ciesla <limburgher@gmail.com> - 5.3.11-1
acb211d
- Fix minisat conflict
acb211d
8270620
* Thu Sep 15 2016 Jon Ciesla <limburgher@gmail.com> - 5.3.10-1
8270620
- 5.3.10.
8270620
a58dc06
* Mon Aug 29 2016 Jon Ciesla <limburgher@gmail.com> - 5.3.9-1
a58dc06
- 5.3.9.
a58dc06
4f1813b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.8-7
4f1813b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4f1813b
4c94797
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.8-6
4c94797
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4c94797
4167498
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.0.8-5
4167498
- Rebuilt for GCC 5 C++11 ABI change
4167498
ee9598d
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 5.0.8-4
ee9598d
- Rebuilt for Fedora 23 Change
ee9598d
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
ee9598d
7d9c3b9
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.8-3
7d9c3b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7d9c3b9
84f71e2
* Tue Jun 24 2014 Jon Ciesla <limburgher@gmail.com> - 5.0.8-2
84f71e2
- Made summary and description more accurate per Linas Vepstas.
84f71e2
68bd864
* Tue Jun 24 2014 Jon Ciesla <limburgher@gmail.com> - 5.0.8-1
68bd864
- Latest upstream to fix FTBFS BZ 1106100, License change.
68bd864
- Include JAVA_HOME from Yaakov Selkowitz's patch.
68bd864
f8d7ca3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8.6-3
f8d7ca3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f8d7ca3
1fbc5b9
* Fri Feb 21 2014 Jon Ciesla <limburgher@gmail.com> - 4.8.6-2
1fbc5b9
- Switch to java-headless, BZ 1068372.
1fbc5b9
aa1ccd6
* Wed Feb 12 2014 Jon Ciesla <limburgher@gmail.com> - 4.8.6-1
aa1ccd6
- 4.8.6.
aa1ccd6
- Drop versioned java jars, BZ 1022140.
aa1ccd6
1e68ed0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.11-3
1e68ed0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1e68ed0
af21905
* Wed May 15 2013 Jon Ciesla <limburgher@gmail.com> - 4.7.11-2
af21905
- Migrate from aspell to hunspell, BZ 961933.
af21905
1f8ab73
* Mon Apr 01 2013 Johannes Lips <Johannes.Lips@googlemail.com> - 4.7.11-1
1f8ab73
- Update to recent upstream version
1f8ab73
90c89ec
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.9-2
90c89ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
90c89ec
0138321
* Mon Dec 24 2012 Johannes Lips <Johannes.Lips@googlemail.com> - 4.7.9-1
142764c
- Update to recent upstream version
142764c
142764c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 
a1ee325
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a1ee325
142764c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 
3126b80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3126b80
johannes lips af5ab9b
* Tue Aug 02 2011 Johannes Lips <Johannes.Lips@googlemail.com> - 4.7.4-1
johannes lips af5ab9b
- Update to recent upstream version
johannes lips af5ab9b
- added libgcj-devel as build requirement
johannes lips af5ab9b
johannes lips af5ab9b
* Fri May 28 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 4.6.7-3
johannes lips af5ab9b
- fix BuildRequires
johannes lips af5ab9b
johannes lips af5ab9b
* Fri May 28 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 4.6.7-2
johannes lips af5ab9b
- have the java-devel package Require the -devel package
johannes lips af5ab9b
johannes lips af5ab9b
* Fri May 28 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 4.6.7-1
johannes lips af5ab9b
- update to 4.6.7
johannes lips af5ab9b
- drop static libs
johannes lips af5ab9b
- get rid of rpath
johannes lips af5ab9b
- fix man page ownership
johannes lips af5ab9b
- add java subpackages
johannes lips af5ab9b
- fix defattr invocations
johannes lips af5ab9b
johannes lips af5ab9b
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.5-5
johannes lips af5ab9b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
johannes lips af5ab9b
johannes lips af5ab9b
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.5-4
johannes lips af5ab9b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
johannes lips af5ab9b
johannes lips af5ab9b
* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.3.5-3
johannes lips af5ab9b
- fix license tag
johannes lips af5ab9b
johannes lips af5ab9b
* Thu Jul 10 2008 Marc Maurer <uwog@abisource.com> 4.3.5-2
johannes lips af5ab9b
- Move the man-page from -devel to the main package
johannes lips af5ab9b
johannes lips af5ab9b
* Thu Jul 10 2008 Marc Maurer <uwog@abisource.com> 4.3.5-1
johannes lips af5ab9b
- New upstream version, fixes bug 434650
johannes lips af5ab9b
- Update URL
johannes lips af5ab9b
- Package man-page
johannes lips af5ab9b
johannes lips af5ab9b
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.2.5-2
johannes lips af5ab9b
- Autorebuild for GCC 4.3
johannes lips af5ab9b
johannes lips af5ab9b
* Mon Nov 12 2007 Marc Maurer <uwog@uwog.net> 4.2.5-1
johannes lips af5ab9b
- New upstream version, fixes bug 371221.
johannes lips af5ab9b
johannes lips af5ab9b
* Mon Sep 11 2006 Marc Maurer <uwog@abisource.com> 4.2.2-2.fc6
johannes lips af5ab9b
- Rebuild for FC6
johannes lips af5ab9b
johannes lips af5ab9b
* Wed Apr 12 2006 Marc Maurer <uwog@abisource.com> 4.2.2-1
johannes lips af5ab9b
- New upstream version
johannes lips af5ab9b
johannes lips af5ab9b
* Mon Apr 10 2006 Marc Maurer <uwog@abisource.com> 4.2.1-2
johannes lips af5ab9b
- Rebuild
johannes lips af5ab9b
johannes lips af5ab9b
* Mon Apr 10 2006 Marc Maurer <uwog@abisource.com> 4.2.1-1
johannes lips af5ab9b
- New upstream version
johannes lips af5ab9b
johannes lips af5ab9b
* Wed Feb 15 2006 Marc Maurer <uwog@abisource.com> 4.1.3-4
johannes lips af5ab9b
- Rebuild for Fedora Extras 5
johannes lips af5ab9b
- Use %%{?dist} in the release name
johannes lips af5ab9b
johannes lips af5ab9b
* Wed Aug 10 2005 Marc Maurer <uwog@abisource.com> - 4.1.3-3
johannes lips af5ab9b
- Set the buildroot to the standard Fedora buildroot
johannes lips af5ab9b
- Make the package own the %%{_datadir}/link-grammar
johannes lips af5ab9b
  directory (thanks go to Aurelien Bompard for both issues)
johannes lips af5ab9b
johannes lips af5ab9b
* Wed Aug 10 2005 Marc Maurer <uwog@abisource.com> - 4.1.3-2
johannes lips af5ab9b
- Remove epoch
johannes lips af5ab9b
- Make rpmlint happy
johannes lips af5ab9b
johannes lips af5ab9b
* Sun Aug 7 2005 Marc Maurer <uwog@abisource.com> - 1:4.1.3-1
johannes lips af5ab9b
- Initial version