From fc905cacffc4f612960bc465d846bf1a6a75bb6efcd67aa14f276eb4f5a20717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 20 Apr 2018 12:29:04 +0000 Subject: [PATCH 1/2] - Add hack for icu 61 and newer -DU_USING_ICU_NAMESPACE=1 * This needs to be removed when properly fixed upstream - Version update to 0.5.0: * rename hfst_ol namespace to hfst_ospell to avoid conflicts * improve distinguishing between lemmas and tags in analysis * fix issue #37 * avoid shadowing multicharacter ascii-beginning symbols * use minimal XML parsing to get locale, title, and description for Voikko and other frontends OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/hfst-ospell?expand=0&rev=7 --- hfst-ospell.changes | 16 ++++++++++++++++ hfst-ospell.spec | 8 +++++--- hfstospell-0.4.5.tar.gz | 3 --- hfstospell-0.5.0.tar.gz | 3 +++ 4 files changed, 24 insertions(+), 6 deletions(-) delete mode 100644 hfstospell-0.4.5.tar.gz create mode 100644 hfstospell-0.5.0.tar.gz diff --git a/hfst-ospell.changes b/hfst-ospell.changes index 5374b84..50f6552 100644 --- a/hfst-ospell.changes +++ b/hfst-ospell.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Fri Apr 20 12:27:04 UTC 2018 - tchvatal@suse.com + +- Add hack for icu 61 and newer -DU_USING_ICU_NAMESPACE=1 + * This needs to be removed when properly fixed upstream + +------------------------------------------------------------------- +Fri Apr 20 12:19:28 UTC 2018 - tchvatal@suse.com + +- Version update to 0.5.0: + * rename hfst_ol namespace to hfst_ospell to avoid conflicts + * improve distinguishing between lemmas and tags in analysis + * fix issue #37 + * avoid shadowing multicharacter ascii-beginning symbols + * use minimal XML parsing to get locale, title, and description for Voikko and other frontends + ------------------------------------------------------------------- Thu Jan 18 17:57:05 UTC 2018 - dimstar@opensuse.org diff --git a/hfst-ospell.spec b/hfst-ospell.spec index 13c8599..5b1b8f3 100644 --- a/hfst-ospell.spec +++ b/hfst-ospell.spec @@ -19,12 +19,12 @@ %define _name hfstospell %define libname libhfstospell10 Name: hfst-ospell -Version: 0.4.5 +Version: 0.5.0 Release: 0 Summary: Spell checker library and tool based on HFST License: Apache-2.0 Group: Productivity/Text/Spell -Url: http://hfst.github.io/ +URL: http://hfst.github.io/ Source0: https://github.com/hfst/%{name}/releases/download/v%{version}/%{_name}-%{version}.tar.gz Source99: baselibs.conf BuildRequires: gcc-c++ @@ -60,6 +60,7 @@ Development headers and libraries for hfst-ospell %build # disable libxml++ as upstream requires version 2.6 # disable tinyxml2 as upstream requires version < 3.0 +export CXXFLAGS="%{optflags} -DU_USING_ICU_NAMESPACE=1" %configure \ --disable-static \ --disable-silent-rules \ @@ -80,7 +81,8 @@ make %{?_smp_mflags} check || : %files %defattr(-,root,root) -%doc AUTHORS NEWS README COPYING +%license COPYING +%doc AUTHORS NEWS README %{_bindir}/* %{_mandir}/man1/* diff --git a/hfstospell-0.4.5.tar.gz b/hfstospell-0.4.5.tar.gz deleted file mode 100644 index bbd6541..0000000 --- a/hfstospell-0.4.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cf10817d1d82f0a7268992ab6ccf475fae2d838e6b9fc59eb6db38e9c21a311e -size 432778 diff --git a/hfstospell-0.5.0.tar.gz b/hfstospell-0.5.0.tar.gz new file mode 100644 index 0000000..6616750 --- /dev/null +++ b/hfstospell-0.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fd2ad367f8a694c60742deaee9fcf1225e4921dd75549ef0aceca671ddfe1cd +size 451485 From 4b248c8c8437d63bf5e4818a93634e575eb4229844a6e1df4194bd5f66bbebc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 20 Apr 2018 12:29:30 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/hfst-ospell?expand=0&rev=8 --- hfst-ospell.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hfst-ospell.spec b/hfst-ospell.spec index 5b1b8f3..90a1376 100644 --- a/hfst-ospell.spec +++ b/hfst-ospell.spec @@ -80,18 +80,15 @@ make %{?_smp_mflags} check || : %postun -n %{libname} -p /sbin/ldconfig %files -%defattr(-,root,root) -%license COPYING %doc AUTHORS NEWS README %{_bindir}/* %{_mandir}/man1/* %files -n %{libname} -%defattr(-,root,root) +%license COPYING %{_libdir}/*.so.* %files -n hfst-ospell-devel -%defattr(-,root,root) %{_includedir}/* %{_libdir}/pkgconfig/* %{_libdir}/*.so