[packages/tesseract-data] - new URLs, updated to 3.04.00; added 59 languages and math equations

qboosh qboosh at pld-linux.org
Sat Feb 27 10:27:48 CET 2016


commit 5684377fe738bd32f396288203b2b2b0cac5c4e2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Feb 27 10:31:06 2016 +0100

    - new URLs, updated to 3.04.00; added 59 languages and math equations

 tesseract-data.spec | 1364 +++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 1210 insertions(+), 154 deletions(-)
---
diff --git a/tesseract-data.spec b/tesseract-data.spec
index 93ec7ac..18328af 100644
--- a/tesseract-data.spec
+++ b/tesseract-data.spec
@@ -1,96 +1,15 @@
 Summary:	Trained data for Tesseract Open Source OCR Engine
 Summary(pl.UTF-8):	Wytrenowane dane dla Tesseracta - silnika OCR o otwartych źródłach
 Name:		tesseract-data
-Version:	3.01
-Release:	2
+Version:	3.04.00
+%define	tess_ver	3.04
+Release:	1
 License:	Apache v2.0
 Group:		Applications/Graphics
-#SourceDownload: http://code.google.com/p/tesseract-ocr/downloads/list
-Source1:	http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{version}.ara.tar.gz
-# Source1-md5:	13d379238b32514c4bb73de02dba719f
-Source2:	http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{version}.eng.tar.gz
-# Source2-md5:	89c139a73e0e7b1225809fc7b226b6c9
-Source3:	http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{version}.hin.tar.gz
-# Source3-md5:	f2986f40c4d574c9526dde145608e2c0
-Source4:	http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{version}.osd.tar.gz
-# Source4-md5:	683486e01f5b87c17f2f5815f770ccb3
-Source5:	http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{version}.slk-frak.tar.gz
-# Source5-md5:	2f9c16f79dbabf30827f0dd91b1bfc66
-Source6:	http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{version}.tha.tar.gz
-# Source6-md5:	f96f5194331e3610dda1feef21f9e6a0
-Source10:	http://tesseract-ocr.googlecode.com/files/bul.traineddata.gz
-# Source10-md5:	a7501f9a48bc7ef2fa50cba8b8f0c7b1
-Source11:	http://tesseract-ocr.googlecode.com/files/cat.traineddata.gz
-# Source11-md5:	308099b2b95834916ec410191c86cd48
-Source12:	http://tesseract-ocr.googlecode.com/files/ces.traineddata.gz
-# Source12-md5:	2e97c952075064834f1cad6a133970fa
-Source13:	http://tesseract-ocr.googlecode.com/files/chi_sim.traineddata.gz
-# Source13-md5:	127e0b742b615d81c3b97a555acd8285
-Source14:	http://tesseract-ocr.googlecode.com/files/chi_tra.traineddata.gz
-# Source14-md5:	06fce5f5c0221286eab591819406d91e
-Source15:	http://tesseract-ocr.googlecode.com/files/chr.traineddata.gz
-# Source15-md5:	6b2daa1f32e6234aa9a528dbfcd0c66e
-Source16:	http://tesseract-ocr.googlecode.com/files/dan.traineddata.gz
-# Source16-md5:	7aaeb321dbf069d14d2601dc36d3dddc
-Source17:	http://tesseract-ocr.googlecode.com/files/dan-frak.traineddata.gz
-# Source17-md5:	cfa8a81df6a34940604fafa7353ffc43
-Source18:	http://tesseract-ocr.googlecode.com/files/deu.traineddata.gz
-# Source18-md5:	be81a761f61800f6d39393a31435fff3
-Source19:	http://tesseract-ocr.googlecode.com/files/deu-frak.traineddata.gz
-# Source19-md5:	e3117394f775a720117efadda202af50
-Source20:	http://tesseract-ocr.googlecode.com/files/ell.traineddata.gz
-# Source20-md5:	0d3a21c18f752eb058e7b854c37b7a69
-Source21:	http://tesseract-ocr.googlecode.com/files/fin.traineddata.gz
-# Source21-md5:	33812ef03197dce20b8c888409d8541a
-Source22:	http://tesseract-ocr.googlecode.com/files/fra.traineddata.gz
-# Source22-md5:	e6000550883684b5e93b7e0a21016287
-Source23:	http://tesseract-ocr.googlecode.com/files/hun.traineddata.gz
-# Source23-md5:	966fa3ebe24d7dfade951e0a4a9f52b5
-Source24:	http://tesseract-ocr.googlecode.com/files/ind.traineddata.gz
-# Source24-md5:	f4ae2e5668f693cc51c6e3c3f57a8f1d
-Source25:	http://tesseract-ocr.googlecode.com/files/ita.traineddata.gz
-# Source25-md5:	9a307661a010703cd2bb265a3da5eaff
-Source26:	http://tesseract-ocr.googlecode.com/files/jpn.traineddata.gz
-# Source26-md5:	cad3dd7c9401fa0676bf195456ba0c14
-Source27:	http://tesseract-ocr.googlecode.com/files/kor.traineddata.gz
-# Source27-md5:	909b811739b2e7d51cc3ca109998353a
-Source28:	http://tesseract-ocr.googlecode.com/files/lav.traineddata.gz
-# Source28-md5:	1f366f55e5e0725deb751ec847bf42dc
-Source29:	http://tesseract-ocr.googlecode.com/files/lit.traineddata.gz
-# Source29-md5:	1b4460ab998151f1ed8e48928ded58be
-Source30:	http://tesseract-ocr.googlecode.com/files/nld.traineddata.gz
-# Source30-md5:	89992f69802b9f4a36fec40efd95c503
-Source31:	http://tesseract-ocr.googlecode.com/files/nor.traineddata.gz
-# Source31-md5:	e09cc75fa17b8d4a5c2d02de73267aae
-Source32:	http://tesseract-ocr.googlecode.com/files/pol.traineddata.gz
-# Source32-md5:	c3d6447245663138f1d3aa4567c72192
-Source33:	http://tesseract-ocr.googlecode.com/files/por.traineddata.gz
-# Source33-md5:	d0b59fcfd80f9e09be890647ae93f00d
-Source34:	http://tesseract-ocr.googlecode.com/files/ron.traineddata.gz
-# Source34-md5:	7b50075692e7a07ac8f59e0cde51cfb9
-Source35:	http://tesseract-ocr.googlecode.com/files/rus.traineddata.gz
-# Source35-md5:	c477b7faddc044a4595135d0378be34c
-Source36:	http://tesseract-ocr.googlecode.com/files/slk.traineddata.gz
-# Source36-md5:	2e7fbf80215b38f423dcf78e396b92d7
-Source37:	http://tesseract-ocr.googlecode.com/files/slv.traineddata.gz
-# Source37-md5:	defc498fa09480ef0052fde79f4f84e5
-Source38:	http://tesseract-ocr.googlecode.com/files/spa.traineddata.gz
-# Source38-md5:	dd9078211127189995504f034468fcd6
-Source39:	http://tesseract-ocr.googlecode.com/files/srp.traineddata.gz
-# Source39-md5:	c1e0f0ef07d26a72063802370bbfe2c9
-Source40:	http://tesseract-ocr.googlecode.com/files/swe.traineddata.gz
-# Source40-md5:	3787ff0fc1a07517203466830f6f868e
-Source41:	http://tesseract-ocr.googlecode.com/files/swe-frak.traineddata.gz
-# Source41-md5:	fa11947f6617cfce96174eaec1d940ec
-Source42:	http://tesseract-ocr.googlecode.com/files/tgl.traineddata.gz
-# Source42-md5:	af86cab0da52fff7e83f9c7668617a21
-Source43:	http://tesseract-ocr.googlecode.com/files/tur.traineddata.gz
-# Source43-md5:	b0f4798bf1f9ee541ae73aff49f08821
-Source44:	http://tesseract-ocr.googlecode.com/files/ukr.traineddata.gz
-# Source44-md5:	56a82ac3994f0552d54fd14ff5ed6817
-Source45:	http://tesseract-ocr.googlecode.com/files/vie.traineddata.gz
-# Source45-md5:	af75c7a696b18a1d2e4f7e21a222cf95
-URL:		http://code.google.com/p/tesseract-ocr/
+#Source0Download: https://github.com/tesseract-ocr/tessdata/releases
+Source0:	https://github.com/tesseract-ocr/tessdata/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	b25e830d203af5c863081af3f684b53a
+URL:		https://github.com/tesseract-ocr/
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -100,11 +19,25 @@ Trained data for Tesseract Open Source OCR Engine.
 %description -l pl.UTF-8
 Wytrenowane dane dla Tesseracta - silnika OCR o otwartych źródłach.
 
