]> git.pld-linux.org Git - packages/tesseract.git/commitdiff
- fix man pages generation auto/th/tesseract-4.0.0-0.beta.4.2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 16 Aug 2018 20:49:47 +0000 (22:49 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 16 Aug 2018 20:50:03 +0000 (22:50 +0200)
- rel 2

a2x.patch [new file with mode: 0644]
tesseract.spec

diff --git a/a2x.patch b/a2x.patch
new file mode 100644 (file)
index 0000000..ef29d6f
--- /dev/null
+++ b/a2x.patch
@@ -0,0 +1,11 @@
+--- tesseract-4.0.0-beta.4/doc/Makefile.am.orig        2018-07-27 08:10:37.000000000 +0200
++++ tesseract-4.0.0-beta.4/doc/Makefile.am     2018-08-16 22:16:29.237559153 +0200
+@@ -32,7 +32,7 @@
+ EXTRA_DIST = $(man_MANS) Doxyfile
+ %: %.asc
+-      $(asciidoc) -o $@ $<
++      a2x -d manpage -f manpage --asciidoc-opts="-f /etc/asciidoc/asciidoc.conf" $<
+ MAINTAINERCLEANFILES = $(man_MANS) Doxyfile
index d1ae0d7f8121fe2700a569f95c6a4c4a387ac64c..75a7329871a8b4ba064927a6927ef617028b0ccf 100644 (file)
@@ -5,17 +5,19 @@
 %bcond_without openmp  # OpenMP support
 %bcond_with    opencl  # OpenCL support
 #
+%define        rel     2
 Summary:       Tesseract Open Source OCR Engine
 Summary(pl.UTF-8):     Tesseract - silnik OCR o otwartych źródłach
 %define        _beta   beta.4
 Name:          tesseract
 Version:       4.0.0
-Release:       0.%{_beta}.1
+Release:       0.%{_beta}.%{rel}
 License:       Apache v2.0
 Group:         Applications/Graphics
 #Source0Download: https://github.com/tesseract-ocr/tesseract/releases
 Source0:       https://github.com/tesseract-ocr/tesseract/archive/%{version}-%{_beta}/%{name}-%{version}-%{_beta}.tar.gz
 # Source0-md5: 9984be13fd64872fb236a60475f5fec6
+Patch0:                a2x.patch
 URL:           https://github.com/tesseract-ocr/
 %{?with_opencl:BuildRequires:  OpenCL-devel}
 BuildRequires: autoconf >= 2.59
@@ -83,6 +85,7 @@ Statyczne biblioteki Tesseracta.
 
 %prep
 %setup -q -n %{name}-%{version}-%{_beta}
+%patch0 -p1
 
 %build
 %{__libtoolize}
This page took 0.143014 seconds and 4 git commands to generate.