From 13ddfc0568866f5658cd16f5d2985e239352cc81 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Sat, 6 Feb 2010 20:29:16 +0000 Subject: [PATCH] latest version --- .cvsignore | 2 +- hunspell-ss.spec | 21 +++++++++++++++++---- sources | 2 +- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/.cvsignore b/.cvsignore index 1248bdf..d1f1a6f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -myspell-ss_ZA-20060705.zip +dict-ss_ZA-2009.10.30.oxt diff --git a/hunspell-ss.spec b/hunspell-ss.spec index 83da442..fb73f1e 100644 --- a/hunspell-ss.spec +++ b/hunspell-ss.spec @@ -1,9 +1,9 @@ Name: hunspell-ss Summary: Swati hunspell dictionaries -%define upstreamid 20060705 +%define upstreamid 20091030 Version: 0.%{upstreamid} -Release: 3%{?dist} -Source: http://downloads.translate.org.za/spellchecker/swati/myspell-ss_ZA-%{upstreamid}.zip +Release: 1%{?dist} +Source: http://extensions.services.openoffice.org/e-files/3137/0/dict-ss_ZA-2009.10.30.oxt Group: Applications/Text URL: http://www.translate.org.za/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -19,6 +19,16 @@ Swati hunspell dictionaries. %setup -q -c -n hunspell-ss %build +for i in README-ss_ZA.txt release-notes-ss_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 rm -rf $RPM_BUILD_ROOT @@ -30,10 +40,13 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc README_ss_ZA.txt +%doc README-ss_ZA.txt release-notes-ss_ZA.txt package-description.txt %{_datadir}/myspell/* %changelog +* Sat Feb 06 2010 Caolan McNamara - 0.20091030-1 +- latest version + * Fri Jul 24 2009 Fedora Release Engineering - 0.20060705-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index fd33b2e..2f10db8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -49bd1f790f16ef190bf940692d4ea276 myspell-ss_ZA-20060705.zip +24e27d1e3e0a46c3f932adf6a4fac780 dict-ss_ZA-2009.10.30.oxt