latest version

This commit is contained in:
Caolan McNamara 2010-02-06 20:33:59 +00:00
parent 130875a346
commit e09fdc8bf4
3 changed files with 19 additions and 6 deletions

View File

@ -1 +1 @@
myspell-st_ZA-20060123.zip dict-st_ZA-2009.10.30.oxt

View File

@ -1,9 +1,9 @@
Name: hunspell-st Name: hunspell-st
Summary: Southern Sotho hunspell dictionaries Summary: Southern Sotho hunspell dictionaries
%define upstreamid 20060123 %define upstreamid 20091030
Version: 0.%{upstreamid} Version: 0.%{upstreamid}
Release: 3%{?dist} Release: 1%{?dist}
Source: http://downloads.translate.org.za/spellchecker/southern_sotho/myspell-st_ZA-%{upstreamid}.zip Source: http://extensions.services.openoffice.org/e-files/3138/0/dict-st_ZA-2009.10.30.oxt
Group: Applications/Text Group: Applications/Text
URL: http://www.translate.org.za/ URL: http://www.translate.org.za/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -19,6 +19,16 @@ Southern Sotho hunspell dictionaries.
%setup -q -c -n hunspell-st %setup -q -c -n hunspell-st
%build %build
for i in README-st_ZA.txt release-notes-st_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 %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -30,10 +40,13 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README_st_ZA.txt %doc README-st_ZA.txt release-notes-st_ZA.txt package-description.txt
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Sat Feb 06 2010 Caolan McNamara <caolanm@redhat.com> - 0.20091030-1
- latest version
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060123-3 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060123-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View File

@ -1 +1 @@
66a8ea99f42a07423db3724109306cd9 myspell-st_ZA-20060123.zip 70fa52ae3f2dd6d81293665ba3e35f4b dict-st_ZA-2009.10.30.oxt