forked from pool/python-tesserocr
Accepting request 627286 from devel:languages:python
- Ensure we require some of the tesseract data so we can do at least some basic ocr operations - Drop unused bcond OBS-URL: https://build.opensuse.org/request/show/627286 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tesserocr?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 2 09:40:45 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Ensure we require some of the tesseract data so we can do at
|
||||||
|
least some basic ocr operations
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 2 08:59:20 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Drop unused bcond
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 26 16:07:43 UTC 2018 - 9+suse@cirno.systems
|
Tue Jun 26 16:07:43 UTC 2018 - 9+suse@cirno.systems
|
||||||
|
|
||||||
|
@@ -17,14 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without test
|
|
||||||
Name: python-tesserocr
|
Name: python-tesserocr
|
||||||
Version: 2.3.0
|
Version: 2.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A simple, Pillow-friendly, Python wrapper around tesseract-ocr
|
Summary: A simple, Pillow-friendly, Python wrapper around tesseract-ocr
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/sirfz/tesserocr
|
URL: https://github.com/sirfz/tesserocr
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/tesserocr/tesserocr-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/tesserocr/tesserocr-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module Pillow}
|
BuildRequires: %{python_module Pillow}
|
||||||
@@ -38,6 +37,8 @@ BuildRequires: python-rpm-macros
|
|||||||
BuildRequires: tesseract-ocr-traineddata-english
|
BuildRequires: tesseract-ocr-traineddata-english
|
||||||
BuildRequires: tesseract-ocr-traineddata-orientation_and_script_detection
|
BuildRequires: tesseract-ocr-traineddata-orientation_and_script_detection
|
||||||
BuildRequires: pkgconfig(tesseract)
|
BuildRequires: pkgconfig(tesseract)
|
||||||
|
Requires: tesseract-ocr-traineddata-english
|
||||||
|
Requires: tesseract-ocr-traineddata-orientation_and_script_detection
|
||||||
Recommends: python-Pillow
|
Recommends: python-Pillow
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user