+%package equ
+Summary:	Mathematical equations recognition data for Tesseract
+Summary(pl.UTF-8):	Dane dla Tesseracta pozwalające na rozpoznawanie równań matematycznych
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description equ
+Mathematical equations recognition data for Tesseract.
+
+%description equ -l pl.UTF-8
+Dane dla Tesseracta pozwalające na rozpoznawanie równań
+matematycznych.
+
 %package osd
 Summary:	Orientation and script detection data for Tesseract
 Summary(pl.UTF-8):	Dane dla Tesseracta pozwalające na wykrywanie orientacji i pisma
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.01
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 
 %description osd
@@ -113,11 +46,41 @@ Orientation and script detection data for Tesseract.
 %description osd -l pl.UTF-8
 Dane dla Tesseracta pozwalające na wykrywanie orientacji i pisma.
 
+%package lang-af
+Summary:	Afrikaans language data for Tesseract
+Summary(pl.UTF-8):	Dane języka afrykanerskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-af
+This package contains the data files required to recognize Afrikaans
+language.
+
+%description lang-af -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+afrykanerskiego.
+
+%package lang-am
+Summary:	Amharic language data for Tesseract
+Summary(pl.UTF-8):	Dane języka amharskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-am
+This package contains the data files required to recognize Amharic
+language.
+
+%description lang-am -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+amharskiego.
+
 %package lang-ar
 Summary:	Arabic language data for Tesseract
 Summary(pl.UTF-8):	Dane języka arabskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.01
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-ar
 
@@ -129,13 +92,102 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 arabskiego.
 
