Update to 4.1.0
This commit is contained in:
parent
b89e3481e9
commit
0184996acb
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/tessdata_fast-4.0.0.tar.gz
|
||||
/tessdata_fast-4.1.0.tar.gz
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (tessdata_fast-4.0.0.tar.gz) = bffb954712c4ae14ba223fb37a4ea5a9a0aa21d735d784a66cbb8d226cf53fed8138132bf9f887d3f740cb7ccb32ab46954ca25e43212872ea172ffe95891a05
|
||||
SHA512 (tessdata_fast-4.1.0.tar.gz) = d5e3461d262e300ebf21abc39d19471a6aabed442eab8fdee772368a02c4fe0d2e5738701e31b2d0777989778c9db0169a57ea89537266bc66d2228fb96ea63e
|
||||
|
@ -4,8 +4,8 @@
|
||||
#global pre beta.1
|
||||
|
||||
Name: tesseract-tessdata
|
||||
Version: 4.0.0
|
||||
Release: 10%{?pre:.%pre}%{?commit:.git%{shortcommit}}%{?dist}
|
||||
Version: 4.1.0
|
||||
Release: 1%{?pre:.%pre}%{?commit:.git%{shortcommit}}%{?dist}
|
||||
Summary: Trained models for the Tesseract Open Source OCR Engine
|
||||
BuildArch: noarch
|
||||
|
||||
@ -42,6 +42,16 @@ Requires: %{name}-doc = %{version}-%{release}
|
||||
Orientation & Script Detection data for the Tesseract Open Source OCR Engine.
|
||||
|
||||
|
||||
%package -n tesseract-equ
|
||||
Summary: Equation traineddata for tesseract
|
||||
BuildArch: noarch
|
||||
Requires: tesseract
|
||||
Requires: %{name}-doc = %{version}-%{release}
|
||||
|
||||
%description -n tesseract-equ
|
||||
Data for processing images of mathematics with the Tesseract Open Source OCR Engine.
|
||||
|
||||
|
||||
# define lang_subpkg macro
|
||||
# m: 3 letter macrolanguage code
|
||||
# l: langcode used in Provides and Supplements tags
|
||||
@ -273,19 +283,30 @@ mkdir -p %{buildroot}/%{_datadir}/tesseract/tessdata/
|
||||
cp -a * %{buildroot}/%{_datadir}/tesseract/tessdata/
|
||||
|
||||
# Install these through %%license and %%doc
|
||||
rm -f %{buildroot}/%{_datadir}/tesseract/tessdata/COPYING
|
||||
rm -f %{buildroot}/%{_datadir}/tesseract/tessdata/LICENSE
|
||||
rm -f %{buildroot}/%{_datadir}/tesseract/tessdata/README.md
|
||||
|
||||
# https://github.com/tesseract-ocr/tessdata_fast/issues/27
|
||||
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
|
||||
|
||||
%files -n tesseract-equ
|
||||
%{_datadir}/tesseract/tessdata/equ.traineddata
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 17 2021 Sandro Mani <manisandro@gmail.com> - 4.1.0-1
|
||||
- Update to 4.1.0
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user