hunspell-ky/hunspell-ky.spec

40 lines
1.1 KiB
RPMSpec

Name: hunspell-ky
Summary: Kirghiz hunspell dictionaries for hunspell used of OpenOffice
Version: 0.20090415
Release: 18
Source: http://ftp.gnu.org/gnu/aspell/dict/ky/aspell6-ky-0.01-0.tar.bz2
URL: https://aur.archlinux.org/packages/aspell6-ky/
License: GPLv2+
BuildArch: noarch
BuildRequires: aspell, hunspell-devel, git
Requires: hunspell
Supplements: (hunspell and langpacks-ky)
%description
Kirghiz hunspell dictionaries for hunspell used of OpenOffice.
%prep
%autosetup -n aspell6-ky-0.01-0 -p1 -S git
%build
export LANG=ky_KG.utf8
preunzip -d *.cwl
cat *.wl > kirghiz.wordlist
wordlist2hunspell kirghiz.wordlist ky_KG
install -p ky_affix.dat ky_KG.aff
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
install -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%files
%doc COPYING Copyright README doc/Crawler.txt
%{_datadir}/myspell/*
%changelog
* Thu Jun 01 2021 wulei <wulei80@huawei.com> - 0.20090415-18
- fixes failed: git no such file or directory
* Sat Apr 18 2020 Jeffery.Gao <gaojianxing@huawei.com> - 0.20090415-17
- Package init