+%package lang-as
+Summary:	Assamese language data for Tesseract
+Summary(pl.UTF-8):	Dane języka asamskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-as
+This package contains the data files required to recognize Assamese
+language.
+
+%description lang-as -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+asamskiego.
+
+%package lang-az
+Summary:	Azerbaijani language data for Tesseract
+Summary(pl.UTF-8):	Dane języka azerskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-az
+This package contains the data files required to recognize Azerbaijani
+language.
+
+%description lang-az -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+azerskiego.
+
+%package lang-be
+Summary:	Belarusian language data for Tesseract
+Summary(pl.UTF-8):	Dane języka białoruskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-be
+This package contains the data files required to recognize Belarusian
+language.
+
+%description lang-be -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+białoruskiego.
+
+%package lang-bn
+Summary:	Bengali language data for Tesseract
+Summary(pl.UTF-8):	Dane języka bengalskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-bn
+This package contains the data files required to recognize Bengali
+language.
+
+%description lang-bn -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+bengalskiego.
+
+%package lang-bo
+Summary:	Tibetan language data for Tesseract
+Summary(pl.UTF-8):	Dane języka tybetańskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-bo
+This package contains the data files required to recognize Tibetan
+language.
+
+%description lang-bo -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+tybetańskiego.
+
+%package lang-bs
+Summary:	Bosnian language data for Tesseract
+Summary(pl.UTF-8):	Dane języka bośniackiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-bs
+This package contains the data files required to recognize Bosnian
+language.
+
+%description lang-bs -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+bośniackiego.
+
 %package lang-bg
 Summary:	Bulgarian language data for Tesseract
 Summary(pl.UTF-8):	Dane języka bułgarskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
-Obsoletes:	tesseract-deu
 Obsoletes:	tesseract-lang-bg
 
 %description lang-bg
@@ -162,11 +214,26 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 katalońskiego.
 
+%package lang-ceb
+Summary:	Cebuano language data for Tesseract
+Summary(pl.UTF-8):	Dane języka cebuańskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-ceb
+This package contains the data files required to recognize Cebuano
+language.
+
+%description lang-ceb -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+cebuańskiego.
+
 %package lang-cs
 Summary:	Czech language data for Tesseract
 Summary(pl.UTF-8):	Dane języka czeskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-cs
 
@@ -182,7 +249,7 @@ czeskiego.
 Summary:	Chinese Simplified language data for Tesseract
 Summary(pl.UTF-8):	Dane języka chińskiego uproszczonego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-zh_CN
 
@@ -198,7 +265,7 @@ chińskiego uproszczonego.
 Summary:	Chinese Traditional language data for Tesseract
 Summary(pl.UTF-8):	Dane języka chińskiego tradycyjnego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-zh_TW
 
@@ -214,7 +281,7 @@ chińskiego tradycyjnego.
 Summary:	Cherokee language data for Tesseract
 Summary(pl.UTF-8):	Dane języka czerokeskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-chr
 
@@ -226,11 +293,26 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 czerokeskiego.
 
+%package lang-cy
+Summary:	Welsh language data for Tesseract
+Summary(pl.UTF-8):	Dane języka walijskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-cy
+This package contains the data files required to recognize Welsh
+language.
+
+%description lang-cy -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+walijskiego.
+
 %package lang-da
 Summary:	Danish language data for Tesseract
 Summary(pl.UTF-8):	Dane języka duńskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-da
 
@@ -246,7 +328,7 @@ duńskiego (także pisanego frakturą).
 Summary:	German language data for Tesseract
 Summary(pl.UTF-8):	Dane języka niemieckiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-deu
 Obsoletes:	tesseract-lang-de
@@ -259,11 +341,26 @@ language (including Fraktur).
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 niemieckiego (także pisanego frakturą).
 
+%package lang-dz
+Summary:	Dzongkha language data for Tesseract
+Summary(pl.UTF-8):	Dane języka dzongka dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-dz
+This package contains the data files required to recognize Dzongkha
+language.
+
+%description lang-dz -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+dzongka.
+
 %package lang-el
 Summary:	Greek language data for Tesseract
 Summary(pl.UTF-8):	Dane języka greckiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-el
 
@@ -279,7 +376,7 @@ greckiego.
 Summary:	English language data for Tesseract
 Summary(pl.UTF-8):	Dane języka angielskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.01
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-eng
 Obsoletes:	tesseract-lang-en
@@ -292,11 +389,86 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 angielskiego.
 
+%package lang-enm
+Summary:	Middle English language data for Tesseract
+Summary(pl.UTF-8):	Dane języka angielskiego średniowiecznego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-enm
+This package contains the data files required to recognize Middle
+English language.
+
+%description lang-enm -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+angielskiego średniowiecznego.
+
+%package lang-eo
+Summary:	Esperanto language data for Tesseract
+Summary(pl.UTF-8):	Dane języka esperanto dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-eo
+This package contains the data files required to recognize Esperanto
+language.
+
+%description lang-eo -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+esperanto.
+
+%package lang-et
+Summary:	Estonian language data for Tesseract
+Summary(pl.UTF-8):	Dane języka estońskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-et
+This package contains the data files required to recognize Estonian
+language.
+
+%description lang-et -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+estońskiego.
+
+%package lang-eu
+Summary:	Basque language data for Tesseract
+Summary(pl.UTF-8):	Dane języka baskijkiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-eu
+This package contains the data files required to recognize Basque
+language.
+
+%description lang-eu -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+baskijkiego.
+
+%package lang-fa
+Summary:	Persian language data for Tesseract
+Summary(pl.UTF-8):	Dane języka perskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-fa
+This package contains the data files required to recognize Persian
+language.
+
+%description lang-fa -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+perskiego.
+
 %package lang-fi
 Summary:	Finnish language data for Tesseract
 Summary(pl.UTF-8):	Dane języka fińskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-fi
 
