update to 2020.02.14 [release 2020.02.14-1mamba;Sat Oct 29 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 23:44:40 +01:00
parent d51a7c15c4
commit 0dccfdfa71
2 changed files with 23 additions and 11 deletions

8
hunspell-af-autoupdate Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
version=$1
[ "${version}" ] || exit 1
mkdir -p hunspell-af-${version}
curl -L "https://raw.githubusercontent.com/LibreOffice/dictionaries/master/af_ZA/af_ZA.aff" -o hunspell-af-${version}/af_ZA.aff
curl -L "https://raw.githubusercontent.com/LibreOffice/dictionaries/master/af_ZA/af_ZA.dic" -o hunspell-af-${version}/af_ZA.dic
curl -L "https://raw.githubusercontent.com/LibreOffice/dictionaries/master/af_ZA/README_af_ZA.txt" -o hunspell-af-${version}/README_af_ZA.txt
tar cjf hunspell-af-${version}.tar.bz2 hunspell-af-${version}

View File

@ -1,14 +1,14 @@
Name: hunspell-af
Version: 0.20080825
Release: 3mamba
Version: 2020.02.14
Release: 1mamba
Summary: Afrikaans hunspell dictionaries
Group: System/Internationalization
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://web.archive.org/web/20120929091708/http://www.translate.org.za/
# Dead link
Source: http://downloads.translate.org.za/spellchecker/afrikaans/myspell-af_ZA-%{version}.zip
URL: https://www.libreoffice.org/
Source0: hunspell-af-%{version}.tar.bz2
Source1: hunspell-af-autoupdate
License: LGPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
@ -18,19 +18,20 @@ Requires: hunspell
Afrikaans hunspell dictionaries.
%prep
%setup -q -c %{name}-%{version}
%setup -q
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_datadir}/myspell
cp -p *.dic *.aff %{buildroot}%{_datadir}/myspell
install -D -m0644 af_ZA.aff %{buildroot}%{_datadir}/myspell/af_ZA.aff
install -D -m0644 af_ZA.dic %{buildroot}%{_datadir}/myspell/af_ZA.dic
pushd %{buildroot}%{_datadir}/myspell/
for lang in af_NA; do
ln -s af_ZA.aff $lang.aff
ln -s af_ZA.dic $lang.dic
ln -s af_ZA.aff af.aff
ln -s af_ZA.dic af.dic
done
popd
@ -39,10 +40,13 @@ popd
%files
%defattr(-,root,root)
%{_datadir}/myspell
%{_datadir}/myspell/af*
%doc README_af_ZA.txt
%changelog
* Sat Oct 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2020.02.14-1mamba
- update to 2020.02.14
* Sat Jun 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20080825-3mamba
- rebuilt with specfile fixes