Update to 4.1.0
This commit is contained in:
parent
866eb14582
commit
84ff8e4ea9
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,14 +1,14 @@
|
||||
Name: tesseract-tessdata
|
||||
Version: 4.0.0
|
||||
Release: 2
|
||||
Version: 4.1.0
|
||||
Release: 1
|
||||
Summary: Trained models for the Tesseract Open Source OCR Engine
|
||||
BuildArch: noarch
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/tesseract-ocr/tessdata_fast
|
||||
# Source 0, 1, 2, 3 is from https://github.com/tesseract-ocr/tessdata_fast/archive/%{version}/tessdata_fast-%{version}.tar.gz
|
||||
# we split it to 4 parts beacuse the size of tarball is over 100mb.
|
||||
Source0: tessdata_fast-4.0.0-part1.tar.gz
|
||||
Source1: tessdata_fast-4.0.0-part2.tar.gz
|
||||
Source0: tessdata_fast-4.1.0-part1.tar.gz
|
||||
Source1: tessdata_fast-4.1.0-part2.tar.gz
|
||||
Source2: tessdata_fast-script-part1.tar.gz
|
||||
Source3: tessdata_fast-script-part2.tar.gz
|
||||
|
||||
@ -237,17 +237,25 @@ cd -
|
||||
%install
|
||||
mkdir -p %{buildroot}/%{_datadir}/tesseract/tessdata/
|
||||
cp -a * %{buildroot}/%{_datadir}/tesseract/tessdata/
|
||||
rm -f %{buildroot}/%{_datadir}/tesseract/tessdata/COPYING
|
||||
|
||||
rm -f %{buildroot}/%{_datadir}/tesseract/tessdata/LICENSE
|
||||
rm -f %{buildroot}/%{_datadir}/tesseract/tessdata/README.md
|
||||
|
||||
rm -f %{buildroot}/%{_datadir}/tesseract/tessdata/configs
|
||||
rm -f %{buildroot}/%{_datadir}/tesseract/tessdata/pdf.ttf
|
||||
|
||||
%files doc
|
||||
%license COPYING
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
|
||||
%files -n tesseract-osd
|
||||
%{_datadir}/tesseract/tessdata/osd.traineddata
|
||||
%{_datadir}/tesseract/tessdata/equ.traineddata
|
||||
|
||||
%changelog
|
||||
* Tue Jul 04 2023 wulei <wu_lei@hoperun.com> - 4.1.0-1
|
||||
- Update to 4.1.0
|
||||
|
||||
* Tue Jun 07 2022 liukuo <liukuo@kylinos.cn> - 4.0.0-2
|
||||
- License compliance rectification
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user