@@ -312,7 +484,7 @@ fińskiego.
 Summary:	French language data for Tesseract
 Summary(pl.UTF-8):	Dane języka francuskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-fra
 Obsoletes:	tesseract-lang-fr
@@ -325,11 +497,131 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 francuskiego.
 
+%package lang-frk
+Summary:	Frankish language data for Tesseract
+Summary(pl.UTF-8):	Dane języka frankijskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-frk
+This package contains the data files required to recognize Frankish
+language.
+
+%description lang-frk -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+frankijskiego.
+
+%package lang-frm
+Summary:	Middle French language data for Tesseract
+Summary(pl.UTF-8):	Dane języka francuskiego średniowiecznego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-frm
+This package contains the data files required to recognize Middle
+French language.
+
+%description lang-frm -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+francuskiego średniowiecznego.
+
+%package lang-ga
+Summary:	Irish language data for Tesseract
+Summary(pl.UTF-8):	Dane języka irlandzkiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-ga
+This package contains the data files required to recognize Irish
+language.
+
+%description lang-ga -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+irlandzkiego.
+
+%package lang-gl
+Summary:	Galician language data for Tesseract
+Summary(pl.UTF-8):	Dane języka galicyjskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-gl
+This package contains the data files required to recognize Galician
+language.
+
+%description lang-gl -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+galicyjskiego.
+
+%package lang-grc
+Summary:	Ancient Greek language data for Tesseract
+Summary(pl.UTF-8):	Dane języka greckiego starożytnego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-grc
+This package contains the data files required to recognize Ancient
+Greek language.
+
+%description lang-grc -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+greckiego starożytnego.
+
+%package lang-gu
+Summary:	Gujarati language data for Tesseract
+Summary(pl.UTF-8):	Dane języka gudźarati dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-gu
+This package contains the data files required to recognize Gujarati
+language.
+
+%description lang-gu -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+gudźarati.
+
+%package lang-ht
+Summary:	Haitian language data for Tesseract
+Summary(pl.UTF-8):	Dane języka haitańskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-ht
+This package contains the data files required to recognize Haitian
+language.
+
+%description lang-ht -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+haitańskiego.
+
+%package lang-he
+Summary:	Hebrew language data for Tesseract
+Summary(pl.UTF-8):	Dane języka hebrajskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-he
+This package contains the data files required to recognize Hebrew
+language.
+
+%description lang-he -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+hebrajskiego.
+
 %package lang-hi
 Summary:	Hindi language data for Tesseract
 Summary(pl.UTF-8):	Dane języka hindi dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.01
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-hi
 
@@ -341,11 +633,26 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 hindi.
 
+%package lang-hr
+Summary:	Croatian language data for Tesseract
+Summary(pl.UTF-8):	Dane języka chorwackiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-hr
+This package contains the data files required to recognize Croatian
+language.
+
+%description lang-hr -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+chorwackiego.
+
 %package lang-hu
 Summary:	Hungarian language data for Tesseract
 Summary(pl.UTF-8):	Dane języka węgierskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-hu
 
@@ -357,11 +664,26 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 węgierskiego.
 
+%package lang-iu
+Summary:	Inuktitut language data for Tesseract
+Summary(pl.UTF-8):	Dane języka inuktitut dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-iu
+This package contains the data files required to recognize Inuktitut
+language.
+
+%description lang-iu -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+inuktitut.
+
 %package lang-id
 Summary:	Indonesian language data for Tesseract
 Summary(pl.UTF-8):	Dane języka indonezyjskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-id
 
@@ -373,6 +695,21 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 indonezyjskiego.
 
+%package lang-is
+Summary:	Icelandic language data for Tesseract
+Summary(pl.UTF-8):	Dane języka islandzkiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-is
+This package contains the data files required to recognize Icelandic
+language.
+
+%description lang-is -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+islandzkiego.
+
 %package lang-it
 Summary:	Italian language data for Tesseract
 Summary(pl.UTF-8):	Dane języka włoskiego dla Tesseracta
@@ -390,11 +727,26 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 włoskiego.
 
+%package lang-jv
+Summary:	Javanese language data for Tesseract
+Summary(pl.UTF-8):	Dane języka jawajskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-jv
+This package contains the data files required to recognize Javanese
+language.
+
+%description lang-jv -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+jawajskiego.
+
 %package lang-ja
 Summary:	Japanese language data for Tesseract
 Summary(pl.UTF-8):	Dane języka japońskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-ja
 
@@ -406,11 +758,86 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 japońskiego.
 
