[packages/hfst] - updated to 3.15.0 (note: new libhfst soname) - updated build patch
qboosh
qboosh at pld-linux.org
Sun Jul 28 21:12:13 CEST 2019
commit c42fa0159f25c940d81e575c2a0e0a5ccf6290ae
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 28 21:14:10 2019 +0200
- updated to 3.15.0 (note: new libhfst soname)
- updated build patch
build.patch | 238 ------------------------------------------------------------
hfst.spec | 8 +-
2 files changed, 4 insertions(+), 242 deletions(-)
---
diff --git a/hfst.spec b/hfst.spec
index 129859f..4b0d7bf 100644
--- a/hfst.spec
+++ b/hfst.spec
@@ -6,20 +6,20 @@
Summary: Helsinki Finite-State Transducer (library and application suite)
Summary(pl.UTF-8): Helsinki Finite-State Transducer (biblioteka i zestaw aplikacji)
Name: hfst
-Version: 3.14.0
+Version: 3.15.0
Release: 1
License: LGPL v3 (library), GPL v3 (tools)
Group: Applications/Text
#Source0Download: https://github.com/hfst/hfst/releases
Source0: https://github.com/hfst/hfst/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 08a93b43867037d2d0ef883022aabe1d
+# Source0-md5: a2a458f23f7f07b176a64f5bd007fb63
Patch0: %{name}-pc.patch
Patch1: build.patch
URL: http://www.ling.helsinki.fi/kieliteknologia/tutkimus/hfst/
# bundled library is used
#BuildRequires: SFST-devel
BuildRequires: autoconf >= 2.62
-BuildRequires: automake >= 1:1.11
+BuildRequires: automake >= 1:1.12
BuildRequires: bison
BuildRequires: flex >= 2.5.35
BuildRequires: glib2-devel >= 1:2.16
@@ -187,7 +187,7 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/hfst-*
%attr(755,root,root) %{_bindir}/hfst_foma
%attr(755,root,root) %{_libdir}/libhfst.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libhfst.so.51
+%attr(755,root,root) %ghost %{_libdir}/libhfst.so.52
%dir %{_datadir}/hfst
%{_mandir}/man1/hfst-*.1*
diff --git a/build.patch b/build.patch
index d849bfa..943db2b 100644
--- a/build.patch
+++ b/build.patch
@@ -9,241 +9,3 @@
if WANT_READLINE
hfst_foma_LDFLAGS=-lreadline -lz
---- /dev/null 2011-06-01 08:46:43.490033582 +0200
-+++ hfst-3.14.0/man/hfst-foma.1 2018-07-06 10:02:25.367588228 +0200
-@@ -0,0 +1,38 @@
-+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4.
-+.TH HFST-FOMA "1" "February 2014" "HFST" "User Commands"
-+.SH NAME
-+hfst-foma \- =Imitates xfst using foma and a wrapper script
-+.SH SYNOPSIS
-+.B hfst-foma
-+[\fIOPTIONS\fR...]
-+.SH DESCRIPTION
-+Imitates xfst using foma and a wrapper script
-+.SS "Common options:"
-+.TP
-+\fB\-h\fR
-+Print help message
-+.TP
-+\fB\-V\fR
-+Print version info
-+.TP
-+\fB\-F\fR
-+Parameter is HFST format name
-+.PP
-+If \-F is not given, OpenFst's tropical format will be used.
-+The possible values for \-F are { foma, openfst\-tropical, openfst\-log, sfst }.
-+Input files are always treated as UTF\-8.
-+.SH "REPORTING BUGS"
-+Report bugs to <hfst\-bugs at helsinki.fi> or directly to our bug tracker at:
-+<https://sourceforge.net/tracker/?atid=1061990&group_id=224521&func=browse>
-+.PP
-+hfst\-foma home page:
-+<https://kitwiki.csc.fi/twiki/bin/view/KitWiki//HfstFoma>
-+.br
-+General help using HFST software:
-+<https://kitwiki.csc.fi/twiki/bin/view/KitWiki//HfstHome>
-+.SH COPYRIGHT
-+Copyright \(co 2014 University of Helsinki,
-+License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
-+.br
-+This is free software: you are free to change and redistribute it.
-+There is NO WARRANTY, to the extent permitted by law.
---- /dev/null 2011-06-01 08:46:43.490033582 +0200
-+++ hfst-3.14.0/man/hfst-foma-wrapper.1 2018-07-06 18:04:32.272398240 +0200
-@@ -0,0 +1,11 @@
-+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4.
-+.TH UNKNOWN "1" "October 2014" "HFST" "User Commands"
-+.SH NAME
-+Unknown \- =
-+.SH SYNOPSIS
-+.B hfst-foma-wrapper.sh
-+[\fI-h|-V\fR] [\fI-v|-s|-q\fR] [\fI-f FORMAT\fR] [\fI-F STACK_FILES\fR] [\fISCRIPTS\fR]
-+.SH DESCRIPTION
-+Unknown command line switch , try \fB\-h\fR for help
-+.PP
-+Usage: ../scripts/hfst\-foma\-wrapper.sh [\-h|\-V] [\-v|\-s|\-q] [\-f FORMAT] [\-F STACK_FILES] [SCRIPTS]
---- /dev/null 2011-06-01 08:46:43.490033582 +0200
-+++ hfst-3.14.0/man/hfst-lexc-wrapper.1 2018-07-06 18:24:19.436840285 +0200
-@@ -0,0 +1,63 @@
-+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4.
-+.TH HFST-LEXC-WRAPPER "1" "December 2015" "HFST" "User Commands"
-+.SH NAME
-+hfst-lexc-wrapper \- =Compile lexc files into transducer or imitate Xerox lexc
-+.SH SYNOPSIS
-+.B hfst-lexc-wrapper
-+[\fIOPTIONS\fR...] [\fIINFILE1\fR...]]
-+.SH DESCRIPTION
-+Compile lexc files into transducer or imitate Xerox lexc
-+This is a wrapper around foma lexc, and does not support weights
-+For a native hfst tool with weights, use hfst\-lexc instead
-+.SS "Common options:"
-+.TP
-+\fB\-h\fR, \fB\-\-help\fR
-+Print help message
-+.TP
-+\fB\-V\fR, \fB\-\-version\fR
-+Print version info
-+.TP
-+\fB\-v\fR, \fB\-\-verbose\fR
-+Print verbosely while processing
-+.TP
-+\fB\-q\fR, \fB\-\-quiet\fR
-+Only print fatal erros and requested output
-+.TP
-+\fB\-s\fR, \fB\-\-silent\fR
-+Alias of \fB\-\-quiet\fR
-+.SS "Input/Output options:"
-+.TP
-+\fB\-f\fR, \fB\-\-format\fR=\fIFORMAT\fR
-+compile into FORMAT transducer
-+.TP
-+\fB\-o\fR, \fB\-\-output\fR=\fIOUTFILE\fR
-+write result into OUTFILE
-+.TP
-+\fB\-X\fR, \fB\-\-xerox\fR, \fB\-\-readline\fR
-+imitate Xerox lexc user interface
-+.PP
-+If INFILE or OUTFILE are omitted or \-, standard streams will be used
-+The possible values for FORMAT are { sfst, openfst\-tropical, openfst\-log,
-+foma, optimized\-lookup\-unweighted, optimized\-lookup\-weighted }.
-+.SH EXAMPLES
-+.TP
-+hfst\-lexc\-wrapper \fB\-o\fR cat.hfst cat.lexc
-+Compile single\-file lexicon
-+.TP
-+hfst\-lexc\-wrapper \fB\-o\fR L.hfst Root.lexc 2.lexc 3.lexc
-+Compile multi\-file lexicon
-+.SH "REPORTING BUGS"
-+Report bugs to <hfst\-bugs at helsinki.fi> or directly to our bug tracker at:
-+<https://sourceforge.net/tracker/?atid=1061990&group_id=224521&func=browse>
-+.PP
-+hfst\-lexc\-wrapper home page:
-+<https://kitwiki.csc.fi/twiki/bin/view/KitWiki//HfstLexcWrapper>
-+.br
-+General help using HFST software:
-+<https://kitwiki.csc.fi/twiki/bin/view/KitWiki//HfstHome>
-+.SH COPYRIGHT
-+Copyright \(co 2010 University of Helsinki,
-+License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
-+.br
-+This is free software: you are free to change and redistribute it.
-+There is NO WARRANTY, to the extent permitted by law.
---- /dev/null 2011-06-01 08:46:43.490033582 +0200
-+++ hfst-3.14.0/tools/src/hfst-tagger/src/hfst-train-tagger.sh 2018-07-06 19:37:54.992498763 +0200
-@@ -0,0 +1,5 @@
-+#! /bin/sh
-+
-+BINDIR/hfst-open-input-file-for-tagger "$@" |
-+BINDIR/hfst_tagger_compute_data_statistics.py "$@" |
-+BINDIR/hfst-build-tagger "$@"
---- /dev/null 2011-06-01 08:46:43.490033582 +0200
-+++ hfst-3.14.0/tools/src/hfst-tagger/src/hfst-train-tagger.bat 2018-07-06 19:38:15.473214668 +0200
-@@ -0,0 +1,2 @@
-+ at echo off
-+HFST_INSTALLATION_DIRECTORY\hfst-open-input-file-for-tagger.exe %* | python HFST_INSTALLATION_DIRECTORY\hfst_tagger_compute_data_statistics.py %* | HFST_INSTALLATION_DIRECTORY\hfst-build-tagger.exe %*
---- /dev/null 2011-06-01 08:46:43.490033582 +0200
-+++ hfst-3.14.0/man/hfst-train-tagger.1 2018-07-06 19:58:07.882082536 +0200
-@@ -0,0 +1,47 @@
-+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4.
-+.TH HFST-TRAIN-TAGGER "1" "December 2015" "HFST" "User Commands"
-+.SH NAME
-+hfst-train-tagger \- =
-+.SH SYNOPSIS
-+.B hfst-train-tagger
-+[\fIOPTIONS\fR...] [\fIINFILE\fR]
-+.SH DESCRIPTION
-+Compile training data file into an hfst part\-of\-speech tagger.
-+.SS "Common options:"
-+.TP
-+\fB\-h\fR, \fB\-\-help\fR
-+Print help message
-+.TP
-+\fB\-V\fR, \fB\-\-version\fR
-+Print version info
-+.TP
-+\fB\-v\fR, \fB\-\-verbose\fR
-+Print verbosely while processing
-+.TP
-+\fB\-q\fR, \fB\-\-quiet\fR
-+Only print fatal erros and requested output
-+.TP
-+\fB\-s\fR, \fB\-\-silent\fR
-+Alias of \fB\-\-quiet\fR
-+.SS "Input/Output options:"
-+.TP
-+\fB\-i\fR, \fB\-\-input\fR=\fIINFILE\fR
-+Read input transducer from INFILE
-+.TP
-+\fB\-o\fR, \fB\-\-output\fR=\fIOUTFILE\fR
-+Write output transducer to OUTFILE
-+.SH "REPORTING BUGS"
-+Report bugs to <hfst\-bugs at helsinki.fi> or directly to our bug tracker at:
-+<https://sourceforge.net/tracker/?atid=1061990&group_id=224521&func=browse>
-+.PP
-+hfst\-train\-tagger home page:
-+<https://kitwiki.csc.fi/twiki/bin/view/KitWiki//HfstTrainTagger>
-+.br
-+General help using HFST software:
-+<https://kitwiki.csc.fi/twiki/bin/view/KitWiki//HfstHome>
-+.SH COPYRIGHT
-+Copyright \(co 2010 University of Helsinki,
-+License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
-+.br
-+This is free software: you are free to change and redistribute it.
-+There is NO WARRANTY, to the extent permitted by law.
---- /dev/null 2011-06-01 08:46:43.490033582 +0200
-+++ hfst-3.14.0/man/hfst-open-input-file-for-tagger.1 2018-07-06 20:15:54.219684614 +0200
-@@ -0,0 +1,15 @@
-+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4.
-+.TH HFST-OPEN-INPUT-FILE-FOR-TAGGER "1" "October 2014" "HFST" "User Commands"
-+.SH NAME
-+hfst-open-input-file-for-tagger \- =
-+.SH SYNOPSIS
-+.B hfst-open-input-file-for-tagger
-+[\fIOPTIONS\fR...] [\fIINFILE\fR]
-+.SH DESCRIPTION
-+A program used by hfst-train-tagger, not intended to be used directly.
-+.SH COPYRIGHT
-+Copyright \(co 2010 University of Helsinki,
-+License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
-+.br
-+This is free software: you are free to change and redistribute it.
-+There is NO WARRANTY, to the extent permitted by law.
---- /dev/null 2011-06-01 08:46:43.490033582 +0200
-+++ hfst-3.14.0/man/hfst_tagger_compute_data_statistics.py.1 2018-07-06 20:17:03.832089688 +0200
-@@ -0,0 +1,15 @@
-+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4.
-+.TH HFST_TAGGER_COMPUTE_DATA_STATISTICS.PY "1" "October 2014" "HFST" "User Commands"
-+.SH NAME
-+hfst_tagger_compute_data_statistics.py \- =
-+.SH SYNOPSIS
-+.B hfst_tagger_compute_data_statistics.py
-+[\fIOPTIONS\fR...] [\fIINFILE\fR]
-+.SH DESCRIPTION
-+A script used by hfst-train-tagger, not intended to be used directly.
-+.SH COPYRIGHT
-+Copyright \(co 2010 University of Helsinki,
-+License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
-+.br
-+This is free software: you are free to change and redistribute it.
-+There is NO WARRANTY, to the extent permitted by law.
---- /dev/null 2011-06-01 08:46:43.490033582 +0200
-+++ hfst-3.14.0/man/hfst-build-tagger.1 2018-07-06 20:17:51.097056002 +0200
-@@ -0,0 +1,15 @@
-+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4.
-+.TH HFST-BUILD-TAGGER "1" "October 2014" "HFST" "User Commands"
-+.SH NAME
-+hfst-build-tagger \- =
-+.SH SYNOPSIS
-+.B hfst-build-tagger
-+[\fIOPTIONS\fR...] [\fIINFILE\fR]
-+.SH DESCRIPTION
-+A program used by hfst-train-tagger, not intended to be used directly.
-+.SH COPYRIGHT
-+Copyright \(co 2010 University of Helsinki,
-+License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
-+.br
-+This is free software: you are free to change and redistribute it.
-+There is NO WARRANTY, to the extent permitted by law.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hfst.git/commitdiff/c42fa0159f25c940d81e575c2a0e0a5ccf6290ae
More information about the pld-cvs-commit
mailing list