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