+%package lang-kn
+Summary:	Kannada language data for Tesseract
+Summary(pl.UTF-8):	Dane języka kannada dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-kn
+This package contains the data files required to recognize Kannada
+language.
+
+%description lang-kn -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+kannada.
+
+%package lang-ka
+Summary:	Georgian language data for Tesseract
+Summary(pl.UTF-8):	Dane języka gruzińskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-ka
+This package contains the data files required to recognize Georgian
+language.
+
+%description lang-ka -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+gruzińskiego.
+
+%package lang-kk
+Summary:	Kazakh language data for Tesseract
+Summary(pl.UTF-8):	Dane języka kazaskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-kk
+This package contains the data files required to recognize Kazakh
+language.
+
+%description lang-kk -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+kazaskiego.
+
+%package lang-km
+Summary:	Kkmer language data for Tesseract
+Summary(pl.UTF-8):	Dane języka khmerskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-km
+This package contains the data files required to recognize Kkmer
+language.
+
+%description lang-km -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+khmerskiego.
+
+%package lang-ky
+Summary:	Kirghiz language data for Tesseract
+Summary(pl.UTF-8):	Dane języka kirgiskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-ky
+This package contains the data files required to recognize Kirghiz
+language.
+
+%description lang-ky -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+kirgiskiego.
+
 %package lang-ko
 Summary:	Korean language data for Tesseract
 Summary(pl.UTF-8):	Dane języka koreańskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-ko
 
@@ -422,11 +849,56 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 koreańskiego.
 
+%package lang-ku
+Summary:	Kurdish language data for Tesseract
+Summary(pl.UTF-8):	Dane języka kurdyjskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-ku
+This package contains the data files required to recognize Kurdish
+language.
+
+%description lang-ku -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+kurdyjskiego.
+
+%package lang-lo
+Summary:	Lao language data for Tesseract
+Summary(pl.UTF-8):	Dane języka laotańskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-lo
+This package contains the data files required to recognize Lao
+language.
+
+%description lang-lo -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+laotańskiego.
+
+%package lang-la
+Summary:	Latin language data for Tesseract
+Summary(pl.UTF-8):	Dane języka łacińskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-la
+This package contains the data files required to recognize Latin
+language.
+
+%description lang-la -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+łacińskiego.
+
 %package lang-lv
 Summary:	Latvian language data for Tesseract
 Summary(pl.UTF-8):	Dane języka łotewskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-lv
 
@@ -436,29 +908,134 @@ language.
 
 %description lang-lv -l pl.UTF-8
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
-łotewskiego.
+łotewskiego.
+
+%package lang-lt
+Summary:	Lithuanian language data for Tesseract
+Summary(pl.UTF-8):	Dane języka litewskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+Obsoletes:	tesseract-lang-lt
+
+%description lang-lt
+This package contains the data files required to recognize Lithuanian
+language.
+
+%description lang-lt -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+litewskiego.
+
+%package lang-ml
+Summary:	Malayalam language data for Tesseract
+Summary(pl.UTF-8):	Dane języka malajalam dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-ml
+This package contains the data files required to recognize Malayalam
+language.
+
+%description lang-ml -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+malajalam.
+
+%package lang-mr
+Summary:	Marathi language data for Tesseract
+Summary(pl.UTF-8):	Dane języka marathi dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-mr
+This package contains the data files required to recognize Marathi
+language.
+
+%description lang-mr -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+marathi.
+
+%package lang-mk
+Summary:	Macedonian language data for Tesseract
+Summary(pl.UTF-8):	Dane języka macedońskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-mk
+This package contains the data files required to recognize Macedonian
+language.
+
+%description lang-mk -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+macedońskiego.
+
+%package lang-mt
+Summary:	Maltese language data for Tesseract
+Summary(pl.UTF-8):	Dane języka maltańskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-mt
+This package contains the data files required to recognize Maltese
+language.
+
+%description lang-mt -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+maltańskiego.
+
+%package lang-ms
+Summary:	Malay language data for Tesseract
+Summary(pl.UTF-8):	Dane języka malajskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-ms
+This package contains the data files required to recognize Malay
+language.
+
+%description lang-ms -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+malajskiego.
+
+%package lang-my
+Summary:	Burmese language data for Tesseract
+Summary(pl.UTF-8):	Dane języka birmańskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-my
+This package contains the data files required to recognize Burmese
+language.
+
+%description lang-my -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+birmańskiego.
 
-%package lang-lt
-Summary:	Lithuanian language data for Tesseract
-Summary(pl.UTF-8):	Dane języka litewskiego dla Tesseracta
+%package lang-ne
+Summary:	Nepali language data for Tesseract
+Summary(pl.UTF-8):	Dane języka nepalskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
-Obsoletes:	tesseract-lang-lt
 
-%description lang-lt
-This package contains the data files required to recognize Lithuanian
+%description lang-ne
+This package contains the data files required to recognize Nepali
 language.
 
-%description lang-lt -l pl.UTF-8
+%description lang-ne -l pl.UTF-8
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
-litewskiego.
+nepalskiego.
 
 %package lang-nl
 Summary:	Dutch language data for Tesseract
 Summary(pl.UTF-8):	Dane języka holenderskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-nl
 Obsoletes:	tesseract-lang-nl
@@ -475,7 +1052,7 @@ holenderskiego.
 Summary:	Norwegian language data for Tesseract
 Summary(pl.UTF-8):	Dane języka norweskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-nb
 
@@ -487,11 +1064,41 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 norweskiego.
 
