latest version

This commit is contained in:
Caolan McNamara 2009-12-11 10:49:26 +00:00
parent c7e3849847
commit 3f3f3a16db
3 changed files with 20 additions and 7 deletions

View File

@ -1 +1 @@
myspell-zu_ZA-20060120.zip
dict-zu_ZA-2009.12.10.oxt

View File

@ -1,9 +1,9 @@
Name: hunspell-zu
Summary: Zulu hunspell dictionaries
%define upstreamid 20060120
%define upstreamid 20091210
Version: 0.%{upstreamid}
Release: 4%{?dist}
Source: http://downloads.sourceforge.net/translate/myspell-zu_ZA-%{upstreamid}.zip
Release: 1%{?dist}
Source: http://extensions.services.openoffice.org/files/3132/1/dict-zu_ZA-2009.12.10.oxt
Group: Applications/Text
URL: http://www.translate.org.za/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -16,9 +16,19 @@ Requires: hunspell
Zulu hunspell dictionaries.
%prep
%setup -q -c -n hunspell-zu_ZA
%setup -q -c
%build
for i in README-zu_ZA.txt package-description.txt release-notes-zu_ZA.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
rm -rf $RPM_BUILD_ROOT
@ -30,10 +40,13 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_zu_ZA.txt
%doc README-zu_ZA.txt package-description.txt release-notes-zu_ZA.txt
%{_datadir}/myspell/*
%changelog
* Fri Dec 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20091210-1
- latest version
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060120-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View File

@ -1 +1 @@
3f1f9d5c41d6a7520e4dbb5d37a115b7 myspell-zu_ZA-20060120.zip
2f01b2291f2482bf217ffc4a34654f0d dict-zu_ZA-2009.12.10.oxt