update to 5.3.0 [release 5.3.0-1mamba;Sun Jan 08 2023]
This commit is contained in:
parent
d3fecdb26e
commit
b917177ca4
@ -1,15 +1,15 @@
|
||||
%define majver %(echo %version | cut -d. -f1-2)
|
||||
Name: tesseract
|
||||
Version: 4.1.1
|
||||
Version: 5.3.0
|
||||
Release: 1mamba
|
||||
Summary: An OCR Engine that was developed at HP Labs between 1985 and 1995
|
||||
Group: Applications/Accessibility
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://code.google.com/p/tesseract-ocr
|
||||
URL: https://github.com/tesseract-ocr/
|
||||
Source: https://github.com/tesseract-ocr/tesseract.git/%{version}/tesseract-%{version}.tar.bz2
|
||||
Source1: https://github.com/tesseract-ocr/langdata.git/master/langdata-%{version}.tar.bz2
|
||||
Source1: https://github.com/tesseract-ocr/langdata.git/main/langdata-%{version}.tar.bz2
|
||||
#Source1: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.eng.tar.gz
|
||||
#Source2: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.hin.tar.gz
|
||||
#Source3: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.ara.tar.gz
|
||||
@ -58,19 +58,15 @@ Patch0: %{name}-3.01-gcc-4.7.patch
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libarchive-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libjbig-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libgomp-devel
|
||||
BuildRequires: libleptonica-devel
|
||||
BuildRequires: liblzma-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libleptonica-devel >= 1.73-1mamba
|
||||
BuildRequires: libleptonica-devel >= 1.83.0
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Tesseract is an OCR Engine that was developed at HP Labs between 1985 and 1995.
|
||||
@ -96,6 +92,8 @@ This package contains libraries and header files for developing applications tha
|
||||
|
||||
%prep
|
||||
%setup -q -a1
|
||||
#-D -T
|
||||
#:<< _EOF
|
||||
#-a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9
|
||||
#%patch0 -p1
|
||||
|
||||
@ -105,15 +103,14 @@ cp %{S:20} %{S:22} %{S:23} %{S:24} %{S:25} %{S:26} %{S:27} %{S:28} %{S:29} .
|
||||
cp %{S:30} %{S:31} %{S:32} %{S:33} %{S:34} %{S:35} %{S:36} %{S:37} %{S:38} %{S:39} .
|
||||
cp %{S:40} %{S:41} %{S:42} %{S:43} %{S:44} %{S:45} .
|
||||
gunzip *.gz
|
||||
cd ..
|
||||
|
||||
#sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac
|
||||
|
||||
./autogen.sh
|
||||
|
||||
%build
|
||||
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac
|
||||
autoreconf -f -i
|
||||
#%{__libtoolize}
|
||||
#%{__aclocal}
|
||||
#%{__autoconf}
|
||||
#%{__autoheader}
|
||||
#%{__automake}
|
||||
#:<< _EOF
|
||||
%configure
|
||||
%make
|
||||
|
||||
@ -163,7 +160,6 @@ cp -a tessdata/*.traineddata %{buildroot}%{_datadir}/tessdata/
|
||||
%dir %{_includedir}/tesseract
|
||||
%{_includedir}/tesseract/*.h
|
||||
%{_libdir}/libtesseract.a
|
||||
%{_libdir}/libtesseract.la
|
||||
%{_libdir}/libtesseract.so
|
||||
%{_libdir}/pkgconfig/tesseract.pc
|
||||
#%doc ChangeLog NEWS README
|
||||
@ -550,6 +546,9 @@ Othert languages data for Tesseract.
|
||||
%{_datadir}/tessdata/vie.traineddata
|
||||
|
||||
%changelog
|
||||
* Sun Jan 08 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.0-1mamba
|
||||
- update to 5.3.0
|
||||
|
||||
* Fri Jan 31 2020 Automatic Build System <autodist@mambasoft.it> 4.1.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user