diff --git a/hunspell-mr-get-rid-of-broken-line.patch b/hunspell-mr-get-rid-of-broken-line.patch new file mode 100644 index 0000000..76f3a6f --- /dev/null +++ b/hunspell-mr-get-rid-of-broken-line.patch @@ -0,0 +1,17 @@ +diff -pruN mr-IN.orig/mr_IN.dic mr-IN/mr_IN.dic +--- mr-IN.orig/mr_IN.dic 2006-07-17 01:55:28.000000000 +0900 ++++ mr-IN/mr_IN.dic 2010-02-18 18:03:00.731167547 +0900 +@@ -1,4 +1,4 @@ +-12612 ++12630 + जनभारती + सी-डॅक चा + मुक्त +@@ -5809,7 +5809,6 @@ कंजूसी + कंझूम + कंटकांचीच + कंटकासम +-कंटाळणेकलिंग< + कंटाळता + कंटाळती + कंटाळला diff --git a/hunspell-mr.spec b/hunspell-mr.spec index 0bf6a45..184875a 100644 --- a/hunspell-mr.spec +++ b/hunspell-mr.spec @@ -1,8 +1,9 @@ Name: hunspell-mr Summary: Marathi hunspell dictionaries Version: 20060920 -Release: 5%{?dist} +Release: 6%{?dist} Source: http://ftp.freepark.org/OpenOffice.org/contrib/dictionaries/mr_IN.zip +Patch0: hunspell-mr-get-rid-of-broken-line.patch Group: Applications/Text URL: http://wiki.services.openoffice.org/wiki/Dictionaries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -16,15 +17,10 @@ Marathi hunspell dictionaries. %prep %setup -q -c -n mr-IN +%patch0 -p1 %build -#line 5812 is not correctly encoded, so lets cut it out -#skip the line count line and grab up to the bad line -head -n 5811 mr_IN.dic | tail -n 5810 > fixed_mr_IN.dic -tail -n +5813 mr_IN.dic >> fixed_mr_IN.dic -#fix line count -cat fixed_mr_IN.dic | wc -l > mr_IN.dic -cat fixed_mr_IN.dic >> mr_IN.dic +#nothing to do here %install rm -rf $RPM_BUILD_ROOT @@ -40,6 +36,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/myspell/* %changelog +* Thu Feb 18 2010 Parag - 20060920-6 +- Resolves: rh#566395:- Improvements to get rid of the broken line + * Mon Jan 11 2010 Parag - 20060920-5 - Change Source URL to new mirror.