hunspell-nl/hunspell-nl.spec
2020-07-09 20:18:38 +08:00

37 lines
1.0 KiB
RPMSpec

Name: hunspell-nl
Summary: Dutch hunspell dictionaries
Version: 2.10
Release: 14
URL: https://master.dl.sourceforge.net
Source: https://master.dl.sourceforge.net/project/kaosx/sources/hunspell/OpenTaal-210G-LO.oxt
License: BSD or CC-BY
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-nl)
%description
Dutch hunspell dictionaries.
%prep
%setup -q -c
%build
chmod -x nl_NL.*
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p nl_NL.aff nl_NL.dic $RPM_BUILD_ROOT/%{_datadir}/myspell
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
nl_NL_aliases="nl_AW nl_BE"
for lang in $nl_NL_aliases; do
ln -s nl_NL.aff $lang.aff
ln -s nl_NL.dic $lang.dic
done
%files
%doc description/desc_en_US.txt description/desc_nl_NL.txt README_nl_NL.txt license_en_EN.txt licentie_nl_NL.txt
%{_datadir}/myspell/*
%changelog
* Thu Jul 9 2020 huanghaitao <huanghaitao8@huawei.com> - 2.10-14
- package init