latest version

This commit is contained in:
Caolan McNamara 2010-02-06 20:15:47 +00:00
parent 3f3f3a16db
commit f8a81614de
3 changed files with 12 additions and 7 deletions

View File

@ -1 +1 @@
dict-zu_ZA-2009.12.10.oxt
zulu__south_africa__dictionary-20100125-fx+tb.xpi

View File

@ -1,9 +1,9 @@
Name: hunspell-zu
Summary: Zulu hunspell dictionaries
%define upstreamid 20091210
%define upstreamid 20100126
Version: 0.%{upstreamid}
Release: 1%{?dist}
Source: http://extensions.services.openoffice.org/files/3132/1/dict-zu_ZA-2009.12.10.oxt
Source: http://releases.mozilla.org/pub/mozilla.org/addons/46490/zulu__south_africa__dictionary-20100125-fx+tb.xpi
Group: Applications/Text
URL: http://www.translate.org.za/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -19,7 +19,7 @@ Zulu hunspell dictionaries.
%setup -q -c
%build
for i in README-zu_ZA.txt package-description.txt release-notes-zu_ZA.txt; do
for i in README-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
@ -33,17 +33,22 @@ done
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p dictionaries/zu-ZA.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/zu_ZA.aff
cp -p dictionaries/zu-ZA.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/zu_ZA.dic
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README-zu_ZA.txt package-description.txt release-notes-zu_ZA.txt
%doc README-zu-ZA.txt
%{_datadir}/myspell/*
%changelog
* Sat Feb 06 2010 Caolan McNamara <caolanm@redhat.com> - 0.20100126-1
- latest version
* Fri Dec 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20091210-1
- latest version

View File

@ -1 +1 @@
2f01b2291f2482bf217ffc4a34654f0d dict-zu_ZA-2009.12.10.oxt
c41f0b678c323407157e4eccc2f8527c zulu__south_africa__dictionary-20100125-fx+tb.xpi