update to 3.04.00 [release 3.04.00-1mamba;Wed Sep 16 2015]
This commit is contained in:
parent
9f537d229a
commit
b916e50bd2
116
tesseract.spec
116
tesseract.spec
@ -1,23 +1,24 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
Name: tesseract
|
Name: tesseract
|
||||||
Version: 3.02.02
|
Version: 3.04.00
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: An OCR Engine that was developed at HP Labs between 1985 and 1995
|
Summary: An OCR Engine that was developed at HP Labs between 1985 and 1995
|
||||||
Group: Applications/Accessibility
|
Group: Applications/Accessibility
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://code.google.com/p/tesseract-ocr
|
URL: http://code.google.com/p/tesseract-ocr
|
||||||
Source: http://tesseract-ocr.googlecode.com/files/tesseract-%{version}.tar.gz
|
Source: https://github.com/tesseract-ocr/tesseract.git/%{version}/tesseract-%{version}.tar.bz2
|
||||||
Source1: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.eng.tar.gz
|
Source1: https://github.com/tesseract-ocr/langdata.git/master/langdata-%{version}.tar.bz2
|
||||||
Source2: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.hin.tar.gz
|
#Source1: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.eng.tar.gz
|
||||||
Source3: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.ara.tar.gz
|
#Source2: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.hin.tar.gz
|
||||||
Source4: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.01.osd.tar.gz
|
#Source3: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.ara.tar.gz
|
||||||
Source5: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.tha.tar.gz
|
#Source4: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.01.osd.tar.gz
|
||||||
Source6: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.01.slk-frak.tar.gz
|
#Source5: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.tha.tar.gz
|
||||||
Source7: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.01.heb-com.tar.gz
|
#Source6: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.01.slk-frak.tar.gz
|
||||||
Source8: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.heb.tar.gz
|
#Source7: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.01.heb-com.tar.gz
|
||||||
Source9: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.ita.tar.gz
|
#Source8: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.heb.tar.gz
|
||||||
|
Source9: https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.ita.tar.gz
|
||||||
Source10: http://tesseract-ocr.googlecode.com/files/chi_tra.traineddata.gz
|
Source10: http://tesseract-ocr.googlecode.com/files/chi_tra.traineddata.gz
|
||||||
Source11: http://tesseract-ocr.googlecode.com/files/chi_sim.traineddata.gz
|
Source11: http://tesseract-ocr.googlecode.com/files/chi_sim.traineddata.gz
|
||||||
Source12: http://tesseract-ocr.googlecode.com/files/ind.traineddata.gz
|
Source12: http://tesseract-ocr.googlecode.com/files/ind.traineddata.gz
|
||||||
@ -94,11 +95,12 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9
|
%setup -q -a1
|
||||||
|
#-a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9
|
||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
|
|
||||||
cd tesseract-ocr/tessdata
|
cd tessdata
|
||||||
cp %{S:10} %{S:11} %{S:12} %{S:13} %{S:14} %{S:15} %{S:16} %{S:17} %{S:18} %{S:19} .
|
cp %{S:9} %{S:10} %{S:11} %{S:12} %{S:13} %{S:14} %{S:15} %{S:16} %{S:17} %{S:18} %{S:19} .
|
||||||
cp %{S:20} %{S:22} %{S:23} %{S:24} %{S:25} %{S:26} %{S:27} %{S:28} %{S:29} .
|
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: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} .
|
cp %{S:40} %{S:41} %{S:42} %{S:43} %{S:44} %{S:45} .
|
||||||
@ -119,7 +121,7 @@ autoreconf -f -i
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall
|
||||||
|
|
||||||
cp tesseract-ocr/tessdata/* %{buildroot}%{_datadir}/tessdata/
|
cp -a tessdata/*.traineddata %{buildroot}%{_datadir}/tessdata/
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -129,39 +131,40 @@ cp tesseract-ocr/tessdata/* %{buildroot}%{_datadir}/tessdata/
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/ambiguous_words
|
#%{_bindir}/ambiguous_words
|
||||||
%{_bindir}/classifier_tester
|
#%{_bindir}/classifier_tester
|
||||||
%{_bindir}/dawg2wordlist
|
#%{_bindir}/dawg2wordlist
|
||||||
%{_bindir}/shapeclustering
|
#%{_bindir}/shapeclustering
|
||||||
%{_bindir}/cntraining
|
#%{_bindir}/cntraining
|
||||||
%{_bindir}/combine_tessdata
|
#%{_bindir}/combine_tessdata
|
||||||
%{_bindir}/mftraining
|
#%{_bindir}/mftraining
|
||||||
%{_bindir}/tesseract
|
%{_bindir}/tesseract
|
||||||
%{_bindir}/unicharset_extractor
|
#%{_bindir}/unicharset_extractor
|
||||||
%{_bindir}/wordlist2dawg
|
#%{_bindir}/wordlist2dawg
|
||||||
%{_mandir}/man1/ambiguous_words.1.gz
|
%{_datadir}/tessdata/pdf.ttf
|
||||||
%{_mandir}/man1/dawg2wordlist.1.gz
|
%{_mandir}/man1/ambiguous_words.1*
|
||||||
%{_mandir}/man1/shapeclustering.1.gz
|
%{_mandir}/man1/dawg2wordlist.1*
|
||||||
%{_mandir}/man1/cntraining.1.gz
|
%{_mandir}/man1/shapeclustering.1*
|
||||||
%{_mandir}/man1/combine_tessdata.1.gz
|
%{_mandir}/man1/cntraining.1*
|
||||||
%{_mandir}/man1/mftraining.1.gz
|
%{_mandir}/man1/combine_tessdata.1*
|
||||||
%{_mandir}/man1/tesseract.1.gz
|
%{_mandir}/man1/mftraining.1*
|
||||||
%{_mandir}/man1/unicharset_extractor.1.gz
|
%{_mandir}/man1/tesseract.1*
|
||||||
%{_mandir}/man1/wordlist2dawg.1.gz
|
%{_mandir}/man1/unicharset_extractor.1*
|
||||||
%{_mandir}/man5/unicharambigs.5.gz
|
%{_mandir}/man1/wordlist2dawg.1*
|
||||||
%{_mandir}/man5/unicharset.5.gz
|
%{_mandir}/man5/unicharambigs.5*
|
||||||
|
%{_mandir}/man5/unicharset.5*
|
||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_datadir}/tessdata
|
%dir %{_datadir}/tessdata
|
||||||
%{_datadir}/tessdata/eng.*
|
#%{_datadir}/tessdata/eng.*
|
||||||
%{_datadir}/tessdata/osd.traineddata
|
#%{_datadir}/tessdata/osd.traineddata
|
||||||
%dir %{_datadir}/tessdata/configs
|
%dir %{_datadir}/tessdata/configs
|
||||||
%{_datadir}/tessdata/configs/*
|
%{_datadir}/tessdata/configs/*
|
||||||
%dir %{_datadir}/tessdata/tessconfigs
|
%dir %{_datadir}/tessdata/tessconfigs
|
||||||
%{_datadir}/tessdata/tessconfigs/*
|
%{_datadir}/tessdata/tessconfigs/*
|
||||||
%{_libdir}/libtesseract.so.*
|
%{_libdir}/libtesseract.so.*
|
||||||
%doc AUTHORS COPYING
|
#%doc AUTHORS COPYING
|
||||||
|
|
||||||
%files -n lib%{name}-devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -171,7 +174,7 @@ cp tesseract-ocr/tessdata/* %{buildroot}%{_datadir}/tessdata/
|
|||||||
%{_libdir}/libtesseract.la
|
%{_libdir}/libtesseract.la
|
||||||
%{_libdir}/libtesseract.so
|
%{_libdir}/libtesseract.so
|
||||||
%{_libdir}/pkgconfig/tesseract.pc
|
%{_libdir}/pkgconfig/tesseract.pc
|
||||||
%doc ChangeLog NEWS README
|
#%doc ChangeLog NEWS README
|
||||||
|
|
||||||
%package i18n-ar
|
%package i18n-ar
|
||||||
Summary: Arabic language data for Tesseract
|
Summary: Arabic language data for Tesseract
|
||||||
@ -182,9 +185,9 @@ Provides: tesseractlang
|
|||||||
%description i18n-ar
|
%description i18n-ar
|
||||||
Arabic language support for Tesseract.
|
Arabic language support for Tesseract.
|
||||||
|
|
||||||
%files i18n-ar
|
#%files i18n-ar
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%{_datadir}/tessdata/ara.*
|
#%{_datadir}/tessdata/ara.*
|
||||||
|
|
||||||
%package i18n-bg
|
%package i18n-bg
|
||||||
Summary: Bulgarian language data for Tesseract
|
Summary: Bulgarian language data for Tesseract
|
||||||
@ -328,9 +331,9 @@ Provides: tesseractlang
|
|||||||
%description i18n-he
|
%description i18n-he
|
||||||
Hebrew language support for Tesseract.
|
Hebrew language support for Tesseract.
|
||||||
|
|
||||||
%files i18n-he
|
#%files i18n-he
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%{_datadir}/tessdata/heb*
|
#%{_datadir}/tessdata/heb*
|
||||||
|
|
||||||
%package i18n-hi-IN
|
%package i18n-hi-IN
|
||||||
Summary: Hindi language data for Tesseract
|
Summary: Hindi language data for Tesseract
|
||||||
@ -341,9 +344,9 @@ Provides: tesseractlang
|
|||||||
%description i18n-hi-IN
|
%description i18n-hi-IN
|
||||||
Hindi language support for Tesseract.
|
Hindi language support for Tesseract.
|
||||||
|
|
||||||
%files i18n-hi-IN
|
#%files i18n-hi-IN
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%{_datadir}/tessdata/hin.*
|
#%{_datadir}/tessdata/hin.*
|
||||||
|
|
||||||
%package i18n-id
|
%package i18n-id
|
||||||
Summary: Indonesian language data for Tesseract
|
Summary: Indonesian language data for Tesseract
|
||||||
@ -367,10 +370,10 @@ Provides: tesseractlang
|
|||||||
%description i18n-it
|
%description i18n-it
|
||||||
Italian language data for Tesseract.
|
Italian language data for Tesseract.
|
||||||
|
|
||||||
%files i18n-it
|
#%files i18n-it
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%{_datadir}/tessdata/ita.*
|
#%{_datadir}/tessdata/ita.*
|
||||||
%{_datadir}/tessdata/ita_old.traineddata
|
#%{_datadir}/tessdata/ita_old.traineddata
|
||||||
|
|
||||||
%package i18n-ja
|
%package i18n-ja
|
||||||
Summary: Japanese language data for Tesseract
|
Summary: Japanese language data for Tesseract
|
||||||
@ -488,7 +491,7 @@ Slovak language data for Tesseract.
|
|||||||
|
|
||||||
%files i18n-sk
|
%files i18n-sk
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/tessdata/slk-frak.traineddata
|
#%{_datadir}/tessdata/slk-frak.traineddata
|
||||||
%{_datadir}/tessdata/slk.traineddata
|
%{_datadir}/tessdata/slk.traineddata
|
||||||
|
|
||||||
%package i18n-sl
|
%package i18n-sl
|
||||||
@ -549,12 +552,15 @@ Othert languages data for Tesseract.
|
|||||||
%{_datadir}/tessdata/swe-frak.traineddata
|
%{_datadir}/tessdata/swe-frak.traineddata
|
||||||
%{_datadir}/tessdata/swe.traineddata
|
%{_datadir}/tessdata/swe.traineddata
|
||||||
%{_datadir}/tessdata/tgl.traineddata
|
%{_datadir}/tessdata/tgl.traineddata
|
||||||
%{_datadir}/tessdata/tha.traineddata
|
#%{_datadir}/tessdata/tha.traineddata
|
||||||
%{_datadir}/tessdata/tur.traineddata
|
%{_datadir}/tessdata/tur.traineddata
|
||||||
%{_datadir}/tessdata/ukr.traineddata
|
%{_datadir}/tessdata/ukr.traineddata
|
||||||
%{_datadir}/tessdata/vie.traineddata
|
%{_datadir}/tessdata/vie.traineddata
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.04.00-1mamba
|
||||||
|
- update to 3.04.00
|
||||||
|
|
||||||
* Tue Aug 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.02.02-2mamba
|
* Tue Aug 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.02.02-2mamba
|
||||||
- rebuilt by autoport with build requirements: libleptonica-devel>=1.71-1mamba
|
- rebuilt by autoport with build requirements: libleptonica-devel>=1.71-1mamba
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user