]>
Commit | Line | Data |
---|---|---|
ff5c39bb JB |
1 | Summary: Trained data for Tesseract Open Source OCR Engine |
2 | Summary(pl.UTF-8): Wytrenowane dane dla Tesseracta - silnika OCR o otwartych źródłach | |
3 | Name: tesseract-data | |
cf2907e7 | 4 | Version: 3.01 |
ff5c39bb JB |
5 | Release: 1 |
6 | License: Apache v2.0 | |
7 | Group: Applications/Graphics | |
8 | #SourceDownload: http://code.google.com/p/tesseract-ocr/downloads/list | |
cf2907e7 JB |
9 | Source1: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{version}.ara.tar.gz |
10 | # Source1-md5: 13d379238b32514c4bb73de02dba719f | |
11 | Source2: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{version}.eng.tar.gz | |
12 | # Source2-md5: 89c139a73e0e7b1225809fc7b226b6c9 | |
13 | Source3: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{version}.hin.tar.gz | |
14 | # Source3-md5: f2986f40c4d574c9526dde145608e2c0 | |
15 | Source4: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{version}.osd.tar.gz | |
16 | # Source4-md5: 683486e01f5b87c17f2f5815f770ccb3 | |
17 | Source5: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{version}.slk-frak.tar.gz | |
18 | # Source5-md5: 2f9c16f79dbabf30827f0dd91b1bfc66 | |
19 | Source6: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-%{version}.tha.tar.gz | |
20 | # Source6-md5: f96f5194331e3610dda1feef21f9e6a0 | |
21 | Source10: http://tesseract-ocr.googlecode.com/files/bul.traineddata.gz | |
22 | # Source10-md5: a7501f9a48bc7ef2fa50cba8b8f0c7b1 | |
23 | Source11: http://tesseract-ocr.googlecode.com/files/cat.traineddata.gz | |
24 | # Source11-md5: 308099b2b95834916ec410191c86cd48 | |
25 | Source12: http://tesseract-ocr.googlecode.com/files/ces.traineddata.gz | |
26 | # Source12-md5: 2e97c952075064834f1cad6a133970fa | |
27 | Source13: http://tesseract-ocr.googlecode.com/files/chi_sim.traineddata.gz | |
28 | # Source13-md5: 127e0b742b615d81c3b97a555acd8285 | |
29 | Source14: http://tesseract-ocr.googlecode.com/files/chi_tra.traineddata.gz | |
30 | # Source14-md5: 06fce5f5c0221286eab591819406d91e | |
31 | Source15: http://tesseract-ocr.googlecode.com/files/chr.traineddata.gz | |
32 | # Source15-md5: 6b2daa1f32e6234aa9a528dbfcd0c66e | |
33 | Source16: http://tesseract-ocr.googlecode.com/files/dan.traineddata.gz | |
34 | # Source16-md5: 7aaeb321dbf069d14d2601dc36d3dddc | |
35 | Source17: http://tesseract-ocr.googlecode.com/files/dan-frak.traineddata.gz | |
36 | # Source17-md5: cfa8a81df6a34940604fafa7353ffc43 | |
37 | Source18: http://tesseract-ocr.googlecode.com/files/deu.traineddata.gz | |
38 | # Source18-md5: be81a761f61800f6d39393a31435fff3 | |
39 | Source19: http://tesseract-ocr.googlecode.com/files/deu-frak.traineddata.gz | |
40 | # Source19-md5: e3117394f775a720117efadda202af50 | |
41 | Source20: http://tesseract-ocr.googlecode.com/files/ell.traineddata.gz | |
42 | # Source20-md5: 0d3a21c18f752eb058e7b854c37b7a69 | |
43 | Source21: http://tesseract-ocr.googlecode.com/files/fin.traineddata.gz | |
44 | # Source21-md5: 33812ef03197dce20b8c888409d8541a | |
45 | Source22: http://tesseract-ocr.googlecode.com/files/fra.traineddata.gz | |
46 | # Source22-md5: e6000550883684b5e93b7e0a21016287 | |
47 | Source23: http://tesseract-ocr.googlecode.com/files/hun.traineddata.gz | |
48 | # Source23-md5: 966fa3ebe24d7dfade951e0a4a9f52b5 | |
49 | Source24: http://tesseract-ocr.googlecode.com/files/ind.traineddata.gz | |
50 | # Source24-md5: f4ae2e5668f693cc51c6e3c3f57a8f1d | |
51 | Source25: http://tesseract-ocr.googlecode.com/files/ita.traineddata.gz | |
52 | # Source25-md5: 9a307661a010703cd2bb265a3da5eaff | |
53 | Source26: http://tesseract-ocr.googlecode.com/files/jpn.traineddata.gz | |
54 | # Source26-md5: cad3dd7c9401fa0676bf195456ba0c14 | |
55 | Source27: http://tesseract-ocr.googlecode.com/files/kor.traineddata.gz | |
56 | # Source27-md5: 909b811739b2e7d51cc3ca109998353a | |
57 | Source28: http://tesseract-ocr.googlecode.com/files/lav.traineddata.gz | |
58 | # Source28-md5: 1f366f55e5e0725deb751ec847bf42dc | |
59 | Source29: http://tesseract-ocr.googlecode.com/files/lit.traineddata.gz | |
60 | # Source29-md5: 1b4460ab998151f1ed8e48928ded58be | |
61 | Source30: http://tesseract-ocr.googlecode.com/files/nld.traineddata.gz | |
62 | # Source30-md5: 89992f69802b9f4a36fec40efd95c503 | |
63 | Source31: http://tesseract-ocr.googlecode.com/files/nor.traineddata.gz | |
64 | # Source31-md5: e09cc75fa17b8d4a5c2d02de73267aae | |
65 | Source32: http://tesseract-ocr.googlecode.com/files/pol.traineddata.gz | |
66 | # Source32-md5: c3d6447245663138f1d3aa4567c72192 | |
67 | Source33: http://tesseract-ocr.googlecode.com/files/por.traineddata.gz | |
68 | # Source33-md5: d0b59fcfd80f9e09be890647ae93f00d | |
69 | Source34: http://tesseract-ocr.googlecode.com/files/ron.traineddata.gz | |
70 | # Source34-md5: 7b50075692e7a07ac8f59e0cde51cfb9 | |
71 | Source35: http://tesseract-ocr.googlecode.com/files/rus.traineddata.gz | |
72 | # Source35-md5: c477b7faddc044a4595135d0378be34c | |
73 | Source36: http://tesseract-ocr.googlecode.com/files/slk.traineddata.gz | |
74 | # Source36-md5: 2e7fbf80215b38f423dcf78e396b92d7 | |
75 | Source37: http://tesseract-ocr.googlecode.com/files/slv.traineddata.gz | |
76 | # Source37-md5: defc498fa09480ef0052fde79f4f84e5 | |
77 | Source38: http://tesseract-ocr.googlecode.com/files/spa.traineddata.gz | |
78 | # Source38-md5: dd9078211127189995504f034468fcd6 | |
79 | Source39: http://tesseract-ocr.googlecode.com/files/srp.traineddata.gz | |
80 | # Source39-md5: c1e0f0ef07d26a72063802370bbfe2c9 | |
81 | Source40: http://tesseract-ocr.googlecode.com/files/swe.traineddata.gz | |
82 | # Source40-md5: 3787ff0fc1a07517203466830f6f868e | |
83 | Source41: http://tesseract-ocr.googlecode.com/files/swe-frak.traineddata.gz | |
84 | # Source41-md5: fa11947f6617cfce96174eaec1d940ec | |
85 | Source42: http://tesseract-ocr.googlecode.com/files/tgl.traineddata.gz | |
86 | # Source42-md5: af86cab0da52fff7e83f9c7668617a21 | |
87 | Source43: http://tesseract-ocr.googlecode.com/files/tur.traineddata.gz | |
88 | # Source43-md5: b0f4798bf1f9ee541ae73aff49f08821 | |
89 | Source44: http://tesseract-ocr.googlecode.com/files/ukr.traineddata.gz | |
90 | # Source44-md5: 56a82ac3994f0552d54fd14ff5ed6817 | |
91 | Source45: http://tesseract-ocr.googlecode.com/files/vie.traineddata.gz | |
92 | # Source45-md5: af75c7a696b18a1d2e4f7e21a222cf95 | |
ff5c39bb JB |
93 | URL: http://code.google.com/p/tesseract-ocr/ |
94 | BuildArch: noarch | |
95 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
96 | ||
97 | %description | |
98 | Trained data for Tesseract Open Source OCR Engine. | |
99 | ||
100 | %description -l pl.UTF-8 | |
101 | Wytrenowane dane dla Tesseracta - silnika OCR o otwartych źródłach. | |
102 | ||
cf2907e7 JB |
103 | %package osd |
104 | Summary: Orientation and script detection data for Tesseract | |
105 | Summary(pl.UTF-8): Dane dla Tesseracta pozwalające na wykrywanie orientacji i pisma | |
106 | Group: Applications/Graphics | |
107 | Requires: tesseract >= 3.01 | |
108 | Provides: tesseract-data = %{version} | |
109 | ||
110 | %description osd | |
111 | Orientation and script detection data for Tesseract. | |
112 | ||
113 | %description osd -l pl.UTF-8 | |
114 | Dane dla Tesseracta pozwalające na wykrywanie orientacji i pisma. | |
115 | ||
116 | %package lang-ar | |
117 | Summary: Arabic language data for Tesseract | |
118 | Summary(pl.UTF-8): Dane języka arabskiego dla Tesseracta | |
119 | Group: Applications/Graphics | |
120 | Requires: tesseract >= 3.01 | |
121 | Provides: tesseract-data = %{version} | |
122 | ||
123 | %description lang-ar | |
124 | This package contains the data files required to recognize Arabic | |
125 | language. | |
126 | ||
127 | %description lang-ar -l pl.UTF-8 | |
128 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
129 | arabskiego. | |
130 | ||
ff5c39bb JB |
131 | %package lang-bg |
132 | Summary: Bulgarian language data for Tesseract | |
133 | Summary(pl.UTF-8): Dane języka bułgarskiego dla Tesseracta | |
134 | Group: Applications/Graphics | |
135 | Requires: tesseract >= 3.00 | |
136 | Provides: tesseract-data = %{version} | |
137 | Obsoletes: tesseract-deu | |
138 | ||
139 | %description lang-bg | |
140 | This package contains the data files required to recognize Bulgarian | |
141 | language. | |
142 | ||
143 | %description lang-bg -l pl.UTF-8 | |
144 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
145 | bułgarskiego. | |
146 | ||
147 | %package lang-ca | |
148 | Summary: Catalan language data for Tesseract | |
149 | Summary(pl.UTF-8): Dane języka katalońskiego dla Tesseracta | |
150 | Group: Applications/Graphics | |
151 | Requires: tesseract >= 3.00 | |
152 | Provides: tesseract-data = %{version} | |
153 | ||
154 | %description lang-ca | |
155 | This package contains the data files required to recognize Catalan | |
156 | language. | |
157 | ||
158 | %description lang-ca -l pl.UTF-8 | |
159 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
160 | katalońskiego. | |
161 | ||
162 | %package lang-cs | |
163 | Summary: Czech language data for Tesseract | |
164 | Summary(pl.UTF-8): Dane języka czeskiego dla Tesseracta | |
165 | Group: Applications/Graphics | |
166 | Requires: tesseract >= 3.00 | |
167 | Provides: tesseract-data = %{version} | |
168 | ||
169 | %description lang-cs | |
170 | This package contains the data files required to recognize Czech | |
171 | language. | |
172 | ||
173 | %description lang-cs -l pl.UTF-8 | |
174 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
175 | czeskiego. | |
176 | ||
177 | %package lang-zh_CN | |
178 | Summary: Chinese Simplified language data for Tesseract | |
179 | Summary(pl.UTF-8): Dane języka chińskiego uproszczonego dla Tesseracta | |
180 | Group: Applications/Graphics | |
181 | Requires: tesseract >= 3.00 | |
182 | Provides: tesseract-data = %{version} | |
183 | ||
184 | %description lang-zh_CN | |
185 | This package contains the data files required to recognize Chinese | |
186 | Simplified language. | |
187 | ||
188 | %description lang-zh_CN -l pl.UTF-8 | |
189 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
190 | chińskiego uproszczonego. | |
191 | ||
192 | %package lang-zh_TW | |
193 | Summary: Chinese Traditional language data for Tesseract | |
194 | Summary(pl.UTF-8): Dane języka chińskiego tradycyjnego dla Tesseracta | |
195 | Group: Applications/Graphics | |
196 | Requires: tesseract >= 3.00 | |
197 | Provides: tesseract-data = %{version} | |
198 | ||
199 | %description lang-zh_TW | |
200 | This package contains the data files required to recognize Chinese | |
201 | Traditional language. | |
202 | ||
203 | %description lang-zh_TW -l pl.UTF-8 | |
204 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
205 | chińskiego tradycyjnego. | |
206 | ||
3f7f003d JB |
207 | %package lang-chr |
208 | Summary: Cherokee language data for Tesseract | |
209 | Summary(pl.UTF-8): Dane języka czerokeskiego dla Tesseracta | |
210 | Group: Applications/Graphics | |
211 | Requires: tesseract >= 3.00 | |
212 | Provides: tesseract-data = %{version} | |
213 | ||
214 | %description lang-chr | |
215 | This package contains the data files required to recognize Cherokee | |
216 | language. | |
217 | ||
218 | %description lang-chr -l pl.UTF-8 | |
219 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
220 | czerokeskiego. | |
221 | ||
ff5c39bb JB |
222 | %package lang-da |
223 | Summary: Danish language data for Tesseract | |
224 | Summary(pl.UTF-8): Dane języka duńskiego dla Tesseracta | |
225 | Group: Applications/Graphics | |
226 | Requires: tesseract >= 3.00 | |
227 | Provides: tesseract-data = %{version} | |
228 | ||
229 | %description lang-da | |
230 | This package contains the data files required to recognize Danish | |
231 | language (including Fraktur). | |
232 | ||
233 | %description lang-da -l pl.UTF-8 | |
234 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
235 | duńskiego (także pisanego frakturą). | |
236 | ||
237 | %package lang-de | |
238 | Summary: German language data for Tesseract | |
239 | Summary(pl.UTF-8): Dane języka niemieckiego dla Tesseracta | |
240 | Group: Applications/Graphics | |
241 | Requires: tesseract >= 3.00 | |
242 | Provides: tesseract-data = %{version} | |
243 | Obsoletes: tesseract-deu | |
244 | ||
245 | %description lang-de | |
246 | This package contains the data files required to recognize German | |
247 | language (including Fraktur). | |
248 | ||
249 | %description lang-de -l pl.UTF-8 | |
250 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
251 | niemieckiego (także pisanego frakturą). | |
252 | ||
253 | %package lang-el | |
254 | Summary: Greek language data for Tesseract | |
255 | Summary(pl.UTF-8): Dane języka greckiego dla Tesseracta | |
256 | Group: Applications/Graphics | |
257 | Requires: tesseract >= 3.00 | |
258 | Provides: tesseract-data = %{version} | |
259 | ||
260 | %description lang-el | |
261 | This package contains the data files required to recognize Greek | |
262 | language. | |
263 | ||
264 | %description lang-el -l pl.UTF-8 | |
265 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
266 | greckiego. | |
267 | ||
268 | %package lang-en | |
269 | Summary: English language data for Tesseract | |
270 | Summary(pl.UTF-8): Dane języka angielskiego dla Tesseracta | |
271 | Group: Applications/Graphics | |
cf2907e7 | 272 | Requires: tesseract >= 3.01 |
ff5c39bb JB |
273 | Provides: tesseract-data = %{version} |
274 | Obsoletes: tesseract-eng | |
275 | ||
276 | %description lang-en | |
277 | This package contains the data files required to recognize English | |
278 | language. | |
279 | ||
280 | %description lang-en -l pl.UTF-8 | |
281 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
282 | angielskiego. | |
283 | ||
284 | %package lang-fi | |
285 | Summary: Finnish language data for Tesseract | |
286 | Summary(pl.UTF-8): Dane języka fińskiego dla Tesseracta | |
287 | Group: Applications/Graphics | |
288 | Requires: tesseract >= 3.00 | |
289 | Provides: tesseract-data = %{version} | |
290 | ||
291 | %description lang-fi | |
292 | This package contains the data files required to recognize Finnish | |
293 | language. | |
294 | ||
295 | %description lang-fi -l pl.UTF-8 | |
296 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
297 | fińskiego. | |
298 | ||
299 | %package lang-fr | |
300 | Summary: French language data for Tesseract | |
301 | Summary(pl.UTF-8): Dane języka francuskiego dla Tesseracta | |
302 | Group: Applications/Graphics | |
303 | Requires: tesseract >= 3.00 | |
304 | Provides: tesseract-data = %{version} | |
305 | Obsoletes: tesseract-fra | |
306 | ||
307 | %description lang-fr | |
308 | This package contains the data files required to recognize French | |
309 | language. | |
310 | ||
311 | %description lang-fr -l pl.UTF-8 | |
312 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
313 | francuskiego. | |
314 | ||
cf2907e7 JB |
315 | %package lang-hi |
316 | Summary: Hindi language data for Tesseract | |
317 | Summary(pl.UTF-8): Dane języka hindi dla Tesseracta | |
318 | Group: Applications/Graphics | |
319 | Requires: tesseract >= 3.01 | |
320 | Provides: tesseract-data = %{version} | |
321 | ||
322 | %description lang-hi | |
323 | This package contains the data files required to recognize Hindi | |
324 | language. | |
325 | ||
326 | %description lang-hi -l pl.UTF-8 | |
327 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
328 | hindi. | |
329 | ||
ff5c39bb JB |
330 | %package lang-hu |
331 | Summary: Hungarian language data for Tesseract | |
332 | Summary(pl.UTF-8): Dane języka węgierskiego dla Tesseracta | |
333 | Group: Applications/Graphics | |
334 | Requires: tesseract >= 3.00 | |
335 | Provides: tesseract-data = %{version} | |
336 | ||
337 | %description lang-hu | |
338 | This package contains the data files required to recognize Hungarian | |
339 | language. | |
340 | ||
341 | %description lang-hu -l pl.UTF-8 | |
342 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
343 | węgierskiego. | |
344 | ||
345 | %package lang-id | |
346 | Summary: Indonesian language data for Tesseract | |
347 | Summary(pl.UTF-8): Dane języka indonezyjskiego dla Tesseracta | |
348 | Group: Applications/Graphics | |
349 | Requires: tesseract >= 3.00 | |
350 | Provides: tesseract-data = %{version} | |
351 | ||
352 | %description lang-id | |
353 | This package contains the data files required to recognize Indonesian | |
354 | language. | |
355 | ||
356 | %description lang-id -l pl.UTF-8 | |
357 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
358 | indonezyjskiego. | |
359 | ||
360 | %package lang-it | |
361 | Summary: Italian language data for Tesseract | |
362 | Summary(pl.UTF-8): Dane języka włoskiego dla Tesseracta | |
363 | Group: Applications/Graphics | |
364 | Requires: tesseract >= 3.00 | |
365 | Provides: tesseract-data = %{version} | |
366 | Obsoletes: tesseract-ita | |
367 | ||
368 | %description lang-it | |
369 | This package contains the data files required to recognize Italian | |
370 | language. | |
371 | ||
372 | %description lang-it -l pl.UTF-8 | |
373 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
374 | włoskiego. | |
375 | ||
376 | %package lang-ja | |
377 | Summary: Japanese language data for Tesseract | |
378 | Summary(pl.UTF-8): Dane języka japońskiego dla Tesseracta | |
379 | Group: Applications/Graphics | |
380 | Requires: tesseract >= 3.00 | |
381 | Provides: tesseract-data = %{version} | |
382 | ||
383 | %description lang-ja | |
384 | This package contains the data files required to recognize Japanese | |
385 | language. | |
386 | ||
387 | %description lang-ja -l pl.UTF-8 | |
388 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
389 | japońskiego. | |
390 | ||
391 | %package lang-ko | |
392 | Summary: Korean language data for Tesseract | |
393 | Summary(pl.UTF-8): Dane języka koreańskiego dla Tesseracta | |
394 | Group: Applications/Graphics | |
395 | Requires: tesseract >= 3.00 | |
396 | Provides: tesseract-data = %{version} | |
397 | ||
398 | %description lang-ko | |
399 | This package contains the data files required to recognize Korean | |
400 | language. | |
401 | ||
402 | %description lang-ko -l pl.UTF-8 | |
403 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
404 | koreańskiego. | |
405 | ||
406 | %package lang-lv | |
407 | Summary: Latvian language data for Tesseract | |
408 | Summary(pl.UTF-8): Dane języka łotewskiego dla Tesseracta | |
409 | Group: Applications/Graphics | |
410 | Requires: tesseract >= 3.00 | |
411 | Provides: tesseract-data = %{version} | |
412 | ||
413 | %description lang-lv | |
414 | This package contains the data files required to recognize Latvian | |
415 | language. | |
416 | ||
417 | %description lang-lv -l pl.UTF-8 | |
418 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
419 | łotewskiego. | |
420 | ||
421 | %package lang-lt | |
422 | Summary: Lithuanian language data for Tesseract | |
423 | Summary(pl.UTF-8): Dane języka litewskiego dla Tesseracta | |
424 | Group: Applications/Graphics | |
425 | Requires: tesseract >= 3.00 | |
426 | Provides: tesseract-data = %{version} | |
427 | ||
428 | %description lang-lt | |
429 | This package contains the data files required to recognize Lithuanian | |
430 | language. | |
431 | ||
432 | %description lang-lt -l pl.UTF-8 | |
433 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
434 | litewskiego. | |
435 | ||
436 | %package lang-nl | |
437 | Summary: Dutch language data for Tesseract | |
438 | Summary(pl.UTF-8): Dane języka holenderskiego dla Tesseracta | |
439 | Group: Applications/Graphics | |
440 | Requires: tesseract >= 3.00 | |
441 | Provides: tesseract-data = %{version} | |
442 | Obsoletes: tesseract-nl | |
443 | ||
444 | %description lang-nl | |
445 | This package contains the data files required to recognize Dutch | |
446 | language. | |
447 | ||
448 | %description lang-nl -l pl.UTF-8 | |
449 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
450 | holenderskiego. | |
451 | ||
452 | %package lang-nb | |
453 | Summary: Norwegian language data for Tesseract | |
454 | Summary(pl.UTF-8): Dane języka norweskiego dla Tesseracta | |
455 | Group: Applications/Graphics | |
456 | Requires: tesseract >= 3.00 | |
457 | Provides: tesseract-data = %{version} | |
458 | ||
459 | %description lang-nb | |
460 | This package contains the data files required to recognize Norwegian | |
461 | language. | |
462 | ||
463 | %description lang-nb -l pl.UTF-8 | |
464 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
465 | norweskiego. | |
466 | ||
467 | %package lang-pl | |
468 | Summary: Polish language data for Tesseract | |
469 | Summary(pl.UTF-8): Dane języka polskiego dla Tesseracta | |
470 | Group: Applications/Graphics | |
471 | Requires: tesseract >= 3.00 | |
472 | Provides: tesseract-data = %{version} | |
473 | ||
474 | %description lang-pl | |
475 | This package contains the data files required to recognize Polish | |
476 | language. | |
477 | ||
478 | %description lang-pl -l pl.UTF-8 | |
479 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
480 | polskiego. | |
481 | ||
482 | %package lang-pt | |
483 | Summary: Portuguese language data for Tesseract | |
484 | Summary(pl.UTF-8): Dane języka portugalskiego dla Tesseracta | |
485 | Group: Applications/Graphics | |
486 | Requires: tesseract >= 3.00 | |
487 | Provides: tesseract-data = %{version} | |
488 | ||
489 | %description lang-pt | |
490 | This package contains the data files required to recognize Portuguese | |
491 | language. | |
492 | ||
493 | %description lang-pt -l pl.UTF-8 | |
494 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
495 | portugalskiego. | |
496 | ||
497 | %package lang-ro | |
498 | Summary: Romanian language data for Tesseract | |
499 | Summary(pl.UTF-8): Dane języka rumuńskiego dla Tesseracta | |
500 | Group: Applications/Graphics | |
501 | Requires: tesseract >= 3.00 | |
502 | Provides: tesseract-data = %{version} | |
503 | ||
504 | %description lang-ro | |
505 | This package contains the data files required to recognize Romanian | |
506 | language. | |
507 | ||
508 | %description lang-ro -l pl.UTF-8 | |
509 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
510 | rumuńskiego. | |
511 | ||
512 | %package lang-ru | |
513 | Summary: Russian language data for Tesseract | |
514 | Summary(pl.UTF-8): Dane języka rosyjskiego dla Tesseracta | |
515 | Group: Applications/Graphics | |
516 | Requires: tesseract >= 3.00 | |
517 | Provides: tesseract-data = %{version} | |
518 | ||
519 | %description lang-ru | |
520 | This package contains the data files required to recognize Russian | |
521 | language. | |
522 | ||
523 | %description lang-ru -l pl.UTF-8 | |
524 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
525 | rosyjskiego. | |
526 | ||
527 | %package lang-sk | |
528 | Summary: Slovakian language data for Tesseract | |
529 | Summary(pl.UTF-8): Dane języka słowackiego dla Tesseracta | |
530 | Group: Applications/Graphics | |
cf2907e7 | 531 | Requires: tesseract >= 3.01 |
ff5c39bb JB |
532 | Provides: tesseract-data = %{version} |
533 | ||
534 | %description lang-sk | |
535 | This package contains the data files required to recognize Slovakian | |
cf2907e7 | 536 | language (including Fraktur). |
ff5c39bb JB |
537 | |
538 | %description lang-sk -l pl.UTF-8 | |
539 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
cf2907e7 | 540 | słowackiego (także pisanego frakturą). |
ff5c39bb JB |
541 | |
542 | %package lang-sl | |
543 | Summary: Slovenian language data for Tesseract | |
544 | Summary(pl.UTF-8): Dane języka słoweńskiego dla Tesseracta | |
545 | Group: Applications/Graphics | |
546 | Requires: tesseract >= 3.00 | |
547 | Provides: tesseract-data = %{version} | |
548 | ||
549 | %description lang-sl | |
550 | This package contains the data files required to recognize Slovenian | |
551 | language. | |
552 | ||
553 | %description lang-sl -l pl.UTF-8 | |
554 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
555 | słoweńskiego. | |
556 | ||
557 | %package lang-es | |
558 | Summary: Spanish language data for Tesseract | |
559 | Summary(pl.UTF-8): Dane języka hiszpańskiego dla Tesseracta | |
560 | Group: Applications/Graphics | |
561 | Requires: tesseract >= 3.00 | |
562 | Provides: tesseract-data = %{version} | |
563 | Obsoletes: tesseract-spa | |
564 | ||
565 | %description lang-es | |
566 | This package contains the data files required to recognize Spanish | |
567 | language. | |
568 | ||
569 | %description lang-es -l pl.UTF-8 | |
570 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
571 | hiszpańskiego. | |
572 | ||
573 | %package lang-sr | |
574 | Summary: Serbian language data for Tesseract | |
575 | Summary(pl.UTF-8): Dane języka serbskiego dla Tesseracta | |
576 | Group: Applications/Graphics | |
577 | Requires: tesseract >= 3.00 | |
578 | Provides: tesseract-data = %{version} | |
579 | ||
580 | %description lang-sr | |
581 | This package contains the data files required to recognize Serbian | |
582 | language. | |
583 | ||
584 | %description lang-sr -l pl.UTF-8 | |
585 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
586 | serbskiego. | |
587 | ||
588 | %package lang-sv | |
589 | Summary: Swedish language data for Tesseract | |
590 | Summary(pl.UTF-8): Dane języka szwedzkiego dla Tesseracta | |
591 | Group: Applications/Graphics | |
592 | Requires: tesseract >= 3.00 | |
593 | Provides: tesseract-data = %{version} | |
594 | ||
595 | %description lang-sv | |
596 | This package contains the data files required to recognize Swedish | |
597 | language (including Fraktur). | |
598 | ||
599 | %description lang-sv -l pl.UTF-8 | |
600 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
601 | szwedzkiego (także pisanego frakturą). | |
602 | ||
603 | %package lang-tl | |
604 | Summary: Tagalog language data for Tesseract | |
605 | Summary(pl.UTF-8): Dane języka tagalskiego dla Tesseracta | |
606 | Group: Applications/Graphics | |
607 | Requires: tesseract >= 3.00 | |
608 | Provides: tesseract-data = %{version} | |
609 | ||
610 | %description lang-tl | |
611 | This package contains the data files required to recognize Tagalog | |
612 | language. | |
613 | ||
614 | %description lang-tl -l pl.UTF-8 | |
615 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
616 | tagalskiego. | |
617 | ||
cf2907e7 JB |
618 | %package lang-th |
619 | Summary: Thai language data for Tesseract | |
620 | Summary(pl.UTF-8): Dane języka tajskiego dla Tesseracta | |
621 | Group: Applications/Graphics | |
622 | Requires: tesseract >= 3.01 | |
623 | Provides: tesseract-data = %{version} | |
624 | ||
625 | %description lang-th | |
626 | This package contains the data files required to recognize Thai | |
627 | language. | |
628 | ||
629 | %description lang-th -l pl.UTF-8 | |
630 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
631 | tajskiego. | |
632 | ||
ff5c39bb JB |
633 | %package lang-tr |
634 | Summary: Turkish language data for Tesseract | |
635 | Summary(pl.UTF-8): Dane języka tureckiego dla Tesseracta | |
636 | Group: Applications/Graphics | |
637 | Requires: tesseract >= 3.00 | |
638 | Provides: tesseract-data = %{version} | |
639 | ||
640 | %description lang-tr | |
641 | This package contains the data files required to recognize Turkish | |
642 | language. | |
643 | ||
644 | %description lang-tr -l pl.UTF-8 | |
645 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
646 | tureckiego. | |
647 | ||
648 | %package lang-uk | |
649 | Summary: Ukrainian language data for Tesseract | |
650 | Summary(pl.UTF-8): Dane języka ukraińskiego dla Tesseracta | |
651 | Group: Applications/Graphics | |
652 | Requires: tesseract >= 3.00 | |
653 | Provides: tesseract-data = %{version} | |
654 | ||
655 | %description lang-uk | |
656 | This package contains the data files required to recognize Ukrainian | |
657 | language. | |
658 | ||
659 | %description lang-uk -l pl.UTF-8 | |
660 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
661 | ukraińskiego. | |
662 | ||
663 | %package lang-vi | |
664 | Summary: Vietnamese language data for Tesseract | |
665 | Summary(pl.UTF-8): Dane języka wietnamskiego dla Tesseracta | |
666 | Group: Applications/Graphics | |
667 | Requires: tesseract >= 3.00 | |
668 | Provides: tesseract-data = %{version} | |
669 | ||
670 | %description lang-vi | |
671 | This package contains the data files required to recognize Vietnamese | |
672 | language. | |
673 | ||
674 | %description lang-vi -l pl.UTF-8 | |
675 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
676 | wietnamskiego. | |
677 | ||
678 | %prep | |
cf2907e7 | 679 | %setup -q -c -T -a1 -a2 -a3 -a4 -a5 -a6 |
ff5c39bb JB |
680 | |
681 | %install | |
682 | rm -rf $RPM_BUILD_ROOT | |
683 | install -d $RPM_BUILD_ROOT%{_datadir}/tessdata | |
684 | ||
cf2907e7 JB |
685 | # sources 1-6 |
686 | for l in \ | |
687 | ara eng hin osd slk-frak tha ; do | |
688 | cp -p tesseract-ocr/tessdata/${l}.* $RPM_BUILD_ROOT%{_datadir}/tessdata | |
689 | done | |
690 | ||
691 | # sources 11+ | |
ff5c39bb | 692 | for l in \ |
cf2907e7 | 693 | bul cat ces chi_sim chi_tra chr dan dan-frak deu deu-frak ell fin \ |
3f7f003d JB |
694 | fra hun ind ita jpn kor lav lit nld nor pol por ron rus slk slv spa \ |
695 | srp swe swe-frak tgl tur ukr vie ; do | |
ff5c39bb JB |
696 | gzip -dc $RPM_SOURCE_DIR/${l}.traineddata.gz > $RPM_BUILD_ROOT%{_datadir}/tessdata/${l}.traineddata |
697 | done | |
698 | ||
699 | %clean | |
700 | rm -rf $RPM_BUILD_ROOT | |
701 | ||
cf2907e7 JB |
702 | %files osd |
703 | %defattr(644,root,root,755) | |
704 | %{_datadir}/tessdata/osd.traineddata | |
705 | ||
706 | %files lang-ar | |
707 | %defattr(644,root,root,755) | |
708 | %{_datadir}/tessdata/ara.cube.* | |
709 | %{_datadir}/tessdata/ara.traineddata | |
710 | ||
ff5c39bb JB |
711 | %files lang-bg |
712 | %defattr(644,root,root,755) | |
713 | %{_datadir}/tessdata/bul.traineddata | |
714 | ||
715 | %files lang-ca | |
716 | %defattr(644,root,root,755) | |
717 | %{_datadir}/tessdata/cat.traineddata | |
718 | ||
719 | %files lang-cs | |
720 | %defattr(644,root,root,755) | |
721 | %{_datadir}/tessdata/ces.traineddata | |
722 | ||
723 | %files lang-zh_CN | |
724 | %defattr(644,root,root,755) | |
725 | %{_datadir}/tessdata/chi_sim.traineddata | |
726 | ||
727 | %files lang-zh_TW | |
728 | %defattr(644,root,root,755) | |
729 | %{_datadir}/tessdata/chi_tra.traineddata | |
730 | ||
3f7f003d JB |
731 | %files lang-chr |
732 | %defattr(644,root,root,755) | |
733 | %{_datadir}/tessdata/chr.traineddata | |
734 | ||
ff5c39bb JB |
735 | %files lang-da |
736 | %defattr(644,root,root,755) | |
737 | %{_datadir}/tessdata/dan.traineddata | |
738 | %{_datadir}/tessdata/dan-frak.traineddata | |
739 | ||
740 | %files lang-de | |
741 | %defattr(644,root,root,755) | |
742 | %{_datadir}/tessdata/deu.traineddata | |
743 | %{_datadir}/tessdata/deu-frak.traineddata | |
744 | ||
745 | %files lang-el | |
746 | %defattr(644,root,root,755) | |
747 | %{_datadir}/tessdata/ell.traineddata | |
748 | ||
749 | %files lang-en | |
750 | %defattr(644,root,root,755) | |
cf2907e7 JB |
751 | %{_datadir}/tessdata/eng.cube.* |
752 | %{_datadir}/tessdata/eng.tesseract_cube.nn | |
ff5c39bb JB |
753 | %{_datadir}/tessdata/eng.traineddata |
754 | ||
755 | %files lang-fi | |
756 | %defattr(644,root,root,755) | |
757 | %{_datadir}/tessdata/fin.traineddata | |
758 | ||
759 | %files lang-fr | |
760 | %defattr(644,root,root,755) | |
761 | %{_datadir}/tessdata/fra.traineddata | |
762 | ||
cf2907e7 JB |
763 | %files lang-hi |
764 | %defattr(644,root,root,755) | |
765 | %{_datadir}/tessdata/hin.cube.* | |
766 | %{_datadir}/tessdata/hin.tesseract_cube.nn | |
767 | %{_datadir}/tessdata/hin.traineddata | |
768 | ||
ff5c39bb JB |
769 | %files lang-hu |
770 | %defattr(644,root,root,755) | |
771 | %{_datadir}/tessdata/hun.traineddata | |
772 | ||
773 | %files lang-id | |
774 | %defattr(644,root,root,755) | |
775 | %{_datadir}/tessdata/ind.traineddata | |
776 | ||
777 | %files lang-it | |
778 | %defattr(644,root,root,755) | |
779 | %{_datadir}/tessdata/ita.traineddata | |
780 | ||
781 | %files lang-ja | |
782 | %defattr(644,root,root,755) | |
783 | %{_datadir}/tessdata/jpn.traineddata | |
784 | ||
785 | %files lang-ko | |
786 | %defattr(644,root,root,755) | |
787 | %{_datadir}/tessdata/kor.traineddata | |
788 | ||
789 | %files lang-lv | |
790 | %defattr(644,root,root,755) | |
791 | %{_datadir}/tessdata/lav.traineddata | |
792 | ||
793 | %files lang-lt | |
794 | %defattr(644,root,root,755) | |
795 | %{_datadir}/tessdata/lit.traineddata | |
796 | ||
797 | %files lang-nl | |
798 | %defattr(644,root,root,755) | |
799 | %{_datadir}/tessdata/nld.traineddata | |
800 | ||
801 | %files lang-nb | |
802 | %defattr(644,root,root,755) | |
803 | %{_datadir}/tessdata/nor.traineddata | |
804 | ||
805 | %files lang-pl | |
806 | %defattr(644,root,root,755) | |
807 | %{_datadir}/tessdata/pol.traineddata | |
808 | ||
809 | %files lang-pt | |
810 | %defattr(644,root,root,755) | |
811 | %{_datadir}/tessdata/por.traineddata | |
812 | ||
813 | %files lang-ro | |
814 | %defattr(644,root,root,755) | |
815 | %{_datadir}/tessdata/ron.traineddata | |
816 | ||
817 | %files lang-ru | |
818 | %defattr(644,root,root,755) | |
819 | %{_datadir}/tessdata/rus.traineddata | |
820 | ||
821 | %files lang-sk | |
822 | %defattr(644,root,root,755) | |
823 | %{_datadir}/tessdata/slk.traineddata | |
cf2907e7 | 824 | %{_datadir}/tessdata/slk-frak.traineddata |
ff5c39bb JB |
825 | |
826 | %files lang-sl | |
827 | %defattr(644,root,root,755) | |
828 | %{_datadir}/tessdata/slv.traineddata | |
829 | ||
830 | %files lang-es | |
831 | %defattr(644,root,root,755) | |
832 | %{_datadir}/tessdata/spa.traineddata | |
833 | ||
834 | %files lang-sr | |
835 | %defattr(644,root,root,755) | |
836 | %{_datadir}/tessdata/srp.traineddata | |
837 | ||
838 | %files lang-sv | |
839 | %defattr(644,root,root,755) | |
840 | %{_datadir}/tessdata/swe.traineddata | |
841 | %{_datadir}/tessdata/swe-frak.traineddata | |
842 | ||
843 | %files lang-tl | |
844 | %defattr(644,root,root,755) | |
845 | %{_datadir}/tessdata/tgl.traineddata | |
846 | ||
cf2907e7 JB |
847 | %files lang-th |
848 | %defattr(644,root,root,755) | |
849 | %{_datadir}/tessdata/tha.traineddata | |
850 | ||
ff5c39bb JB |
851 | %files lang-tr |
852 | %defattr(644,root,root,755) | |
853 | %{_datadir}/tessdata/tur.traineddata | |
854 | ||
855 | %files lang-uk | |
856 | %defattr(644,root,root,755) | |
857 | %{_datadir}/tessdata/ukr.traineddata | |
858 | ||
859 | %files lang-vi | |
860 | %defattr(644,root,root,755) | |
861 | %{_datadir}/tessdata/vie.traineddata |