Accepting request 599294 from LibreOffice:Factory

- 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/request/show/599294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hfst-ospell?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-05-18 12:26:19 +00:00 committed by Git OBS Bridge
commit 129512adbe
4 changed files with 24 additions and 9 deletions

View File

@ -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 Thu Jan 18 17:57:05 UTC 2018 - dimstar@opensuse.org

View File

@ -19,12 +19,12 @@
%define _name hfstospell %define _name hfstospell
%define libname libhfstospell10 %define libname libhfstospell10
Name: hfst-ospell Name: hfst-ospell
Version: 0.4.5 Version: 0.5.0
Release: 0 Release: 0
Summary: Spell checker library and tool based on HFST Summary: Spell checker library and tool based on HFST
License: Apache-2.0 License: Apache-2.0
Group: Productivity/Text/Spell 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 Source0: https://github.com/hfst/%{name}/releases/download/v%{version}/%{_name}-%{version}.tar.gz
Source99: baselibs.conf Source99: baselibs.conf
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -60,6 +60,7 @@ Development headers and libraries for hfst-ospell
%build %build
# disable libxml++ as upstream requires version 2.6 # disable libxml++ as upstream requires version 2.6
# disable tinyxml2 as upstream requires version < 3.0 # disable tinyxml2 as upstream requires version < 3.0
export CXXFLAGS="%{optflags} -DU_USING_ICU_NAMESPACE=1"
%configure \ %configure \
--disable-static \ --disable-static \
--disable-silent-rules \ --disable-silent-rules \
@ -79,17 +80,15 @@ make %{?_smp_mflags} check || :
%postun -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %doc AUTHORS NEWS README
%doc AUTHORS NEWS README COPYING
%{_bindir}/* %{_bindir}/*
%{_mandir}/man1/* %{_mandir}/man1/*
%files -n %{libname} %files -n %{libname}
%defattr(-,root,root) %license COPYING
%{_libdir}/*.so.* %{_libdir}/*.so.*
%files -n hfst-ospell-devel %files -n hfst-ospell-devel
%defattr(-,root,root)
%{_includedir}/* %{_includedir}/*
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%{_libdir}/*.so %{_libdir}/*.so

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf10817d1d82f0a7268992ab6ccf475fae2d838e6b9fc59eb6db38e9c21a311e
size 432778

3
hfstospell-0.5.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0fd2ad367f8a694c60742deaee9fcf1225e4921dd75549ef0aceca671ddfe1cd
size 451485