2024-01-05 23:45:44 +01:00
|
|
|
Name: hunspell-zu
|
|
|
|
Version: 20100125
|
2024-01-05 23:45:45 +01:00
|
|
|
Release: 3mamba
|
2024-01-05 23:45:44 +01:00
|
|
|
Summary: Zulu hunspell dictionaries
|
|
|
|
Group: System/Internationalization
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 23:45:45 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://extensions.openoffice.org/en/project/zulu-spell-checker
|
2024-01-05 23:45:44 +01:00
|
|
|
Source: http://releases.mozilla.org/pub/mozilla.org/addons/46490/zulu__south_africa__dictionary-%{version}-fx+tb.xpi
|
|
|
|
License: LGPL
|
2024-01-05 23:45:45 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 23:45:44 +01:00
|
|
|
Requires: hunspell
|
|
|
|
|
|
|
|
%description
|
|
|
|
Zulu hunspell dictionaries.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
if ! iconv -f utf-8 -t utf-8 -o /dev/null README-zu-ZA.txt > /dev/null 2>&1; then
|
|
|
|
iconv -f ISO-8859-2 -t UTF-8 README-zu-ZA.txt > README-zu-ZA.txti.new
|
|
|
|
touch -r README-zu-ZA.txt README-zu-ZA.txt.new
|
|
|
|
mv -f README-zu-ZA.txti.new README-zu-ZA.txt
|
|
|
|
fi
|
|
|
|
tr -d '\r' < README-zu-ZA.txt > README-zu-ZA.txt.new
|
|
|
|
touch -r README-zu-ZA.txt README-zu-ZA.txt.new
|
|
|
|
mv -f README-zu-ZA.txt.new README-zu-ZA.txt
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/myspell
|
2024-01-05 23:45:45 +01:00
|
|
|
cp -p dictionaries/zu-ZA.aff %{buildroot}%{_datadir}/myspell/zu-ZA.aff
|
|
|
|
cp -p dictionaries/zu-ZA.dic %{buildroot}%{_datadir}/myspell/zu-ZA.dic
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/hunspell
|
|
|
|
for f in zu-ZA.dic zu-ZA.aff; do
|
|
|
|
ln -s ../myspell/$f %{buildroot}%{_datadir}/hunspell/$f
|
|
|
|
done
|
2024-01-05 23:45:44 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:45:45 +01:00
|
|
|
%{_datadir}/myspell/zu-ZA.*
|
|
|
|
%{_datadir}/hunspell/zu-ZA.*
|
2024-01-05 23:45:44 +01:00
|
|
|
%doc README-zu-ZA.txt
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:45:45 +01:00
|
|
|
* Tue Oct 24 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 20100125-3mamba
|
|
|
|
- rebuilt with specfile fixes
|
|
|
|
|
2024-01-05 23:45:44 +01:00
|
|
|
* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 20100125-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue Mar 15 2011 gil <puntogil@libero.it> 20100125-1mamba
|
|
|
|
- package created by autospec
|