Update to 3.04.01
This commit is contained in:
parent
4828498098
commit
22e2b7faa5
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@ tesseract-2.00.eng.tar.gz
|
||||
/tesseract-3.03-rc1.tar.gz
|
||||
/tesseract-3.04.00.tar.gz
|
||||
/tessdata-3.04.00.tar.gz
|
||||
/tesseract-3.04.01.tar.gz
|
||||
|
||||
3
sources
3
sources
@ -1,2 +1 @@
|
||||
078130b9c7d28c558a0e49d432505864 tesseract-3.04.00.tar.gz
|
||||
b25e830d203af5c863081af3f684b53a tessdata-3.04.00.tar.gz
|
||||
645a21effcf2825a3473849d72a7fd90 tesseract-3.04.01.tar.gz
|
||||
|
||||
@ -1,12 +1,14 @@
|
||||
%global tessdata_version 3.04.00
|
||||
|
||||
Name: tesseract
|
||||
Version: 3.04.00
|
||||
Release: 6%{?dist}
|
||||
Version: 3.04.01
|
||||
Release: 1%{?dist}
|
||||
Summary: Raw OCR Engine
|
||||
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/tesseract-ocr/%{name}
|
||||
Source0: https://github.com/tesseract-ocr/tesseract/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: https://github.com/tesseract-ocr/tessdata/archive/%{version}.tar.gz#/tessdata-%{version}.tar.gz
|
||||
Source1: https://github.com/tesseract-ocr/tessdata/archive/%{tessdata_version}.tar.gz#/tessdata-%{tessdata_version}.tar.gz
|
||||
|
||||
# Tweak location of tessdata folder
|
||||
Patch0: tesseract_datadir.patch
|
||||
@ -193,7 +195,7 @@ make %{?_smp_mflags} training
|
||||
|
||||
find %{buildroot}%{_libdir} -type f -name '*.la' -delete
|
||||
|
||||
install -pm 0644 tessdata-%{version}/* %{buildroot}/%{_datadir}/%{name}/tessdata/
|
||||
install -pm 0644 tessdata-%{tessdata_version}/* %{buildroot}/%{_datadir}/%{name}/tessdata/
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
@ -202,7 +204,7 @@ install -pm 0644 tessdata-%{version}/* %{buildroot}/%{_datadir}/%{name}/tessdata
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog NEWS README testing/eurotext.tif testing/phototest.tif
|
||||
%doc AUTHORS ChangeLog NEWS README.md testing/eurotext.tif testing/phototest.tif
|
||||
%{_bindir}/ambiguous_words
|
||||
%{_bindir}/classifier_tester
|
||||
%{_bindir}/combine_tessdata
|
||||
@ -234,6 +236,9 @@ install -pm 0644 tessdata-%{version}/* %{buildroot}/%{_datadir}/%{name}/tessdata
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Feb 19 2016 Sandro Mani <manisandro@gmail.com> - 3.04.01-1
|
||||
- Update to 3.04.01
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.04.00-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
diff -rupN tesseract-3.04.00/ccutil/Makefile.am tesseract-3.04.00-new/ccutil/Makefile.am
|
||||
--- tesseract-3.04.00/ccutil/Makefile.am 2015-07-11 09:53:12.000000000 +0200
|
||||
+++ tesseract-3.04.00-new/ccutil/Makefile.am 2015-09-12 19:10:31.983919381 +0200
|
||||
diff -rupN tesseract-3.04.01/ccutil/Makefile.am tesseract-3.04.01-new/ccutil/Makefile.am
|
||||
--- tesseract-3.04.01/ccutil/Makefile.am 2016-02-16 22:27:01.000000000 +0100
|
||||
+++ tesseract-3.04.01-new/ccutil/Makefile.am 2016-02-18 16:16:09.311713199 +0100
|
||||
@@ -3,7 +3,7 @@ SUBDIRS =
|
||||
AM_CXXFLAGS =
|
||||
|
||||
@ -10,26 +10,26 @@ diff -rupN tesseract-3.04.00/ccutil/Makefile.am tesseract-3.04.00-new/ccutil/Mak
|
||||
endif
|
||||
|
||||
if VISIBILITY
|
||||
diff -rupN tesseract-3.04.00/tessdata/configs/Makefile.am tesseract-3.04.00-new/tessdata/configs/Makefile.am
|
||||
--- tesseract-3.04.00/tessdata/configs/Makefile.am 2015-07-11 09:53:12.000000000 +0200
|
||||
+++ tesseract-3.04.00-new/tessdata/configs/Makefile.am 2015-09-12 19:10:40.978587765 +0200
|
||||
diff -rupN tesseract-3.04.01/tessdata/configs/Makefile.am tesseract-3.04.01-new/tessdata/configs/Makefile.am
|
||||
--- tesseract-3.04.01/tessdata/configs/Makefile.am 2016-02-16 22:27:01.000000000 +0100
|
||||
+++ tesseract-3.04.01-new/tessdata/configs/Makefile.am 2016-02-18 16:16:09.312713173 +0100
|
||||
@@ -1,3 +1,3 @@
|
||||
-datadir = @datadir@/tessdata/configs
|
||||
+datadir = @datadir@/tesseract/tessdata/configs
|
||||
data_DATA = inter makebox box.train unlv ambigs.train api_config kannada box.train.stderr quiet logfile digits hocr linebox pdf rebox strokewidth bigram
|
||||
EXTRA_DIST = inter makebox box.train unlv ambigs.train api_config kannada box.train.stderr quiet logfile digits hocr linebox pdf rebox strokewidth bigram
|
||||
diff -rupN tesseract-3.04.00/tessdata/Makefile.am tesseract-3.04.00-new/tessdata/Makefile.am
|
||||
--- tesseract-3.04.00/tessdata/Makefile.am 2015-07-11 09:53:12.000000000 +0200
|
||||
+++ tesseract-3.04.00-new/tessdata/Makefile.am 2015-09-12 19:10:31.985919304 +0200
|
||||
data_DATA = inter makebox box.train unlv ambigs.train api_config kannada box.train.stderr quiet logfile digits hocr linebox pdf rebox strokewidth bigram txt
|
||||
EXTRA_DIST = inter makebox box.train unlv ambigs.train api_config kannada box.train.stderr quiet logfile digits hocr linebox pdf rebox strokewidth bigram txt
|
||||
diff -rupN tesseract-3.04.01/tessdata/Makefile.am tesseract-3.04.01-new/tessdata/Makefile.am
|
||||
--- tesseract-3.04.01/tessdata/Makefile.am 2016-02-16 22:27:01.000000000 +0100
|
||||
+++ tesseract-3.04.01-new/tessdata/Makefile.am 2016-02-18 16:16:09.312713173 +0100
|
||||
@@ -1,4 +1,4 @@
|
||||
-datadir = @datadir@/tessdata
|
||||
+datadir = @datadir@/tesseract/tessdata
|
||||
|
||||
data_DATA = pdf.ttf
|
||||
EXTRA_DIST = $(data_DATA)
|
||||
diff -rupN tesseract-3.04.00/tessdata/tessconfigs/Makefile.am tesseract-3.04.00-new/tessdata/tessconfigs/Makefile.am
|
||||
--- tesseract-3.04.00/tessdata/tessconfigs/Makefile.am 2015-07-11 09:53:12.000000000 +0200
|
||||
+++ tesseract-3.04.00-new/tessdata/tessconfigs/Makefile.am 2015-09-12 19:10:48.218340816 +0200
|
||||
diff -rupN tesseract-3.04.01/tessdata/tessconfigs/Makefile.am tesseract-3.04.01-new/tessdata/tessconfigs/Makefile.am
|
||||
--- tesseract-3.04.01/tessdata/tessconfigs/Makefile.am 2016-02-16 22:27:01.000000000 +0100
|
||||
+++ tesseract-3.04.01-new/tessdata/tessconfigs/Makefile.am 2016-02-18 16:16:09.312713173 +0100
|
||||
@@ -1,3 +1,3 @@
|
||||
-datadir = @datadir@/tessdata/tessconfigs
|
||||
+datadir = @datadir@/tesseract/tessdata/tessconfigs
|
||||
|
||||
Loading…
Reference in New Issue
Block a user