hunspell-nl/hunspell-nl.spec
2023-04-12 10:24:46 +08:00

43 lines
1.2 KiB
RPMSpec

Name: hunspell-nl
Summary: Dutch hunspell dictionaries
Version: 2.20.19
Release: 1
URL: https://opentaal.org/
Source: https://github.com/OpenTaal/opentaal-hunspell/archive/2.20.19.tar.gz
License: BSD-3-Clause OR CC-BY-3.0
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-nl)
%description
Dutch hunspell dictionaries.
%prep
%setup -q -n opentaal-hunspell-%{version}
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p nl.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/nl_NL.dic
cp -p nl.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/nl_NL.aff
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 LICENSE.txt README.md
%{_datadir}/myspell/*
%changelog
* Wed Apr 12 2023 liyanan <thistleslyn@163.com> - 2.20.19-1
- Update to 2.20.19
* Tue May 10 2022 caodongxia <caodongxia@h-partners.com> - 2.10-15
- License compliance rectification
* Thu Jul 9 2020 huanghaitao <huanghaitao8@huawei.com> - 2.10-14
- package init