package created by autospec [release 2009.10.30-1mamba;Tue Mar 15 2011]
This commit is contained in:
gil 2024-01-05 23:45:38 +01:00
parent c2c0e0d750
commit a57ae4225d
3 changed files with 55 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# hunspell-xh
Xhosa hunspell dictionaries.

BIN
dict-xh_ZA-2009.10.30.oxt Normal file

Binary file not shown.

53
hunspell-xh.spec Normal file
View File

@ -0,0 +1,53 @@
Name: hunspell-xh
Version: 2009.10.30
Release: 2mamba
Summary: Xhosa hunspell dictionaries
Group: System/Internationalization
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
URL: http://www.translate.org.za/
Source: http://extensions.services.openoffice.org/e-files/3133/0/dict-xh_ZA-%{version}.oxt
License: LGPL
Requires: hunspell
#BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_datadir}/myspell
%doc README-xh_ZA.txt release-notes-xh_ZA.txt package-description.txt
%changelog
* 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