+%package lang-or
+Summary:	Oriya language data for Tesseract
+Summary(pl.UTF-8):	Dane języka orija dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-or
+This package contains the data files required to recognize Oriya
+language.
+
+%description lang-or -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+orija.
+
+%package lang-pa
+Summary:	Panjabi language data for Tesseract
+Summary(pl.UTF-8):	Dane języka pendżabskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-pa
+This package contains the data files required to recognize Panjabi
+language.
+
+%description lang-pa -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+pendżabskiego.
+
 %package lang-pl
 Summary:	Polish language data for Tesseract
 Summary(pl.UTF-8):	Dane języka polskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-pl
 
@@ -507,7 +1114,7 @@ polskiego.
 Summary:	Portuguese language data for Tesseract
 Summary(pl.UTF-8):	Dane języka portugalskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-pt
 
@@ -519,11 +1126,26 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 portugalskiego.
 
+%package lang-ps
+Summary:	Pushto language data for Tesseract
+Summary(pl.UTF-8):	Dane języka paszto dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-ps
+This package contains the data files required to recognize Pushto
+language.
+
+%description lang-ps -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+paszto.
+
 %package lang-ro
 Summary:	Romanian language data for Tesseract
 Summary(pl.UTF-8):	Dane języka rumuńskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-ro
 
@@ -539,7 +1161,7 @@ rumuńskiego.
 Summary:	Russian language data for Tesseract
 Summary(pl.UTF-8):	Dane języka rosyjskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-ru
 
@@ -551,11 +1173,40 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 rosyjskiego.
 
+%package lang-sa
+Summary:	Sanskrit language data for Tesseract
+Summary(pl.UTF-8):	Dane sanskrytu dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-sa
+This package contains the data files required to recognize Sanskrit
+language.
+
+%description lang-sa -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania sanskrytu.
+
+%package lang-si
+Summary:	Sinhala language data for Tesseract
+Summary(pl.UTF-8):	Dane języka syngaleskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-si
+This package contains the data files required to recognize Sinhala
+language.
+
+%description lang-si -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+syngaleskiego.
+
 %package lang-sk
 Summary:	Slovakian language data for Tesseract
 Summary(pl.UTF-8):	Dane języka słowackiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.01
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-sk
 
@@ -571,7 +1222,7 @@ słowackiego (także pisanego frakturą).
 Summary:	Slovenian language data for Tesseract
 Summary(pl.UTF-8):	Dane języka słoweńskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-sl
 
@@ -587,7 +1238,7 @@ słoweńskiego.
 Summary:	Spanish language data for Tesseract
 Summary(pl.UTF-8):	Dane języka hiszpańskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-spa
 Obsoletes:	tesseract-lang-es
@@ -600,11 +1251,26 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 hiszpańskiego.
 
+%package lang-sq
+Summary:	Albanian language data for Tesseract
+Summary(pl.UTF-8):	Dane języka albańskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-sq
+This package contains the data files required to recognize Albanian
+language.
+
+%description lang-sq -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+albańskiego.
+
 %package lang-sr
 Summary:	Serbian language data for Tesseract
 Summary(pl.UTF-8):	Dane języka serbskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-sr
 
@@ -616,11 +1282,26 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 serbskiego.
 
+%package lang-sw
+Summary:	Swahili language data for Tesseract
+Summary(pl.UTF-8):	Dane języka suahili dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-sw
+This package contains the data files required to recognize Swahili
+language.
+
+%description lang-sw -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+suahili.
+
 %package lang-sv
 Summary:	Swedish language data for Tesseract
 Summary(pl.UTF-8):	Dane języka szwedzkiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-sv
 
@@ -632,11 +1313,71 @@ language (including Fraktur).
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 szwedzkiego (także pisanego frakturą).
 
+%package lang-syr
+Summary:	Syriac language data for Tesseract
+Summary(pl.UTF-8):	Dane języka syryjskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-syr
+This package contains the data files required to recognize Syriac
+language.
+
+%description lang-syr -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+syryjskiego.
+
+%package lang-ta
+Summary:	Tamil language data for Tesseract
+Summary(pl.UTF-8):	Dane języka tamilskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-ta
+This package contains the data files required to recognize Tamil
+language.
+
+%description lang-ta -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+tamilskiego.
+
+%package lang-te
+Summary:	Telugu language data for Tesseract
+Summary(pl.UTF-8):	Dane języka telugu dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-te
+This package contains the data files required to recognize Telugu
+language.
+
+%description lang-te -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+telugu.
+
+%package lang-tg
+Summary:	Tajik language data for Tesseract
+Summary(pl.UTF-8):	Dane języka tadżyckiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-tg
+This package contains the data files required to recognize Tajik
+language.
+
+%description lang-tg -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+tadżyckiego.
+
 %package lang-tl
 Summary:	Tagalog language data for Tesseract
 Summary(pl.UTF-8):	Dane języka tagalskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-tl
 
@@ -652,7 +1393,7 @@ tagalskiego.
 Summary:	Thai language data for Tesseract
 Summary(pl.UTF-8):	Dane języka tajskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.01
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-th
 
@@ -664,11 +1405,26 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 tajskiego.
 
