]> git.pld-linux.org Git - packages/tesseract.git/blobdiff - tesseract.spec
- rebuild with icu 58.2
[packages/tesseract.git] / tesseract.spec
index bb59b373bb9182658903218e4cd4b59973319fe7..bb83ff3da95909ec51b4f4ac48b40892ae79d49c 100644 (file)
@@ -2,14 +2,14 @@
 # - warnings at compile stage about pointer size on amd64 - needs check
 #
 # Conditional build:
-%bcond_without gomp    # OpenMP support
+%bcond_without openmp  # OpenMP support
 %bcond_with    opencl  # OpenCL support
 #
 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:       1
+Release:       3
 License:       Apache v2.0
 Group:         Applications/Graphics
 Source0:       https://github.com/tesseract-ocr/tesseract/archive/%{version}/%{name}-%{version}.tar.gz
@@ -21,7 +21,7 @@ BuildRequires:        autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: cairo-devel
 BuildRequires: leptonlib-devel >= 1.71
-BuildRequires: libgomp-devel
+%{?with_openmp:BuildRequires:  libgomp-devel}
 BuildRequires: libicu-devel
 BuildRequires: libstdc++-devel >= 6:4.7
 BuildRequires: libtiff-devel
@@ -92,7 +92,7 @@ Statyczne biblioteki Tesseracta.
 %{__automake}
 %configure \
        %{?with_opencl:--enable-opencl} \
-       %{!?with_gomp:--disable-openmp}
+       %{!?with_openmp:--disable-openmp}
 %{__make}
 %{__make} training
 
This page took 0.076446 seconds and 4 git commands to generate.