Upgrade package to version 2.20.19

This commit is contained in:
lyn1001 2023-04-12 10:24:46 +08:00
parent 909ca1989f
commit 7fbe5d7794
3 changed files with 12 additions and 9 deletions

BIN
2.20.19.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: hunspell-nl
Summary: Dutch hunspell dictionaries
Version: 2.10
Release: 15
URL: https://master.dl.sourceforge.net
Source: https://master.dl.sourceforge.net/project/kaosx/sources/hunspell/OpenTaal-210G-LO.oxt
License: BSD-3-Clause
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)
@ -12,14 +12,14 @@ Supplements: (hunspell and langpacks-nl)
Dutch hunspell dictionaries.
%prep
%setup -q -c
%setup -q -n opentaal-hunspell-%{version}
%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
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
@ -28,10 +28,13 @@ for lang in $nl_NL_aliases; do
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
%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