Upgrade to v2.01
This commit is contained in:
parent
7ab0517dd6
commit
bfb6b5083f
|
@ -1,2 +1,2 @@
|
||||||
|
tesseract-2.01.tar.gz
|
||||||
tesseract-2.00.eng.tar.gz
|
tesseract-2.00.eng.tar.gz
|
||||||
tesseract-2.00.tar.gz
|
|
||||||
|
|
2
sources
2
sources
|
@ -1,2 +1,2 @@
|
||||||
|
fb0e6e7652b985049c11a4bc8e593885 tesseract-2.01.tar.gz
|
||||||
b8291d6b3a63ce7879d688e845e341a9 tesseract-2.00.eng.tar.gz
|
b8291d6b3a63ce7879d688e845e341a9 tesseract-2.00.eng.tar.gz
|
||||||
6d68d940ed15c61300cb04019c30f46c tesseract-2.00.tar.gz
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
+++ 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))
|
|
@ -1,5 +1,5 @@
|
||||||
Name: tesseract
|
Name: tesseract
|
||||||
Version: 2.00
|
Version: 2.01
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Raw OCR Engine
|
Summary: Raw OCR Engine
|
||||||
|
|
||||||
|
@ -7,7 +7,8 @@ Group: Applications/File
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://code.google.com/p/tesseract-ocr/
|
URL: http://code.google.com/p/tesseract-ocr/
|
||||||
Source0: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.tar.gz
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: libtiff-devel
|
BuildRequires: libtiff-devel
|
||||||
|
|
||||||
|
@ -27,6 +28,7 @@ developing applications that use %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a 1
|
%setup -q -a 1
|
||||||
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
sed -i 's#-DTESSDATA_PREFIX=@datadir@/#-DTESSDATA_PREFIX=@datadir@/%{name}/##' ccutil/Makefile.*
|
sed -i 's#-DTESSDATA_PREFIX=@datadir@/#-DTESSDATA_PREFIX=@datadir@/%{name}/##' ccutil/Makefile.*
|
||||||
|
@ -52,7 +54,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_bindir}/unicharset_extractor
|
%{_bindir}/unicharset_extractor
|
||||||
%{_bindir}/wordlist2dawg
|
%{_bindir}/wordlist2dawg
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
%{_datadir}/%{name}/tessdata/eng*
|
|
||||||
|
|
||||||
%doc AUTHORS ChangeLog COPYING NEWS phototest.tif README
|
%doc AUTHORS ChangeLog COPYING NEWS phototest.tif README
|
||||||
|
|
||||||
|
@ -61,6 +62,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_includedir}/%{name}
|
%{_includedir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Aug 21 2007 Karol Trzcionka <karlikt at gmail.com> - 2.00-1
|
||||||
- Upgrade to v2.00
|
- Upgrade to v2.00
|
||||||
* Thu Mar 22 2007 Karol Trzcionka <karlikt at gmail.com> - 1.04-1
|
* Thu Mar 22 2007 Karol Trzcionka <karlikt at gmail.com> - 1.04-1
|
||||||
|
|
Loading…
Reference in New Issue