Resolves: rhbz#1912135 latest version

This commit is contained in:
Caolán McNamara 2021-01-11 09:39:45 +00:00
parent 1e8b0b2ce0
commit 4fd7cf318f
3 changed files with 14 additions and 13 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/OpenTaal-210G-LO.oxt
/2.20.19.tar.gz

View File

@ -1,11 +1,9 @@
Name: hunspell-nl
Summary: Dutch hunspell dictionaries
Version: 2.10
Release: 17%{?dist}
#http://www.opentaal.org/bestanden/doc_download/20-woordenlijst-v-210g-voor-openofficeorg-3
#annoying click through makes direct link apparently impossible
Source: OpenTaal-210G-LO.oxt
URL: http://www.opentaal.org/english.php
Version: 2.20.19
Release: 1%{?dist}
Source: https://github.com/OpenTaal/opentaal-hunspell/archive/2.20.19.tar.gz
URL: https://opentaal.org/
License: BSD or CC-BY
BuildArch: noarch
@ -16,17 +14,17 @@ 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"
nl_NL_aliases="nl_AN nl_AW nl_BE nl_SR"
for lang in $nl_NL_aliases; do
ln -s nl_NL.aff $lang.aff
ln -s nl_NL.dic $lang.dic
@ -34,10 +32,13 @@ 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
* Mon Jan 11 2021 Caolán McNamara <caolanm@redhat.com> - 2.20.19-1
- Resolves: rhbz#1912135 latest version
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1 +1 @@
3c96686c2555e3ae23b5de06ba08631b OpenTaal-210G-LO.oxt
SHA512 (2.20.19.tar.gz) = 19e93421da7096259c18f69dadcf49a2d9f16890edd8474ee226a39ae344803bfe4d3b952669fb1d42dcc28aed36582468f7a92c3289db18e2284be3f4889f40