diff --git a/.gitignore b/.gitignore index 238adc0..2c292d6 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ tesseract-2.00.eng.tar.gz /tesseract-4.1.1.tar.gz /tesseract-4.1.3.tar.gz /tesseract-5.0.0.tar.gz +/tesseract-5.0.1.tar.gz diff --git a/sources b/sources index 3608b38..ffe7ef4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tesseract-5.0.0.tar.gz) = 80e0d6e9076eb8d6b0d99942586acbb43aaec7bee7f7b13a500470aa11bf03f1c128434d764abd67839355e3fb80d41d0bcf10400b33e57fa0ae4659adb42af9 +SHA512 (tesseract-5.0.1.tar.gz) = 0a4824f71eb76ab022f3b9258d12b9a059adcf2f37fac6442ae1096d0efc80404ba1bfd9c90e8263178c1af606c2aad2b277ceb93efc3b9e93c125f931ff08c1 diff --git a/tesseract.spec b/tesseract.spec index 7661716..0a576c3 100644 --- a/tesseract.spec +++ b/tesseract.spec @@ -1,8 +1,8 @@ #global pre beta.4 Name: tesseract -Version: 5.0.0 -Release: 3%{?pre:.%pre}%{?dist} +Version: 5.0.1 +Release: 1%{?pre:.%pre}%{?dist} Summary: Raw OCR Engine License: ASL 2.0 @@ -124,6 +124,9 @@ find %{buildroot} -name '*.la' -delete %changelog +* Sat Jan 08 2022 Sandro Mani - 5.0.1-1 +- Update to 5.0.1 + * Fri Dec 17 2021 Sandro Mani - 5.0.0-3 - Switch back to autotools diff --git a/tesseract_tessdata_prefix.patch b/tesseract_tessdata_prefix.patch index f03468b..196303d 100644 --- a/tesseract_tessdata_prefix.patch +++ b/tesseract_tessdata_prefix.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference tesseract-5.0.0/Makefile.am tesseract-5.0.0-new/Makefile.am ---- tesseract-5.0.0/Makefile.am 2021-11-30 18:48:16.000000000 +0100 -+++ tesseract-5.0.0-new/Makefile.am 2021-12-17 11:28:40.773210872 +0100 +diff -rupN --no-dereference tesseract-5.0.1/Makefile.am tesseract-5.0.1-new/Makefile.am +--- tesseract-5.0.1/Makefile.am 2022-01-07 13:43:52.000000000 +0100 ++++ tesseract-5.0.1-new/Makefile.am 2022-01-08 09:29:40.505363003 +0100 @@ -338,7 +338,7 @@ endif libtesseract_ccutil_la_CPPFLAGS = $(AM_CPPFLAGS) libtesseract_ccutil_la_CPPFLAGS += $(libarchive_CFLAGS) @@ -19,27 +19,27 @@ diff -rupN --no-dereference tesseract-5.0.0/Makefile.am tesseract-5.0.0-new/Make endif noinst_HEADERS += src/lstm/convolve.h -diff -rupN --no-dereference tesseract-5.0.0/tessdata/configs/Makefile.am tesseract-5.0.0-new/tessdata/configs/Makefile.am ---- tesseract-5.0.0/tessdata/configs/Makefile.am 2021-11-30 18:48:16.000000000 +0100 -+++ tesseract-5.0.0-new/tessdata/configs/Makefile.am 2021-12-17 11:28:40.773210872 +0100 +diff -rupN --no-dereference tesseract-5.0.1/tessdata/configs/Makefile.am tesseract-5.0.1-new/tessdata/configs/Makefile.am +--- tesseract-5.0.1/tessdata/configs/Makefile.am 2022-01-07 13:43:52.000000000 +0100 ++++ tesseract-5.0.1-new/tessdata/configs/Makefile.am 2022-01-08 09:29:40.505363003 +0100 @@ -1,4 +1,4 @@ -datadir = @datadir@/tessdata/configs +datadir = @datadir@/tesseract/tessdata/configs data_DATA = inter makebox box.train unlv ambigs.train lstm.train lstmdebug data_DATA += api_config kannada box.train.stderr quiet logfile digits get.images data_DATA += lstmbox wordstrbox -diff -rupN --no-dereference tesseract-5.0.0/tessdata/Makefile.am tesseract-5.0.0-new/tessdata/Makefile.am ---- tesseract-5.0.0/tessdata/Makefile.am 2021-11-30 18:48:16.000000000 +0100 -+++ tesseract-5.0.0-new/tessdata/Makefile.am 2021-12-17 11:28:40.774210870 +0100 +diff -rupN --no-dereference tesseract-5.0.1/tessdata/Makefile.am tesseract-5.0.1-new/tessdata/Makefile.am +--- tesseract-5.0.1/tessdata/Makefile.am 2022-01-07 13:43:52.000000000 +0100 ++++ tesseract-5.0.1-new/tessdata/Makefile.am 2022-01-08 09:29:40.506363004 +0100 @@ -1,4 +1,4 @@ -datadir = @datadir@/tessdata +datadir = @datadir@/tesseract/tessdata data_DATA = pdf.ttf EXTRA_DIST = $(data_DATA) -diff -rupN --no-dereference tesseract-5.0.0/tessdata/tessconfigs/Makefile.am tesseract-5.0.0-new/tessdata/tessconfigs/Makefile.am ---- tesseract-5.0.0/tessdata/tessconfigs/Makefile.am 2021-11-30 18:48:16.000000000 +0100 -+++ tesseract-5.0.0-new/tessdata/tessconfigs/Makefile.am 2021-12-17 11:28:40.774210870 +0100 +diff -rupN --no-dereference tesseract-5.0.1/tessdata/tessconfigs/Makefile.am tesseract-5.0.1-new/tessdata/tessconfigs/Makefile.am +--- tesseract-5.0.1/tessdata/tessconfigs/Makefile.am 2022-01-07 13:43:52.000000000 +0100 ++++ tesseract-5.0.1-new/tessdata/tessconfigs/Makefile.am 2022-01-08 09:29:40.506363004 +0100 @@ -1,3 +1,3 @@ -datadir = @datadir@/tessdata/tessconfigs +datadir = @datadir@/tesseract/tessdata/tessconfigs