latest version
This commit is contained in:
parent
3f3f3a16db
commit
f8a81614de
@ -1 +1 @@
|
||||
dict-zu_ZA-2009.12.10.oxt
|
||||
zulu__south_africa__dictionary-20100125-fx+tb.xpi
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user