hunspell-nl/hunspell-nl.spec

43 lines
1.2 KiB
RPMSpec
Raw Normal View History

2020-07-09 20:18:38 +08:00
Name: hunspell-nl
Summary: Dutch hunspell dictionaries
2023-04-12 10:24:46 +08:00
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
2020-07-09 20:18:38 +08:00
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-nl)
%description
Dutch hunspell dictionaries.
%prep
2023-04-12 10:24:46 +08:00
%setup -q -n opentaal-hunspell-%{version}
2020-07-09 20:18:38 +08:00
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
2023-04-12 10:24:46 +08:00
cp -p nl.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/nl_NL.dic
cp -p nl.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/nl_NL.aff
2020-07-09 20:18:38 +08:00
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
2023-04-12 10:24:46 +08:00
%doc LICENSE.txt README.md
2020-07-09 20:18:38 +08:00
%{_datadir}/myspell/*
%changelog
2023-04-12 10:24:46 +08:00
* Wed Apr 12 2023 liyanan <thistleslyn@163.com> - 2.20.19-1
- Update to 2.20.19
2022-05-10 21:00:12 +08:00
* Tue May 10 2022 caodongxia <caodongxia@h-partners.com> - 2.10-15
- License compliance rectification
2020-07-09 20:18:38 +08:00
* Thu Jul 9 2020 huanghaitao <huanghaitao8@huawei.com> - 2.10-14
- package init