+%package lang-ti
+Summary:	Tigrinya language data for Tesseract
+Summary(pl.UTF-8):	Dane języka tigrinia dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-ti
+This package contains the data files required to recognize Tigrinya
+language.
+
+%description lang-ti -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+tigrinia.
+
 %package lang-tr
 Summary:	Turkish language data for Tesseract
 Summary(pl.UTF-8):	Dane języka tureckiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-tr
 
@@ -680,11 +1436,26 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 tureckiego.
 
+%package lang-ug
+Summary:	Uighur language data for Tesseract
+Summary(pl.UTF-8):	Dane języka ujgurskiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-ug
+This package contains the data files required to recognize Uighur
+language.
+
+%description lang-ug -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+ujgurskiego.
+
 %package lang-uk
 Summary:	Ukrainian language data for Tesseract
 Summary(pl.UTF-8):	Dane języka ukraińskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-uk
 
@@ -696,11 +1467,41 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 ukraińskiego.
 
+%package lang-ur
+Summary:	Urdu language data for Tesseract
+Summary(pl.UTF-8):	Dane języka urdu dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-ur
+This package contains the data files required to recognize Urdu
+language.
+
+%description lang-ur -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+urdu.
+
+%package lang-uz
+Summary:	Uzbek language data for Tesseract
+Summary(pl.UTF-8):	Dane języka uzbeckiego dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-uz
+This package contains the data files required to recognize Uzbek
+language.
+
+%description lang-uz -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+uzbeckiego.
+
 %package lang-vi
 Summary:	Vietnamese language data for Tesseract
 Summary(pl.UTF-8):	Dane języka wietnamskiego dla Tesseracta
 Group:		Applications/Graphics
-Requires:	tesseract >= 3.00
+Requires:	tesseract >= %{tess_ver}
 Provides:	tesseract-data = %{version}
 Obsoletes:	tesseract-lang-vi
 
@@ -712,39 +1513,80 @@ language.
 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
 wietnamskiego.
 
+%package lang-yi
+Summary:	Yiddish language data for Tesseract
+Summary(pl.UTF-8):	Dane języka jidysz dla Tesseracta
+Group:		Applications/Graphics
+Requires:	tesseract >= %{tess_ver}
+Provides:	tesseract-data = %{version}
+
+%description lang-yi
+This package contains the data files required to recognize Yiddish
+language.
+
+%description lang-yi -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+jidysz.
+
 %prep
-%setup -q -c -T -a1 -a2 -a3 -a4 -a5 -a6
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/tessdata
-
-# sources 1-6
-for l in \
-	ara eng hin osd slk-frak tha ; do
-	cp -p tesseract-ocr/tessdata/${l}.* $RPM_BUILD_ROOT%{_datadir}/tessdata
-done
-
-# sources 11+
-for l in \
-	bul cat ces chi_sim chi_tra chr dan dan-frak deu deu-frak ell fin \
-	fra hun ind ita jpn kor lav lit nld nor pol por ron rus slk slv spa \
-	srp swe swe-frak tgl tur ukr vie ; do
-	gzip -dc $RPM_SOURCE_DIR/${l}.traineddata.gz > $RPM_BUILD_ROOT%{_datadir}/tessdata/${l}.traineddata
-done
+install -d $RPM_BUILD_ROOT%{_datadir}
+
+# extract directly to buildroot to avoid copying 1+GB of data
+%{__tar} xzf %{SOURCE0} -C $RPM_BUILD_ROOT%{_datadir}
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/tessdata-%{version} $RPM_BUILD_ROOT%{_datadir}/tessdata
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%files equ
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/equ.traineddata
+
 %files osd
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/osd.traineddata
 
+%files lang-af
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/afr.traineddata
+
+%files lang-am
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/amh.traineddata
+
 %files lang-ar
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/ara.cube.*
 %{_datadir}/tessdata/ara.traineddata
 
+%files lang-as
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/asm.traineddata
+
+%files lang-az
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/aze.traineddata
+%{_datadir}/tessdata/aze_cyrl.traineddata
+
+%files lang-be
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/bel.traineddata
+
+%files lang-bn
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/ben.traineddata
+
+%files lang-bo
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/bod.traineddata
+
+%files lang-bs
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/bos.traineddata
+
 %files lang-bg
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/bul.traineddata
@@ -753,6 +1595,10 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/cat.traineddata
 
+%files lang-ceb
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/ceb.traineddata
+
 %files lang-cs
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/ces.traineddata
@@ -769,15 +1615,23 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/chr.traineddata
 
+%files lang-cy
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/cym.traineddata
+
 %files lang-da
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/dan.traineddata
-%{_datadir}/tessdata/dan-frak.traineddata
+%{_datadir}/tessdata/dan_frak.traineddata
 
 %files lang-de
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/deu.traineddata
-%{_datadir}/tessdata/deu-frak.traineddata
+%{_datadir}/tessdata/deu_frak.traineddata
+
+%files lang-dz
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/dzo.traineddata
 
 %files lang-el
 %defattr(644,root,root,755)
@@ -789,40 +1643,146 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/tessdata/eng.tesseract_cube.nn
 %{_datadir}/tessdata/eng.traineddata
 
+%files lang-enm
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/enm.traineddata
+
+%files lang-eo
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/epo.traineddata
+
+%files lang-et
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/est.traineddata
+
+%files lang-eu
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/eus.traineddata
+
+%files lang-fa
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/fas.traineddata
+
 %files lang-fi
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/fin.traineddata
 
 %files lang-fr
 %defattr(644,root,root,755)
