diff --git a/README.md b/README.md index a5a499e..72991cd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # tesseract +Tesseract is an OCR Engine that was developed at HP Labs between 1985 and 1995. + diff --git a/bul.traineddata.gz b/bul.traineddata.gz new file mode 100644 index 0000000..a4e936b Binary files /dev/null and b/bul.traineddata.gz differ diff --git a/cat.traineddata.gz b/cat.traineddata.gz new file mode 100644 index 0000000..97ead3b Binary files /dev/null and b/cat.traineddata.gz differ diff --git a/ces.traineddata.gz b/ces.traineddata.gz new file mode 100644 index 0000000..78e095e Binary files /dev/null and b/ces.traineddata.gz differ diff --git a/chi_sim.traineddata.gz b/chi_sim.traineddata.gz new file mode 100644 index 0000000..68b1453 Binary files /dev/null and b/chi_sim.traineddata.gz differ diff --git a/chi_tra.traineddata.gz b/chi_tra.traineddata.gz new file mode 100644 index 0000000..b12f91d Binary files /dev/null and b/chi_tra.traineddata.gz differ diff --git a/chr.traineddata.gz b/chr.traineddata.gz new file mode 100644 index 0000000..86c88c9 Binary files /dev/null and b/chr.traineddata.gz differ diff --git a/dan-frak.traineddata.gz b/dan-frak.traineddata.gz new file mode 100644 index 0000000..54e977a Binary files /dev/null and b/dan-frak.traineddata.gz differ diff --git a/dan.traineddata.gz b/dan.traineddata.gz new file mode 100644 index 0000000..28be802 Binary files /dev/null and b/dan.traineddata.gz differ diff --git a/deu-frak.traineddata.gz b/deu-frak.traineddata.gz new file mode 100644 index 0000000..fe35598 Binary files /dev/null and b/deu-frak.traineddata.gz differ diff --git a/deu.traineddata.gz b/deu.traineddata.gz new file mode 100644 index 0000000..4e46447 Binary files /dev/null and b/deu.traineddata.gz differ diff --git a/ell.traineddata.gz b/ell.traineddata.gz new file mode 100644 index 0000000..3003d86 Binary files /dev/null and b/ell.traineddata.gz differ diff --git a/fin.traineddata.gz b/fin.traineddata.gz new file mode 100644 index 0000000..f40c5f5 Binary files /dev/null and b/fin.traineddata.gz differ diff --git a/fra.traineddata.gz b/fra.traineddata.gz new file mode 100644 index 0000000..51b820f Binary files /dev/null and b/fra.traineddata.gz differ diff --git a/hun.traineddata.gz b/hun.traineddata.gz new file mode 100644 index 0000000..471040a Binary files /dev/null and b/hun.traineddata.gz differ diff --git a/ind.traineddata.gz b/ind.traineddata.gz new file mode 100644 index 0000000..6b5051c Binary files /dev/null and b/ind.traineddata.gz differ diff --git a/jpn.traineddata.gz b/jpn.traineddata.gz new file mode 100644 index 0000000..aec605d Binary files /dev/null and b/jpn.traineddata.gz differ diff --git a/kor.traineddata.gz b/kor.traineddata.gz new file mode 100644 index 0000000..2329b04 Binary files /dev/null and b/kor.traineddata.gz differ diff --git a/lav.traineddata.gz b/lav.traineddata.gz new file mode 100644 index 0000000..8fd4b0d Binary files /dev/null and b/lav.traineddata.gz differ diff --git a/lit.traineddata.gz b/lit.traineddata.gz new file mode 100644 index 0000000..2fddb3c Binary files /dev/null and b/lit.traineddata.gz differ diff --git a/nld.traineddata.gz b/nld.traineddata.gz new file mode 100644 index 0000000..f382e4f Binary files /dev/null and b/nld.traineddata.gz differ diff --git a/nor.traineddata.gz b/nor.traineddata.gz new file mode 100644 index 0000000..b9bcbf5 Binary files /dev/null and b/nor.traineddata.gz differ diff --git a/pol.traineddata.gz b/pol.traineddata.gz new file mode 100644 index 0000000..6c7ef04 Binary files /dev/null and b/pol.traineddata.gz differ diff --git a/por.traineddata.gz b/por.traineddata.gz new file mode 100644 index 0000000..00e3546 Binary files /dev/null and b/por.traineddata.gz differ diff --git a/ron.traineddata.gz b/ron.traineddata.gz new file mode 100644 index 0000000..fbb2c9a Binary files /dev/null and b/ron.traineddata.gz differ diff --git a/rus.traineddata.gz b/rus.traineddata.gz new file mode 100644 index 0000000..fc0ef88 Binary files /dev/null and b/rus.traineddata.gz differ diff --git a/slk.traineddata.gz b/slk.traineddata.gz new file mode 100644 index 0000000..c692b84 Binary files /dev/null and b/slk.traineddata.gz differ diff --git a/slv.traineddata.gz b/slv.traineddata.gz new file mode 100644 index 0000000..197a43f Binary files /dev/null and b/slv.traineddata.gz differ diff --git a/spa.traineddata.gz b/spa.traineddata.gz new file mode 100644 index 0000000..107e239 Binary files /dev/null and b/spa.traineddata.gz differ diff --git a/srp.traineddata.gz b/srp.traineddata.gz new file mode 100644 index 0000000..01a6c5c Binary files /dev/null and b/srp.traineddata.gz differ diff --git a/swe-frak.traineddata.gz b/swe-frak.traineddata.gz new file mode 100644 index 0000000..1e032ed Binary files /dev/null and b/swe-frak.traineddata.gz differ diff --git a/swe.traineddata.gz b/swe.traineddata.gz new file mode 100644 index 0000000..586f666 Binary files /dev/null and b/swe.traineddata.gz differ diff --git a/tesseract-3.01-gcc-4.7.patch b/tesseract-3.01-gcc-4.7.patch new file mode 100644 index 0000000..cf1afe2 --- /dev/null +++ b/tesseract-3.01-gcc-4.7.patch @@ -0,0 +1,11 @@ +diff -Nru tesseract-3.01.orig/viewer/svutil.cpp tesseract-3.01/viewer/svutil.cpp +--- tesseract-3.01.orig/viewer/svutil.cpp 2011-10-22 04:21:21.000000000 +0200 ++++ tesseract-3.01/viewer/svutil.cpp 2012-07-14 16:26:43.184806273 +0200 +@@ -21,6 +21,7 @@ + // thread/process creation & synchronization and network connection. + + #include ++#include + #ifdef WIN32 + struct addrinfo { + struct sockaddr* ai_addr; diff --git a/tesseract.spec b/tesseract.spec new file mode 100644 index 0000000..0b6c8a9 --- /dev/null +++ b/tesseract.spec @@ -0,0 +1,560 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: tesseract +Version: 3.02.02 +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 +URL: http://code.google.com/p/tesseract-ocr +Source: http://tesseract-ocr.googlecode.com/files/tesseract-%{version}.tar.gz +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 +Source4: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.01.osd.tar.gz +Source5: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.tha.tar.gz +Source6: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.01.slk-frak.tar.gz +Source7: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.01.heb-com.tar.gz +Source8: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.heb.tar.gz +Source9: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{majver}.ita.tar.gz +Source10: http://tesseract-ocr.googlecode.com/files/chi_tra.traineddata.gz +Source11: http://tesseract-ocr.googlecode.com/files/chi_sim.traineddata.gz +Source12: http://tesseract-ocr.googlecode.com/files/ind.traineddata.gz +Source13: http://tesseract-ocr.googlecode.com/files/swe.traineddata.gz +Source14: http://tesseract-ocr.googlecode.com/files/ron.traineddata.gz +Source15: http://tesseract-ocr.googlecode.com/files/slv.traineddata.gz +Source16: http://tesseract-ocr.googlecode.com/files/srp.traineddata.gz +Source17: http://tesseract-ocr.googlecode.com/files/tgl.traineddata.gz +Source18: http://tesseract-ocr.googlecode.com/files/tur.traineddata.gz +Source19: http://tesseract-ocr.googlecode.com/files/hun.traineddata.gz +Source20: http://tesseract-ocr.googlecode.com/files/fin.traineddata.gz +Source22: http://tesseract-ocr.googlecode.com/files/nld.traineddata.gz +Source23: http://tesseract-ocr.googlecode.com/files/nor.traineddata.gz +Source24: http://tesseract-ocr.googlecode.com/files/jpn.traineddata.gz +Source25: http://tesseract-ocr.googlecode.com/files/vie.traineddata.gz +Source26: http://tesseract-ocr.googlecode.com/files/spa.traineddata.gz +Source27: http://tesseract-ocr.googlecode.com/files/ukr.traineddata.gz +Source28: http://tesseract-ocr.googlecode.com/files/fra.traineddata.gz +Source29: http://tesseract-ocr.googlecode.com/files/slk.traineddata.gz +Source30: http://tesseract-ocr.googlecode.com/files/kor.traineddata.gz +Source31: http://tesseract-ocr.googlecode.com/files/ell.traineddata.gz +Source32: http://tesseract-ocr.googlecode.com/files/rus.traineddata.gz +Source33: http://tesseract-ocr.googlecode.com/files/por.traineddata.gz +Source34: http://tesseract-ocr.googlecode.com/files/bul.traineddata.gz +Source35: http://tesseract-ocr.googlecode.com/files/lav.traineddata.gz +Source36: http://tesseract-ocr.googlecode.com/files/lit.traineddata.gz +Source37: http://tesseract-ocr.googlecode.com/files/pol.traineddata.gz +Source38: http://tesseract-ocr.googlecode.com/files/dan-frak.traineddata.gz +Source39: http://tesseract-ocr.googlecode.com/files/deu.traineddata.gz +Source40: http://tesseract-ocr.googlecode.com/files/dan.traineddata.gz +Source41: http://tesseract-ocr.googlecode.com/files/ces.traineddata.gz +Source42: http://tesseract-ocr.googlecode.com/files/cat.traineddata.gz +Source43: http://tesseract-ocr.googlecode.com/files/chr.traineddata.gz +Source44: http://tesseract-ocr.googlecode.com/files/deu-frak.traineddata.gz +Source45: http://tesseract-ocr.googlecode.com/files/swe-frak.traineddata.gz +Patch0: %{name}-3.01-gcc-4.7.patch +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libjbig-devel +BuildRequires: libjpeg-devel +BuildRequires: libleptonica-devel +BuildRequires: liblzma-devel +BuildRequires: libpng-devel +BuildRequires: libstdc++6-devel +BuildRequires: libtiff-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +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. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +## note: you can add this requirement if .pc files are provided by this package +#Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 +#%patch0 -p1 + +cd tesseract-ocr/tessdata +cp %{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: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 + +%build +sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +cp tesseract-ocr/tessdata/* %{buildroot}%{_datadir}/tessdata/ + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/ambiguous_words +%{_bindir}/classifier_tester +%{_bindir}/dawg2wordlist +%{_bindir}/shapeclustering +%{_bindir}/cntraining +%{_bindir}/combine_tessdata +%{_bindir}/mftraining +%{_bindir}/tesseract +%{_bindir}/unicharset_extractor +%{_bindir}/wordlist2dawg +%{_mandir}/man1/ambiguous_words.1.gz +%{_mandir}/man1/dawg2wordlist.1.gz +%{_mandir}/man1/shapeclustering.1.gz +%{_mandir}/man1/cntraining.1.gz +%{_mandir}/man1/combine_tessdata.1.gz +%{_mandir}/man1/mftraining.1.gz +%{_mandir}/man1/tesseract.1.gz +%{_mandir}/man1/unicharset_extractor.1.gz +%{_mandir}/man1/wordlist2dawg.1.gz +%{_mandir}/man5/unicharambigs.5.gz +%{_mandir}/man5/unicharset.5.gz + +%files -n lib%{name} +%defattr(-,root,root) +%dir %{_datadir}/tessdata +%{_datadir}/tessdata/eng.* +%{_datadir}/tessdata/osd.traineddata +%dir %{_datadir}/tessdata/configs +%{_datadir}/tessdata/configs/* +%dir %{_datadir}/tessdata/tessconfigs +%{_datadir}/tessdata/tessconfigs/* +%{_libdir}/libtesseract.so.* +%doc AUTHORS COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/tesseract +%{_includedir}/tesseract/*.h +%{_libdir}/libtesseract.a +%{_libdir}/libtesseract.la +%{_libdir}/libtesseract.so +%{_libdir}/pkgconfig/tesseract.pc +%doc ChangeLog NEWS README + +%package i18n-ar +Summary: Arabic language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-ar +Arabic language support for Tesseract. + +%files i18n-ar +%defattr(-,root,root) +%{_datadir}/tessdata/ara.* + +%package i18n-bg +Summary: Bulgarian language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-bg +Bulgarian language data for Tesseract. + +%files i18n-bg +%defattr(-,root,root) +%{_datadir}/tessdata/bul.traineddata + +%package i18n-ca +Summary: Catalan language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-ca +Catalan language data for Tesseract. + +%files i18n-ca +%defattr(-,root,root) +%{_datadir}/tessdata/cat.traineddata + +%package i18n-cs +Summary: Czech language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-cs +Czech language data for Tesseract. + +%files i18n-cs +%defattr(-,root,root) +%{_datadir}/tessdata/ces.traineddata + +%package i18n-da +Summary: Danish language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-da +Danish language data for Tesseract. + +%files i18n-da +%defattr(-,root,root) +%{_datadir}/tessdata/dan-frak.traineddata +%{_datadir}/tessdata/dan.traineddata + +%package i18n-de +Summary: German language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-de +German language data for Tesseract. + +%files i18n-de +%defattr(-,root,root) +%{_datadir}/tessdata/deu-frak.traineddata +%{_datadir}/tessdata/deu.traineddata + +%package i18n-el +Summary: Greek language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-el +Greek language data for Tesseract. + +%files i18n-el +%defattr(-,root,root) +%{_datadir}/tessdata/ell.traineddata + + +%package i18n-es +Summary: Spanish language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-es +Spanish language data for Tesseract. + +%files i18n-es +%defattr(-,root,root) +%{_datadir}/tessdata/spa.* + +%package i18n-fi +Summary: Finnish language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-fi +Finnish language data for Tesseract. + +%files i18n-fi +%defattr(-,root,root) +%{_datadir}/tessdata/fin.traineddata + +%package i18n-fr +Summary: French language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-fr +French language data for Tesseract. + +%files i18n-fr +%defattr(-,root,root) +%{_datadir}/tessdata/fra.* + +%package i18n-hu +Summary: Hungarian language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-hu +Hungarian language data for Tesseract. + +%files i18n-hu +%defattr(-,root,root) +%{_datadir}/tessdata/hun.traineddata + +%package i18n-he +Summary: Hebrew language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-he +Hebrew language support for Tesseract. + +%files i18n-he +%defattr(-,root,root) +%{_datadir}/tessdata/heb* + +%package i18n-hi-IN +Summary: Hindi language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-hi-IN +Hindi language support for Tesseract. + +%files i18n-hi-IN +%defattr(-,root,root) +%{_datadir}/tessdata/hin.* + +%package i18n-id +Summary: Indonesian language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-id +Indonesian language data for Tesseract. + +%files i18n-id +%defattr(-,root,root) +%{_datadir}/tessdata/ind.traineddata + +%package i18n-it +Summary: Italian language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-it +Italian language data for Tesseract. + +%files i18n-it +%defattr(-,root,root) +%{_datadir}/tessdata/ita.* +%{_datadir}/tessdata/ita_old.traineddata + +%package i18n-ja +Summary: Japanese language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-ja +Japanese language data for Tesseract. + +%files i18n-ja +%defattr(-,root,root) +%{_datadir}/tessdata/jpn.traineddata + +%package i18n-ko +Summary: Korean language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-ko +Korean language data for Tesseract. + +%files i18n-ko +%defattr(-,root,root) +%{_datadir}/tessdata/kor.traineddata + +%package i18n-nl +Summary: Dutch language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-nl +Dutch language data for Tesseract. + +%files i18n-nl +%defattr(-,root,root) +%{_datadir}/tessdata/nld.traineddata + +%package i18n-nn +Summary: Norwegian language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-nn +Norwegian language data for Tesseract. + +%files i18n-nn +%defattr(-,root,root) +%{_datadir}/tessdata/nor.traineddata + +%package i18n-pl +Summary: Polish language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-pl +Polish language data for Tesseract. + +%files i18n-pl +%defattr(-,root,root) +%{_datadir}/tessdata/pol.traineddata + + +%package i18n-pt-BR +Summary: Portuguese (Brazilian) language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-pt-BR +Portuguese (Brazilian) language data for Tesseract. + +%files i18n-pt-BR +%defattr(-,root,root) +%{_datadir}/tessdata/por.traineddata + +%package i18n-ro +Summary: Romanian language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-ro +Romanian language data for Tesseract. + +%files i18n-ro +%defattr(-,root,root) +%{_datadir}/tessdata/ron.traineddata + +%package i18n-ru +Summary: Russian language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-ru +Russian language data for Tesseract. + +%files i18n-ru +%defattr(-,root,root) +%{_datadir}/tessdata/rus.* + +%package i18n-sk +Summary: Slovak language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-sk +Slovak language data for Tesseract. + +%files i18n-sk +%defattr(-,root,root) +%{_datadir}/tessdata/slk-frak.traineddata +%{_datadir}/tessdata/slk.traineddata + +%package i18n-sl +Summary: Slovenian language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-sl +Slovenian language data for Tesseract. + +%files i18n-sl +%defattr(-,root,root) +%{_datadir}/tessdata/slv.traineddata + +%package i18n-zh-CN +Summary: Chinese (Simplified) language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-zh-CN +Chinese (Simplified) language data for Tesseract. + +%files i18n-zh-CN +%defattr(-,root,root) +%{_datadir}/tessdata/chi_sim.traineddata + +%package i18n-zh-TW +Summary: Chinese (Traditional) language data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-zh-TW +Chinese (Traditional) language data for Tesseract. + +%files i18n-zh-TW +%defattr(-,root,root) +%{_datadir}/tessdata/chi_tra.traineddata + +%package i18n-other +Summary: Other languages data for Tesseract +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: tesseractlang + +%description i18n-other +Othert languages data for Tesseract. + +# TODO: next time +%files i18n-other +%defattr(-,root,root) +%{_datadir}/tessdata/chr.traineddata +%{_datadir}/tessdata/lav.traineddata +%{_datadir}/tessdata/lit.traineddata +%{_datadir}/tessdata/srp.traineddata +%{_datadir}/tessdata/swe-frak.traineddata +%{_datadir}/tessdata/swe.traineddata +%{_datadir}/tessdata/tgl.traineddata +%{_datadir}/tessdata/tha.traineddata +%{_datadir}/tessdata/tur.traineddata +%{_datadir}/tessdata/ukr.traineddata +%{_datadir}/tessdata/vie.traineddata + +%changelog +* Tue Dec 11 2012 Automatic Build System 3.02.02-1mamba +- update to 3.02.02 + +* Sat Jul 14 2012 Silvan Calarco 3.01-1mamba +- package created by autospec diff --git a/tgl.traineddata.gz b/tgl.traineddata.gz new file mode 100644 index 0000000..c2ff592 Binary files /dev/null and b/tgl.traineddata.gz differ diff --git a/tur.traineddata.gz b/tur.traineddata.gz new file mode 100644 index 0000000..825427a Binary files /dev/null and b/tur.traineddata.gz differ diff --git a/ukr.traineddata.gz b/ukr.traineddata.gz new file mode 100644 index 0000000..90e3dcb Binary files /dev/null and b/ukr.traineddata.gz differ diff --git a/vie.traineddata.gz b/vie.traineddata.gz new file mode 100644 index 0000000..b291c64 Binary files /dev/null and b/vie.traineddata.gz differ