commit c8d6f4cda1666fa26e278f27576741108a84d77110981948dde782f5e97939b3 Author: Marguerite Su Date: Thu Apr 16 04:37:19 2020 +0000 Accepting request 793961 from home:andythe_great Nuspell is a pure C++ re-implementation of Hunspell. OBS-URL: https://build.opensuse.org/request/show/793961 OBS-URL: https://build.opensuse.org/package/show/M17N/nuspell?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..5467824 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + git://github.com/nuspell/nuspell.git + git + d811a91 + 3.1.0 + %ct.%h + + + + *.tar + xz + + + diff --git a/nuspell-3.1.0.1586261062.d811a91.obscpio b/nuspell-3.1.0.1586261062.d811a91.obscpio new file mode 100644 index 0000000..5711acc --- /dev/null +++ b/nuspell-3.1.0.1586261062.d811a91.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8982cd670082795812344a250d32f8ca9e87b3cfbb773152812e4e795b99e625 +size 4957196 diff --git a/nuspell.changes b/nuspell.changes new file mode 100644 index 0000000..225ae82 --- /dev/null +++ b/nuspell.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Apr 11 22:50:29 UTC 2020 - andy great + +- Initial package release. diff --git a/nuspell.obsinfo b/nuspell.obsinfo new file mode 100644 index 0000000..cdebaab --- /dev/null +++ b/nuspell.obsinfo @@ -0,0 +1,5 @@ +name: nuspell +version: 3.1.0.1586261062.d811a91 +mtime: 1586261062 +commit: d811a9142e2afb72e1991700840ff2328a3c7276 + diff --git a/nuspell.spec b/nuspell.spec new file mode 100644 index 0000000..8a8e459 --- /dev/null +++ b/nuspell.spec @@ -0,0 +1,92 @@ +# +# spec file for package nuspell +# +# Copyright (c) 2020 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: nuspell +Version: 3.1.0.1586261062.d811a91 +Release: 0 +Summary: A spell checker library and command-line tool +License: LGPL-3.0-or-later +Group: Productivity/Office/Other +URL: https://nuspell.github.io/ +Source: %{name}-%{version}.tar.xz +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: libboost_locale-devel +BuildRequires: libicu-devel +Requires: hunspell +%if 0%{?suse_version} > 1500 +BuildRequires: ruby2.6-rubygem-ronn +%endif +%if 0%{?suse_version} <= 1500 +BuildRequires: ruby2.5-rubygem-ronn +%endif + +%description +Nuspell is a free and open source spell checker that is written in modern C++. +It is designed for languages with rich morphology and complex word compounding. + +Main features are: + - Full unicode support backed by ICU + - Backward compatibility with Hunspell dictionary file format + - Twofold affix stripping (for agglutinative languages, like Azeri, + Basque, Estonian, Finnish, Hungarian, Turkish, etc.) + - Support complex compounds (for example, Hungarian, Germand and Dutch) + - Support language specific features (for example, special casing of + Azeri and Turkish dotted i, or German sharp s) + - Handle conditional affixes, circumfixes, fogemorphemes, forbidden + words, pseudoroots and homonyms. + +%package devel +Summary: Files for developing with Nuspell +Requires: nuspell = %{version}-%{release} +Requires: pkgconfig + +%description devel +Includes and definitions for developing with Nuspell + +%prep +%autosetup + +%build +%cmake -DBUILD_SHARED_LIBS=ON \ + -DBUILD_TESTING=OFF \ + .. + +%cmake_build + +%install +%cmake_install + +%post -n %{name} -p /sbin/ldconfig +%postun -n %{name} -p /sbin/ldconfig + +%files +%doc README.md CHANGELOG.md AUTHORS +%license COPYING.LESSER +%{_libdir}/*.so.* +%{_bindir}/nuspell +%{_mandir}/man1/nuspell.1%{?ext_man} +%exclude %{_datadir}/doc/nuspell/README.md + +%files devel +%{_includedir}/%{name} +%{_libdir}/*.so +%{_libdir}/pkgconfig/nuspell.pc +%{_libdir}/cmake/%{name} + +%changelog