hunspell-ko/hunspell-ko.spec
2021-07-10 17:15:27 +08:00

39 lines
1.0 KiB
RPMSpec

Name: hunspell-ko
Summary: Korean hunspell dictionaries for hunspell used in OpenOffice
Version: 0.7.0
Release: 7
Source: https://github.com/spellcheck-ko/hunspell-dict-ko/archive/%{version}.tar.gz
URL: https://extensions.libreoffice.org/en/extensions/show/korean-spellchecker
License: MPLv1.1 or GPLv2 or LGPLv2
BuildArch: noarch
BuildRequires: python3 hunspell
Requires: hunspell
Supplements: (hunspell and langpacks-ko)
%description
Korean hunspell dictionaries for hunspell used inOpenOffice.
%prep
%autosetup -n hunspell-dict-ko-%{version} -p1
%build
make
%install
install -Dp ko.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/ko_KR.aff
install -Dp ko.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/ko_KR.dic
%check
make test
%files
%doc README.md LICENSE LICENSE.GPL LICENSE.LGPL LICENSE.MPL
%{_datadir}/myspell/*
%changelog
* Sat Jul 10 2021 wangyue <wangyue92@huawei.com> - 0.7.0-7
- %prep no longer patched with git
* Sat Apr 18 2020 Jeffery.Gao <gaojianxign@huawei.com> - 0.7.0-6
- Package init