]> git.pld-linux.org Git - packages/tesseract-data.git/commitdiff
- new spec, separate data for tesseract 3.00+
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 14 Nov 2010 19:33:37 +0000 (19:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tesseract-data.spec -> 1.1

tesseract-data.spec [new file with mode: 0644]

diff --git a/tesseract-data.spec b/tesseract-data.spec
new file mode 100644 (file)
index 0000000..cec051d
--- /dev/null
@@ -0,0 +1,742 @@
+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.00
+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/bul.traineddata.gz
+# Source1-md5: a7501f9a48bc7ef2fa50cba8b8f0c7b1
+Source2:       http://tesseract-ocr.googlecode.com/files/cat.traineddata.gz
+# Source2-md5: 308099b2b95834916ec410191c86cd48
+Source3:       http://tesseract-ocr.googlecode.com/files/ces.traineddata.gz
+# Source3-md5: 2e97c952075064834f1cad6a133970fa
+Source4:       http://tesseract-ocr.googlecode.com/files/chi_sim.traineddata.gz
+# Source4-md5: 127e0b742b615d81c3b97a555acd8285
+Source5:       http://tesseract-ocr.googlecode.com/files/chi_tra.traineddata.gz
+# Source5-md5: 06fce5f5c0221286eab591819406d91e
+Source6:       http://tesseract-ocr.googlecode.com/files/dan.traineddata.gz
+# Source6-md5: 7aaeb321dbf069d14d2601dc36d3dddc
+Source7:       http://tesseract-ocr.googlecode.com/files/dan-frak.traineddata.gz
+# Source7-md5: cfa8a81df6a34940604fafa7353ffc43
+Source8:       http://tesseract-ocr.googlecode.com/files/deu.traineddata.gz
+# Source8-md5: be81a761f61800f6d39393a31435fff3
+Source9:       http://tesseract-ocr.googlecode.com/files/deu-frak.traineddata.gz
+# Source9-md5: e3117394f775a720117efadda202af50
+Source10:      http://tesseract-ocr.googlecode.com/files/ell.traineddata.gz
+# Source10-md5:        0d3a21c18f752eb058e7b854c37b7a69
+Source11:      http://tesseract-ocr.googlecode.com/files/eng.traineddata.gz
+# Source11-md5:        d91041ad156cf2db36664e91ef799451
+Source12:      http://tesseract-ocr.googlecode.com/files/fin.traineddata.gz
+# Source12-md5:        33812ef03197dce20b8c888409d8541a
+Source13:      http://tesseract-ocr.googlecode.com/files/fra.traineddata.gz
+# Source13-md5:        e6000550883684b5e93b7e0a21016287
+Source14:      http://tesseract-ocr.googlecode.com/files/hun.traineddata.gz
+# Source14-md5:        966fa3ebe24d7dfade951e0a4a9f52b5
+Source15:      http://tesseract-ocr.googlecode.com/files/ind.traineddata.gz
+# Source15-md5:        f4ae2e5668f693cc51c6e3c3f57a8f1d
+Source16:      http://tesseract-ocr.googlecode.com/files/ita.traineddata.gz
+# Source16-md5:        9a307661a010703cd2bb265a3da5eaff
+Source17:      http://tesseract-ocr.googlecode.com/files/jpn.traineddata.gz
+# Source17-md5:        cad3dd7c9401fa0676bf195456ba0c14
+Source18:      http://tesseract-ocr.googlecode.com/files/kor.traineddata.gz
+# Source18-md5:        909b811739b2e7d51cc3ca109998353a
+Source19:      http://tesseract-ocr.googlecode.com/files/lav.traineddata.gz
+# Source19-md5:        1f366f55e5e0725deb751ec847bf42dc
+Source20:      http://tesseract-ocr.googlecode.com/files/lit.traineddata.gz
+# Source20-md5:        1b4460ab998151f1ed8e48928ded58be
+Source21:      http://tesseract-ocr.googlecode.com/files/nld.traineddata.gz
+# Source21-md5:        89992f69802b9f4a36fec40efd95c503
+Source22:      http://tesseract-ocr.googlecode.com/files/nor.traineddata.gz
+# Source22-md5:        e09cc75fa17b8d4a5c2d02de73267aae
+Source23:      http://tesseract-ocr.googlecode.com/files/pol.traineddata.gz
+# Source23-md5:        c3d6447245663138f1d3aa4567c72192
+Source24:      http://tesseract-ocr.googlecode.com/files/por.traineddata.gz
+# Source24-md5:        d0b59fcfd80f9e09be890647ae93f00d
+Source25:      http://tesseract-ocr.googlecode.com/files/ron.traineddata.gz
+# Source25-md5:        7b50075692e7a07ac8f59e0cde51cfb9
+Source26:      http://tesseract-ocr.googlecode.com/files/rus.traineddata.gz
+# Source26-md5:        c477b7faddc044a4595135d0378be34c
+Source29:      http://tesseract-ocr.googlecode.com/files/slk.traineddata.gz
+# Source29-md5:        2e7fbf80215b38f423dcf78e396b92d7
+Source27:      http://tesseract-ocr.googlecode.com/files/slv.traineddata.gz
+# Source27-md5:        defc498fa09480ef0052fde79f4f84e5
+Source28:      http://tesseract-ocr.googlecode.com/files/spa.traineddata.gz
+# Source28-md5:        dd9078211127189995504f034468fcd6
+Source30:      http://tesseract-ocr.googlecode.com/files/srp.traineddata.gz
+# Source30-md5:        c1e0f0ef07d26a72063802370bbfe2c9
+Source31:      http://tesseract-ocr.googlecode.com/files/swe.traineddata.gz
+# Source31-md5:        3787ff0fc1a07517203466830f6f868e
+Source32:      http://tesseract-ocr.googlecode.com/files/swe-frak.traineddata.gz
+# Source32-md5:        fa11947f6617cfce96174eaec1d940ec
+Source33:      http://tesseract-ocr.googlecode.com/files/tgl.traineddata.gz
+# Source33-md5:        af86cab0da52fff7e83f9c7668617a21
+Source34:      http://tesseract-ocr.googlecode.com/files/tur.traineddata.gz
+# Source34-md5:        b0f4798bf1f9ee541ae73aff49f08821
+Source35:      http://tesseract-ocr.googlecode.com/files/ukr.traineddata.gz
+# Source35-md5:        56a82ac3994f0552d54fd14ff5ed6817
+Source36:      http://tesseract-ocr.googlecode.com/files/vie.traineddata.gz
+# Source36-md5:        af75c7a696b18a1d2e4f7e21a222cf95
+URL:           http://code.google.com/p/tesseract-ocr/
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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 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
+Provides:      tesseract-data = %{version}
+Obsoletes:     tesseract-deu
+
+%description lang-bg
+This package contains the data files required to recognize Bulgarian
+language.
+
+%description lang-bg -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+bułgarskiego.
+
+%package lang-ca
+Summary:       Catalan language data for Tesseract
+Summary(pl.UTF-8):     Dane języka katalońskiego dla Tesseracta
+Group:         Applications/Graphics
+Requires:      tesseract >= 3.00
+Provides:      tesseract-data = %{version}
+
+%description lang-ca
+This package contains the data files required to recognize Catalan
+language.
+
+%description lang-ca -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+kataloń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
+Provides:      tesseract-data = %{version}
+
+%description lang-cs
+This package contains the data files required to recognize Czech
+language.
+
+%description lang-cs -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+czeskiego.
+
+%package lang-zh_CN
+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
+Provides:      tesseract-data = %{version}
+
+%description lang-zh_CN
+This package contains the data files required to recognize Chinese
+Simplified language.
+
+%description lang-zh_CN -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+chińskiego uproszczonego.
+
+%package lang-zh_TW
+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
+Provides:      tesseract-data = %{version}
+
+%description lang-zh_TW
+This package contains the data files required to recognize Chinese
+Traditional language.
+
+%description lang-zh_TW -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+chińskiego tradycyjnego.
+
+%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
+Provides:      tesseract-data = %{version}
+
+%description lang-da
+This package contains the data files required to recognize Danish
+language (including Fraktur).
+
+%description lang-da -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+duńskiego (także pisanego frakturą).
+
+%package lang-de
+Summary:       German language data for Tesseract
+Summary(pl.UTF-8):     Dane języka niemieckiego dla Tesseracta
+Group:         Applications/Graphics
+Requires:      tesseract >= 3.00
+Provides:      tesseract-data = %{version}
+Obsoletes:     tesseract-deu
+
+%description lang-de
+This package contains the data files required to recognize German
+language (including Fraktur).
+
+%description lang-de -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+niemieckiego (także pisanego frakturą).
+
+%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
+Provides:      tesseract-data = %{version}
+
+%description lang-el
+This package contains the data files required to recognize Greek
+language.
+
+%description lang-el -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+greckiego.
+
+%package lang-en
+Summary:       English language data for Tesseract
+Summary(pl.UTF-8):     Dane języka angielskiego dla Tesseracta
+Group:         Applications/Graphics
+Requires:      tesseract >= 3.00
+Provides:      tesseract-data = %{version}
+Obsoletes:     tesseract-eng
+
+%description lang-en
+This package contains the data files required to recognize English
+language.
+
+%description lang-en -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+angielskiego.
+
+%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
+Provides:      tesseract-data = %{version}
+
+%description lang-fi
+This package contains the data files required to recognize Finnish
+language.
+
+%description lang-fi -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+fińskiego.
+
+%package lang-fr
+Summary:       French language data for Tesseract
+Summary(pl.UTF-8):     Dane języka francuskiego dla Tesseracta
+Group:         Applications/Graphics
+Requires:      tesseract >= 3.00
+Provides:      tesseract-data = %{version}
+Obsoletes:     tesseract-fra
+
+%description lang-fr
+This package contains the data files required to recognize French
+language.
+
+%description lang-fr -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+francuskiego.
+
+%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
+Provides:      tesseract-data = %{version}
+
+%description lang-hu
+This package contains the data files required to recognize Hungarian
+language.
+
+%description lang-hu -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+węgierskiego.
+
+%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
+Provides:      tesseract-data = %{version}
+
+%description lang-id
+This package contains the data files required to recognize Indonesian
+language.
+
+%description lang-id -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+indonezyjskiego.
+
+%package lang-it
+Summary:       Italian language data for Tesseract
+Summary(pl.UTF-8):     Dane języka włoskiego dla Tesseracta
+Group:         Applications/Graphics
+Requires:      tesseract >= 3.00
+Provides:      tesseract-data = %{version}
+Obsoletes:     tesseract-ita
+
+%description lang-it
+This package contains the data files required to recognize Italian
+language.
+
+%description lang-it -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+włoskiego.
+
+%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
+Provides:      tesseract-data = %{version}
+
+%description lang-ja
+This package contains the data files required to recognize Japanese
+language.
+
+%description lang-ja -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+japońskiego.
+
+%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
+Provides:      tesseract-data = %{version}
+
+%description lang-ko
+This package contains the data files required to recognize Korean
+language.
+
+%description lang-ko -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+koreań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
+Provides:      tesseract-data = %{version}
+
+%description lang-lv
+This package contains the data files required to recognize Latvian
+language.
+
+%description lang-lv -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+ł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 >= 3.00
+Provides:      tesseract-data = %{version}
+
+%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-nl
+Summary:       Dutch language data for Tesseract
+Summary(pl.UTF-8):     Dane języka holenderskiego dla Tesseracta
+Group:         Applications/Graphics
+Requires:      tesseract >= 3.00
+Provides:      tesseract-data = %{version}
+Obsoletes:     tesseract-nl
+
+%description lang-nl
+This package contains the data files required to recognize Dutch
+language.
+
+%description lang-nl -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+holenderskiego.
+
+%package lang-nb
+Summary:       Norwegian language data for Tesseract
+Summary(pl.UTF-8):     Dane języka norweskiego dla Tesseracta
+Group:         Applications/Graphics
+Requires:      tesseract >= 3.00
+Provides:      tesseract-data = %{version}
+
+%description lang-nb
+This package contains the data files required to recognize Norwegian
+language.
+
+%description lang-nb -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+norweskiego.
+
+%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
+Provides:      tesseract-data = %{version}
+
+%description lang-pl
+This package contains the data files required to recognize Polish
+language.
+
+%description lang-pl -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+polskiego.
+
+%package lang-pt
+Summary:       Portuguese language data for Tesseract
+Summary(pl.UTF-8):     Dane języka portugalskiego dla Tesseracta
+Group:         Applications/Graphics
+Requires:      tesseract >= 3.00
+Provides:      tesseract-data = %{version}
+
+%description lang-pt
+This package contains the data files required to recognize Portuguese
+language.
+
+%description lang-pt -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+portugalskiego.
+
+%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
+Provides:      tesseract-data = %{version}
+
+%description lang-ro
+This package contains the data files required to recognize Romanian
+language.
+
+%description lang-ro -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+rumuńskiego.
+
+%package lang-ru
+Summary:       Russian language data for Tesseract
+Summary(pl.UTF-8):     Dane języka rosyjskiego dla Tesseracta
+Group:         Applications/Graphics
+Requires:      tesseract >= 3.00
+Provides:      tesseract-data = %{version}
+
+%description lang-ru
+This package contains the data files required to recognize Russian
+language.
+
+%description lang-ru -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+rosyjskiego.
+
+%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.00
+Provides:      tesseract-data = %{version}
+
+%description lang-sk
+This package contains the data files required to recognize Slovakian
+language.
+
+%description lang-sk -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+słowackiego.
+
+%package lang-sl
+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
+Provides:      tesseract-data = %{version}
+
+%description lang-sl
+This package contains the data files required to recognize Slovenian
+language.
+
+%description lang-sl -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+słoweńskiego.
+
+%package lang-es
+Summary:       Spanish language data for Tesseract
+Summary(pl.UTF-8):     Dane języka hiszpańskiego dla Tesseracta
+Group:         Applications/Graphics
+Requires:      tesseract >= 3.00
+Provides:      tesseract-data = %{version}
+Obsoletes:     tesseract-spa
+
+%description lang-es
+This package contains the data files required to recognize Spanish
+language.
+
+%description lang-es -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+hiszpań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
+Provides:      tesseract-data = %{version}
+
+%description lang-sr
+This package contains the data files required to recognize Serbian
+language.
+
+%description lang-sr -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+serbskiego.
+
+%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
+Provides:      tesseract-data = %{version}
+
+%description lang-sv
+This package contains the data files required to recognize Swedish
+language (including Fraktur).
+
+%description lang-sv -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+szwedzkiego (także pisanego frakturą).
+
+%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
+Provides:      tesseract-data = %{version}
+
+%description lang-tl
+This package contains the data files required to recognize Tagalog
+language.
+
+%description lang-tl -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+tagalskiego.
+
+%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
+Provides:      tesseract-data = %{version}
+
+%description lang-tr
+This package contains the data files required to recognize Turkish
+language.
+
+%description lang-tr -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+tureckiego.
+
+%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
+Provides:      tesseract-data = %{version}
+
+%description lang-uk
+This package contains the data files required to recognize Ukrainian
+language.
+
+%description lang-uk -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+ukraińskiego.
+
+%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
+Provides:      tesseract-data = %{version}
+
+%description lang-vi
+This package contains the data files required to recognize Vietnamese
+language.
+
+%description lang-vi -l pl.UTF-8
+Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
+wietnamskiego.
+
+%prep
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/tessdata
+
+for l in \
+       bul cat ces chi_sim chi_tra dan dan-frak deu deu-frak ell eng 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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files lang-bg
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/bul.traineddata
+
+%files lang-ca
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/cat.traineddata
+
+%files lang-cs
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/ces.traineddata
+
+%files lang-zh_CN
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/chi_sim.traineddata
+
+%files lang-zh_TW
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/chi_tra.traineddata
+
+%files lang-da
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/dan.traineddata
+%{_datadir}/tessdata/dan-frak.traineddata
+
+%files lang-de
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/deu.traineddata
+%{_datadir}/tessdata/deu-frak.traineddata
+
+%files lang-el
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/ell.traineddata
+
+%files lang-en
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/eng.traineddata
+
+%files lang-fi
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/fin.traineddata
+
+%files lang-fr
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/fra.traineddata
+
+%files lang-hu
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/hun.traineddata
+
+%files lang-id
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/ind.traineddata
+
+%files lang-it
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/ita.traineddata
+
+%files lang-ja
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/jpn.traineddata
+
+%files lang-ko
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/kor.traineddata
+
+%files lang-lv
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/lav.traineddata
+
+%files lang-lt
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/lit.traineddata
+
+%files lang-nl
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/nld.traineddata
+
+%files lang-nb
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/nor.traineddata
+
+%files lang-pl
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/pol.traineddata
+
+%files lang-pt
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/por.traineddata
+
+%files lang-ro
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/ron.traineddata
+
+%files lang-ru
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/rus.traineddata
+
+%files lang-sk
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/slk.traineddata
+
+%files lang-sl
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/slv.traineddata
+
+%files lang-es
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/spa.traineddata
+
+%files lang-sr
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/srp.traineddata
+
+%files lang-sv
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/swe.traineddata
+%{_datadir}/tessdata/swe-frak.traineddata
+
+%files lang-tl
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/tgl.traineddata
+
+%files lang-tr
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/tur.traineddata
+
+%files lang-uk
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/ukr.traineddata
+
+%files lang-vi
+%defattr(644,root,root,755)
+%{_datadir}/tessdata/vie.traineddata
This page took 0.127567 seconds and 4 git commands to generate.