rpms/tesseract/devel tesseract-2.01-upstream_patch1.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 sources, 1.3, 1.4 tesseract.spec, 1.2, 1.3

Karol Trzcionka (karlik) fedora-extras-commits at redhat.com
Fri Sep 7 21:21:35 UTC 2007


Author: karlik

Update of /cvs/pkgs/rpms/tesseract/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4495/tesseract/devel

Modified Files:
	.cvsignore sources tesseract.spec 
Added Files:
	tesseract-2.01-upstream_patch1.patch 
Log Message:
Upgrade to v2.01


tesseract-2.01-upstream_patch1.patch:

--- NEW FILE tesseract-2.01-upstream_patch1.patch ---
+++ training/unicharset_extractor.cpp	2007-08-28 03:59:07.000000000 +0200
--- training/unicharset_extractor.cpp	2007-08-31 00:11:09.000000000 +0200
@@ -72,7 +72,7 @@
       unicharset->set_isalpha(id, 1);
       if (iswlower(wc))
         unicharset->set_islower(id, 1);
-      if (iswlower(wc))
+      if (iswupper(wc))
         unicharset->set_isupper(id, 1);
     }
     if (iswdigit(wc))


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/tesseract/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	24 Aug 2007 14:34:28 -0000	1.3
+++ .cvsignore	7 Sep 2007 21:21:03 -0000	1.4
@@ -1,2 +1,2 @@
+tesseract-2.01.tar.gz
 tesseract-2.00.eng.tar.gz
-tesseract-2.00.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tesseract/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	24 Aug 2007 14:34:28 -0000	1.3
+++ sources	7 Sep 2007 21:21:03 -0000	1.4
@@ -1,2 +1,2 @@
+fb0e6e7652b985049c11a4bc8e593885  tesseract-2.01.tar.gz
 b8291d6b3a63ce7879d688e845e341a9  tesseract-2.00.eng.tar.gz
-6d68d940ed15c61300cb04019c30f46c  tesseract-2.00.tar.gz


Index: tesseract.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tesseract/devel/tesseract.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- tesseract.spec	24 Aug 2007 14:34:28 -0000	1.2
+++ tesseract.spec	7 Sep 2007 21:21:03 -0000	1.3
@@ -1,5 +1,5 @@
 Name:		tesseract
-Version:	2.00
+Version:	2.01
 Release:	1%{?dist}
 Summary:	Raw OCR Engine 
 
@@ -7,7 +7,8 @@
 License:	ASL 2.0
 URL:		http://code.google.com/p/tesseract-ocr/
 Source0:	http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.tar.gz
-Source1:	http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.eng.tar.gz
+Source1:	http://tesseract-ocr.googlecode.com/files/%{name}-2.00.eng.tar.gz
+Patch0:		tesseract-2.01-upstream_patch1.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	libtiff-devel
 
@@ -27,6 +28,7 @@
 
 %prep
 %setup -q -a 1
+%patch0
 
 %build
 sed -i 's#-DTESSDATA_PREFIX=@datadir@/#-DTESSDATA_PREFIX=@datadir@/%{name}/##' ccutil/Makefile.*
@@ -52,7 +54,6 @@
 %{_bindir}/unicharset_extractor
 %{_bindir}/wordlist2dawg
 %{_datadir}/%{name}
-%{_datadir}/%{name}/tessdata/eng*
 
 %doc AUTHORS ChangeLog COPYING NEWS phototest.tif README 
 
@@ -61,6 +62,8 @@
 %{_includedir}/%{name}
 
 %changelog
+* Fri Sep 07 2007 Karol Trzcionka <karlikt at gmail.com> - 2.01-1
+- Upgrade to v2.01
 * Tue Aug 21 2007 Karol Trzcionka <karlikt at gmail.com> - 2.00-1
 - Upgrade to v2.00
 * Thu Mar 22 2007 Karol Trzcionka <karlikt at gmail.com> - 1.04-1




More information about the scm-commits mailing list