[packages/tesseract] - updated to 3.05.00
bszx
bszx at pld-linux.org
Thu Mar 30 19:36:42 CEST 2017
commit cf0c79c1c9362f157abe21227436493cc7d8d16d
Author: Bartek Szady <bszx at bszx.eu>
Date: Thu Mar 30 19:36:09 2017 +0200
- updated to 3.05.00
tesseract-opencl.patch | 11 -----------
tesseract.spec | 10 +++++-----
2 files changed, 5 insertions(+), 16 deletions(-)
---
diff --git a/tesseract.spec b/tesseract.spec
index bb83ff3..7ac39e3 100644
--- a/tesseract.spec
+++ b/tesseract.spec
@@ -8,19 +8,19 @@
Summary: Tesseract Open Source OCR Engine
Summary(pl.UTF-8): Tesseract - silnik OCR o otwartych źródłach
Name: tesseract
-Version: 3.04.01
-Release: 3
+Version: 3.05.00
+Release: 1
License: Apache v2.0
Group: Applications/Graphics
Source0: https://github.com/tesseract-ocr/tesseract/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 645a21effcf2825a3473849d72a7fd90
+# Source0-md5: 478ba26e8e7ea8f6f466d4dfc2332d34
Patch0: %{name}-opencl.patch
URL: https://github.com/tesseract-ocr/
%{?with_opencl:BuildRequires: OpenCL-devel}
BuildRequires: autoconf >= 2.50
BuildRequires: automake
BuildRequires: cairo-devel
-BuildRequires: leptonlib-devel >= 1.71
+BuildRequires: leptonlib-devel >= 1.74
%{?with_openmp:BuildRequires: libgomp-devel}
BuildRequires: libicu-devel
BuildRequires: libstdc++-devel >= 6:4.7
@@ -115,7 +115,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog README.md ReleaseNotes
+%doc AUTHORS COPYING ChangeLog README.md
%attr(755,root,root) %{_bindir}/tesseract
%attr(755,root,root) %{_libdir}/libtesseract.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libtesseract.so.3
diff --git a/tesseract-opencl.patch b/tesseract-opencl.patch
index 2634df6..4dea621 100644
--- a/tesseract-opencl.patch
+++ b/tesseract-opencl.patch
@@ -1,14 +1,3 @@
---- tesseract-3.04.01/configure.ac.orig 2016-02-16 22:27:01.000000000 +0100
-+++ tesseract-3.04.01/configure.ac 2016-02-25 21:32:09.495375558 +0100
-@@ -248,7 +248,7 @@
- fi
- AC_SUBST([AM_CPPFLAGS], [-DUSE_OPENCL])
- OPENCL_CPPFLAGS="-I${OPENCL_INC}"
-- OPENCL_LDFLAGS="-l${OPENCL_LIBS}"
-+ OPENCL_LDFLAGS="${OPENCL_LIBS}"
- fi
- ;;
- esac
--- tesseract-3.04.01/opencl/Makefile.am.orig 2016-02-16 22:27:01.000000000 +0100
+++ tesseract-3.04.01/opencl/Makefile.am 2016-02-26 15:40:52.609300973 +0100
@@ -4,12 +4,14 @@
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tesseract.git/commitdiff/cf0c79c1c9362f157abe21227436493cc7d8d16d
More information about the pld-cvs-commit
mailing list