hunspell-haw/hunspell-haw.spec

35 lines
1.1 KiB
RPMSpec

Name: hunspell-haw
Version: 0.03
Release: 4
Summary: Hawaiian hunspell dictionaries for hunspell used in OpenOffice
License: GPLv2+
URL: https://www.spellcheck.net/hawaiian
Source: https://addons.mozilla.org/firefox/downloads/file/248540/hawaiian_spell_checker-%{version}-tb+fx+fn+sm.xpi
BuildRequires: git
Requires: hunspell
BuildArch: noarch
Supplements: (hunspell and langpacks-haw)
%description
Hawaiian hunspell dictionaries for hunspell used in OpenOffice.
%prep
%autosetup -c -n hunspell-haw-%{version} -p1 -S git
%build
%install
install -Dp dictionaries/haw-US.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/haw.aff
install -Dp dictionaries/haw-US.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/haw.dic
%files
%doc dictionaries/README_haw_US.txt
%{_datadir}/myspell/*
%changelog
* Mon Jun 7 2021 baizhonggui <baizhonggui@huawei.com> - 0.03-4
- Fix building error: /usr/bin/git: No such file or directory
- Add git in BuildRequires
* Sun Apr 26 2020 Jeffery.Gao <gaojianxing@huawei.com> - 0.03-3
- Package init