- Improvements to get rid of the broken line
This commit is contained in:
parent
b7d5908c5a
commit
2fa174b3e2
17
hunspell-mr-get-rid-of-broken-line.patch
Normal file
17
hunspell-mr-get-rid-of-broken-line.patch
Normal 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>ूम
|
||||
कंटकांचीच
|
||||
कंटकासम
|
||||
-कंटाळणेकलिंगà¤<
|
||||
कंटाळता
|
||||
कंटाळती
|
||||
कंटाळला
|
||||
@ -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.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user