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