- Improvements to get rid of the broken line

This commit is contained in:
pnemade 2010-03-09 11:07:51 +00:00
parent b7d5908c5a
commit 2fa174b3e2
2 changed files with 24 additions and 8 deletions

View File

@ -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
जनभारती
सी-डॅक चा
मà¥<C3A0>कà¥<C3A0>त
@@ -5809,7 +5809,6 @@ कंजूसी
कà¤à¤<C3A0>à¥à¤®
कंटकांचीच
कंटकासम
-कंटाळणेकलिंगà¤<
कंटाळता
कंटाळती
कंटाळला

View File

@ -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 <pnemade AT redhat.com> - 20060920-6
- Resolves: rh#566395:- Improvements to get rid of the broken line
* Mon Jan 11 2010 Parag <pnemade AT redhat.com> - 20060920-5
- Change Source URL to new mirror.