+%{_datadir}/tessdata/fra.cube.*
+%{_datadir}/tessdata/fra.tesseract_cube.nn
 %{_datadir}/tessdata/fra.traineddata
 
+%files lang-frk
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/frk.traineddata
+
+%files lang-frm
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/frm.traineddata
+
+%files lang-ga
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/gle.traineddata
+
+%files lang-gl
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/glg.traineddata
+
+%files lang-grc
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/grc.traineddata
+
+%files lang-gu
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/guj.traineddata
+
+%files lang-ht
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/hat.traineddata
+
+%files lang-he
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/heb.traineddata
+
 %files lang-hi
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/hin.cube.*
 %{_datadir}/tessdata/hin.tesseract_cube.nn
 %{_datadir}/tessdata/hin.traineddata
 
+%files lang-hr
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/hrv.traineddata
+
 %files lang-hu
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/hun.traineddata
 
+%files lang-iu
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/iku.traineddata
+
 %files lang-id
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/ind.traineddata
 
+%files lang-is
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/isl.traineddata
+
 %files lang-it
 %defattr(644,root,root,755)
+%{_datadir}/tessdata/ita.cube.*
+%{_datadir}/tessdata/ita.tesseract_cube.nn
 %{_datadir}/tessdata/ita.traineddata
+%{_datadir}/tessdata/ita_old.traineddata
+
+%files lang-jv
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/jav.traineddata
 
 %files lang-ja
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/jpn.traineddata
 
+%files lang-kn
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/kan.traineddata
+
+%files lang-ka
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/kat.traineddata
+%{_datadir}/tessdata/kat_old.traineddata
+
+%files lang-kk
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/kaz.traineddata
+
+%files lang-km
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/khm.traineddata
+
+%files lang-ky
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/kir.traineddata
+
 %files lang-ko
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/kor.traineddata
 
+%files lang-ku
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/kur.traineddata
+
+%files lang-lo
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/lao.traineddata
+
+%files lang-la
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/lat.traineddata
+
 %files lang-lv
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/lav.traineddata
@@ -831,6 +1791,34 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/lit.traineddata
 
+%files lang-ml
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/mal.traineddata
+
+%files lang-mr
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/mar.traineddata
+
+%files lang-mk
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/mkd.traineddata
+
+%files lang-mt
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/mlt.traineddata
+
+%files lang-ms
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/msa.traineddata
+
+%files lang-my
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/mya.traineddata
+
+%files lang-ne
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/nep.traineddata
+
 %files lang-nl
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/nld.traineddata
@@ -839,6 +1827,14 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/nor.traineddata
 
+%files lang-or
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/ori.traineddata
+
+%files lang-pa
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/pan.traineddata
+
 %files lang-pl
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/pol.traineddata
@@ -847,18 +1843,31 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/por.traineddata
 
+%files lang-ps
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/pus.traineddata
+
 %files lang-ro
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/ron.traineddata
 
 %files lang-ru
 %defattr(644,root,root,755)
+%{_datadir}/tessdata/rus.cube.*
 %{_datadir}/tessdata/rus.traineddata
 
+%files lang-sa
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/san.traineddata
+
+%files lang-si
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/sin.traineddata
+
 %files lang-sk
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/slk.traineddata
-%{_datadir}/tessdata/slk-frak.traineddata
+%{_datadir}/tessdata/slk_frak.traineddata
 
 %files lang-sl
 %defattr(644,root,root,755)
@@ -866,16 +1875,42 @@ rm -rf $RPM_BUILD_ROOT
 
 %files lang-es
 %defattr(644,root,root,755)
+%{_datadir}/tessdata/spa.cube.*
 %{_datadir}/tessdata/spa.traineddata
+%{_datadir}/tessdata/spa_old.traineddata
+
+%files lang-sq
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/sqi.traineddata
 
 %files lang-sr
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/srp.traineddata
+%{_datadir}/tessdata/srp_latn.traineddata
+
+%files lang-sw
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/swa.traineddata
 
 %files lang-sv
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/swe.traineddata
-%{_datadir}/tessdata/swe-frak.traineddata
+
+%files lang-syr
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/syr.traineddata
+
+%files lang-ta
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/tam.traineddata
+
+%files lang-te
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/tel.traineddata
+
+%files lang-tg
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/tgk.traineddata
 
 %files lang-tl
 %defattr(644,root,root,755)
@@ -885,14 +1920,35 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/tha.traineddata
 
+%files lang-ti
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/tir.traineddata
+
 %files lang-tr
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/tur.traineddata
 
+%files lang-ug
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/uig.traineddata
+
 %files lang-uk
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/ukr.traineddata
 
+%files lang-ur
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/urd.traineddata
+
+%files lang-uz
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/uzb.traineddata
+%{_datadir}/tessdata/uzb_cyrl.traineddata
+
 %files lang-vi
 %defattr(644,root,root,755)
 %{_datadir}/tessdata/vie.traineddata
+
+%files lang-yi
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/yid.traineddata
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tesseract-data.git/commitdiff/5684377fe738bd32f396288203b2b2b0cac5c4e2



More information about the pld-cvs-commit mailing list