]>
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 |
92eb671a | 5 | Release: 2 |
ff5c39bb JB |
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} | |
92eb671a | 122 | Obsoletes: tesseract-lang-ar |
cf2907e7 JB |
123 | |
124 | %description lang-ar | |
125 | This package contains the data files required to recognize Arabic | |
126 | language. | |
127 | ||
128 | %description lang-ar -l pl.UTF-8 | |
129 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
130 | arabskiego. | |
131 | ||
ff5c39bb JB |
132 | %package lang-bg |
133 | Summary: Bulgarian language data for Tesseract | |
134 | Summary(pl.UTF-8): Dane języka bułgarskiego dla Tesseracta | |
135 | Group: Applications/Graphics | |
136 | Requires: tesseract >= 3.00 | |
137 | Provides: tesseract-data = %{version} | |
138 | Obsoletes: tesseract-deu | |
92eb671a | 139 | Obsoletes: tesseract-lang-bg |
ff5c39bb JB |
140 | |
141 | %description lang-bg | |
142 | This package contains the data files required to recognize Bulgarian | |
143 | language. | |
144 | ||
145 | %description lang-bg -l pl.UTF-8 | |
146 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
147 | bułgarskiego. | |
148 | ||
149 | %package lang-ca | |
150 | Summary: Catalan language data for Tesseract | |
151 | Summary(pl.UTF-8): Dane języka katalońskiego dla Tesseracta | |
152 | Group: Applications/Graphics | |
153 | Requires: tesseract >= 3.00 | |
154 | Provides: tesseract-data = %{version} | |
92eb671a | 155 | Obsoletes: tesseract-lang-ca |
ff5c39bb JB |
156 | |
157 | %description lang-ca | |
158 | This package contains the data files required to recognize Catalan | |
159 | language. | |
160 | ||
161 | %description lang-ca -l pl.UTF-8 | |
162 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
163 | katalońskiego. | |
164 | ||
165 | %package lang-cs | |
166 | Summary: Czech language data for Tesseract | |
167 | Summary(pl.UTF-8): Dane języka czeskiego dla Tesseracta | |
168 | Group: Applications/Graphics | |
169 | Requires: tesseract >= 3.00 | |
170 | Provides: tesseract-data = %{version} | |
92eb671a | 171 | Obsoletes: tesseract-lang-cs |
ff5c39bb JB |
172 | |
173 | %description lang-cs | |
174 | This package contains the data files required to recognize Czech | |
175 | language. | |
176 | ||
177 | %description lang-cs -l pl.UTF-8 | |
178 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
179 | czeskiego. | |
180 | ||
181 | %package lang-zh_CN | |
182 | Summary: Chinese Simplified language data for Tesseract | |
183 | Summary(pl.UTF-8): Dane języka chińskiego uproszczonego dla Tesseracta | |
184 | Group: Applications/Graphics | |
185 | Requires: tesseract >= 3.00 | |
186 | Provides: tesseract-data = %{version} | |
92eb671a | 187 | Obsoletes: tesseract-lang-zh_CN |
ff5c39bb JB |
188 | |
189 | %description lang-zh_CN | |
190 | This package contains the data files required to recognize Chinese | |
191 | Simplified language. | |
192 | ||
193 | %description lang-zh_CN -l pl.UTF-8 | |
194 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
195 | chińskiego uproszczonego. | |
196 | ||
197 | %package lang-zh_TW | |
198 | Summary: Chinese Traditional language data for Tesseract | |
199 | Summary(pl.UTF-8): Dane języka chińskiego tradycyjnego dla Tesseracta | |
200 | Group: Applications/Graphics | |
201 | Requires: tesseract >= 3.00 | |
202 | Provides: tesseract-data = %{version} | |
92eb671a | 203 | Obsoletes: tesseract-lang-zh_TW |
ff5c39bb JB |
204 | |
205 | %description lang-zh_TW | |
206 | This package contains the data files required to recognize Chinese | |
207 | Traditional language. | |
208 | ||
209 | %description lang-zh_TW -l pl.UTF-8 | |
210 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
211 | chińskiego tradycyjnego. | |
212 | ||
3f7f003d JB |
213 | %package lang-chr |
214 | Summary: Cherokee language data for Tesseract | |
215 | Summary(pl.UTF-8): Dane języka czerokeskiego dla Tesseracta | |
216 | Group: Applications/Graphics | |
217 | Requires: tesseract >= 3.00 | |
218 | Provides: tesseract-data = %{version} | |
92eb671a | 219 | Obsoletes: tesseract-lang-chr |
3f7f003d JB |
220 | |
221 | %description lang-chr | |
222 | This package contains the data files required to recognize Cherokee | |
223 | language. | |
224 | ||
225 | %description lang-chr -l pl.UTF-8 | |
226 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
227 | czerokeskiego. | |
228 | ||
ff5c39bb JB |
229 | %package lang-da |
230 | Summary: Danish language data for Tesseract | |
231 | Summary(pl.UTF-8): Dane języka duńskiego dla Tesseracta | |
232 | Group: Applications/Graphics | |
233 | Requires: tesseract >= 3.00 | |
234 | Provides: tesseract-data = %{version} | |
92eb671a | 235 | Obsoletes: tesseract-lang-da |
ff5c39bb JB |
236 | |
237 | %description lang-da | |
238 | This package contains the data files required to recognize Danish | |
239 | language (including Fraktur). | |
240 | ||
241 | %description lang-da -l pl.UTF-8 | |
242 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
243 | duńskiego (także pisanego frakturą). | |
244 | ||
245 | %package lang-de | |
246 | Summary: German language data for Tesseract | |
247 | Summary(pl.UTF-8): Dane języka niemieckiego dla Tesseracta | |
248 | Group: Applications/Graphics | |
249 | Requires: tesseract >= 3.00 | |
250 | Provides: tesseract-data = %{version} | |
251 | Obsoletes: tesseract-deu | |
92eb671a | 252 | Obsoletes: tesseract-lang-de |
ff5c39bb JB |
253 | |
254 | %description lang-de | |
255 | This package contains the data files required to recognize German | |
256 | language (including Fraktur). | |
257 | ||
258 | %description lang-de -l pl.UTF-8 | |
259 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
260 | niemieckiego (także pisanego frakturą). | |
261 | ||
262 | %package lang-el | |
263 | Summary: Greek language data for Tesseract | |
264 | Summary(pl.UTF-8): Dane języka greckiego dla Tesseracta | |
265 | Group: Applications/Graphics | |
266 | Requires: tesseract >= 3.00 | |
267 | Provides: tesseract-data = %{version} | |
92eb671a | 268 | Obsoletes: tesseract-lang-el |
ff5c39bb JB |
269 | |
270 | %description lang-el | |
271 | This package contains the data files required to recognize Greek | |
272 | language. | |
273 | ||
274 | %description lang-el -l pl.UTF-8 | |
275 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
276 | greckiego. | |
277 | ||
278 | %package lang-en | |
279 | Summary: English language data for Tesseract | |
280 | Summary(pl.UTF-8): Dane języka angielskiego dla Tesseracta | |
281 | Group: Applications/Graphics | |
cf2907e7 | 282 | Requires: tesseract >= 3.01 |
ff5c39bb JB |
283 | Provides: tesseract-data = %{version} |
284 | Obsoletes: tesseract-eng | |
92eb671a | 285 | Obsoletes: tesseract-lang-en |
ff5c39bb JB |
286 | |
287 | %description lang-en | |
288 | This package contains the data files required to recognize English | |
289 | language. | |
290 | ||
291 | %description lang-en -l pl.UTF-8 | |
292 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
293 | angielskiego. | |
294 | ||
295 | %package lang-fi | |
296 | Summary: Finnish language data for Tesseract | |
297 | Summary(pl.UTF-8): Dane języka fińskiego dla Tesseracta | |
298 | Group: Applications/Graphics | |
299 | Requires: tesseract >= 3.00 | |
300 | Provides: tesseract-data = %{version} | |
92eb671a | 301 | Obsoletes: tesseract-lang-fi |
ff5c39bb JB |
302 | |
303 | %description lang-fi | |
304 | This package contains the data files required to recognize Finnish | |
305 | language. | |
306 | ||
307 | %description lang-fi -l pl.UTF-8 | |
308 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
309 | fińskiego. | |
310 | ||
311 | %package lang-fr | |
312 | Summary: French language data for Tesseract | |
313 | Summary(pl.UTF-8): Dane języka francuskiego dla Tesseracta | |
314 | Group: Applications/Graphics | |
315 | Requires: tesseract >= 3.00 | |
316 | Provides: tesseract-data = %{version} | |
317 | Obsoletes: tesseract-fra | |
92eb671a | 318 | Obsoletes: tesseract-lang-fr |
ff5c39bb JB |
319 | |
320 | %description lang-fr | |
321 | This package contains the data files required to recognize French | |
322 | language. | |
323 | ||
324 | %description lang-fr -l pl.UTF-8 | |
325 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
326 | francuskiego. | |
327 | ||
cf2907e7 JB |
328 | %package lang-hi |
329 | Summary: Hindi language data for Tesseract | |
330 | Summary(pl.UTF-8): Dane języka hindi dla Tesseracta | |
331 | Group: Applications/Graphics | |
332 | Requires: tesseract >= 3.01 | |
333 | Provides: tesseract-data = %{version} | |
92eb671a | 334 | Obsoletes: tesseract-lang-hi |
cf2907e7 JB |
335 | |
336 | %description lang-hi | |
337 | This package contains the data files required to recognize Hindi | |
338 | language. | |
339 | ||
340 | %description lang-hi -l pl.UTF-8 | |
341 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
342 | hindi. | |
343 | ||
ff5c39bb JB |
344 | %package lang-hu |
345 | Summary: Hungarian language data for Tesseract | |
346 | Summary(pl.UTF-8): Dane języka węgierskiego dla Tesseracta | |
347 | Group: Applications/Graphics | |
348 | Requires: tesseract >= 3.00 | |
349 | Provides: tesseract-data = %{version} | |
92eb671a | 350 | Obsoletes: tesseract-lang-hu |
ff5c39bb JB |
351 | |
352 | %description lang-hu | |
353 | This package contains the data files required to recognize Hungarian | |
354 | language. | |
355 | ||
356 | %description lang-hu -l pl.UTF-8 | |
357 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
358 | węgierskiego. | |
359 | ||
360 | %package lang-id | |
361 | Summary: Indonesian language data for Tesseract | |
362 | Summary(pl.UTF-8): Dane języka indonezyjskiego dla Tesseracta | |
363 | Group: Applications/Graphics | |
364 | Requires: tesseract >= 3.00 | |
365 | Provides: tesseract-data = %{version} | |
92eb671a | 366 | Obsoletes: tesseract-lang-id |
ff5c39bb JB |
367 | |
368 | %description lang-id | |
369 | This package contains the data files required to recognize Indonesian | |
370 | language. | |
371 | ||
372 | %description lang-id -l pl.UTF-8 | |
373 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
374 | indonezyjskiego. | |
375 | ||
376 | %package lang-it | |
377 | Summary: Italian language data for Tesseract | |
378 | Summary(pl.UTF-8): Dane języka włoskiego dla Tesseracta | |
379 | Group: Applications/Graphics | |
380 | Requires: tesseract >= 3.00 | |
381 | Provides: tesseract-data = %{version} | |
382 | Obsoletes: tesseract-ita | |
92eb671a | 383 | Obsoletes: tesseract-lang-it |
ff5c39bb JB |
384 | |
385 | %description lang-it | |
386 | This package contains the data files required to recognize Italian | |
387 | language. | |
388 | ||
389 | %description lang-it -l pl.UTF-8 | |
390 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
391 | włoskiego. | |
392 | ||
393 | %package lang-ja | |
394 | Summary: Japanese language data for Tesseract | |
395 | Summary(pl.UTF-8): Dane języka japońskiego dla Tesseracta | |
396 | Group: Applications/Graphics | |
397 | Requires: tesseract >= 3.00 | |
398 | Provides: tesseract-data = %{version} | |
92eb671a | 399 | Obsoletes: tesseract-lang-ja |
ff5c39bb JB |
400 | |
401 | %description lang-ja | |
402 | This package contains the data files required to recognize Japanese | |
403 | language. | |
404 | ||
405 | %description lang-ja -l pl.UTF-8 | |
406 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
407 | japońskiego. | |
408 | ||
409 | %package lang-ko | |
410 | Summary: Korean language data for Tesseract | |
411 | Summary(pl.UTF-8): Dane języka koreańskiego dla Tesseracta | |
412 | Group: Applications/Graphics | |
413 | Requires: tesseract >= 3.00 | |
414 | Provides: tesseract-data = %{version} | |
92eb671a | 415 | Obsoletes: tesseract-lang-ko |
ff5c39bb JB |
416 | |
417 | %description lang-ko | |
418 | This package contains the data files required to recognize Korean | |
419 | language. | |
420 | ||
421 | %description lang-ko -l pl.UTF-8 | |
422 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
423 | koreańskiego. | |
424 | ||
425 | %package lang-lv | |
426 | Summary: Latvian language data for Tesseract | |
427 | Summary(pl.UTF-8): Dane języka łotewskiego dla Tesseracta | |
428 | Group: Applications/Graphics | |
429 | Requires: tesseract >= 3.00 | |
430 | Provides: tesseract-data = %{version} | |
92eb671a | 431 | Obsoletes: tesseract-lang-lv |
ff5c39bb JB |
432 | |
433 | %description lang-lv | |
434 | This package contains the data files required to recognize Latvian | |
435 | language. | |
436 | ||
437 | %description lang-lv -l pl.UTF-8 | |
438 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
439 | łotewskiego. | |
440 | ||
441 | %package lang-lt | |
442 | Summary: Lithuanian language data for Tesseract | |
443 | Summary(pl.UTF-8): Dane języka litewskiego dla Tesseracta | |
444 | Group: Applications/Graphics | |
445 | Requires: tesseract >= 3.00 | |
446 | Provides: tesseract-data = %{version} | |
92eb671a | 447 | Obsoletes: tesseract-lang-lt |
ff5c39bb JB |
448 | |
449 | %description lang-lt | |
450 | This package contains the data files required to recognize Lithuanian | |
451 | language. | |
452 | ||
453 | %description lang-lt -l pl.UTF-8 | |
454 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
455 | litewskiego. | |
456 | ||
457 | %package lang-nl | |
458 | Summary: Dutch language data for Tesseract | |
459 | Summary(pl.UTF-8): Dane języka holenderskiego dla Tesseracta | |
460 | Group: Applications/Graphics | |
461 | Requires: tesseract >= 3.00 | |
462 | Provides: tesseract-data = %{version} | |
463 | Obsoletes: tesseract-nl | |
92eb671a | 464 | Obsoletes: tesseract-lang-nl |
ff5c39bb JB |
465 | |
466 | %description lang-nl | |
467 | This package contains the data files required to recognize Dutch | |
468 | language. | |
469 | ||
470 | %description lang-nl -l pl.UTF-8 | |
471 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
472 | holenderskiego. | |
473 | ||
474 | %package lang-nb | |
475 | Summary: Norwegian language data for Tesseract | |
476 | Summary(pl.UTF-8): Dane języka norweskiego dla Tesseracta | |
477 | Group: Applications/Graphics | |
478 | Requires: tesseract >= 3.00 | |
479 | Provides: tesseract-data = %{version} | |
92eb671a | 480 | Obsoletes: tesseract-lang-nb |
ff5c39bb JB |
481 | |
482 | %description lang-nb | |
483 | This package contains the data files required to recognize Norwegian | |
484 | language. | |
485 | ||
486 | %description lang-nb -l pl.UTF-8 | |
487 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
488 | norweskiego. | |
489 | ||
490 | %package lang-pl | |
491 | Summary: Polish language data for Tesseract | |
492 | Summary(pl.UTF-8): Dane języka polskiego dla Tesseracta | |
493 | Group: Applications/Graphics | |
494 | Requires: tesseract >= 3.00 | |
495 | Provides: tesseract-data = %{version} | |
92eb671a | 496 | Obsoletes: tesseract-lang-pl |
ff5c39bb JB |
497 | |
498 | %description lang-pl | |
499 | This package contains the data files required to recognize Polish | |
500 | language. | |
501 | ||
502 | %description lang-pl -l pl.UTF-8 | |
503 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
504 | polskiego. | |
505 | ||
506 | %package lang-pt | |
507 | Summary: Portuguese language data for Tesseract | |
508 | Summary(pl.UTF-8): Dane języka portugalskiego dla Tesseracta | |
509 | Group: Applications/Graphics | |
510 | Requires: tesseract >= 3.00 | |
511 | Provides: tesseract-data = %{version} | |
92eb671a | 512 | Obsoletes: tesseract-lang-pt |
ff5c39bb JB |
513 | |
514 | %description lang-pt | |
515 | This package contains the data files required to recognize Portuguese | |
516 | language. | |
517 | ||
518 | %description lang-pt -l pl.UTF-8 | |
519 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
520 | portugalskiego. | |
521 | ||
522 | %package lang-ro | |
523 | Summary: Romanian language data for Tesseract | |
524 | Summary(pl.UTF-8): Dane języka rumuńskiego dla Tesseracta | |
525 | Group: Applications/Graphics | |
526 | Requires: tesseract >= 3.00 | |
527 | Provides: tesseract-data = %{version} | |
92eb671a | 528 | Obsoletes: tesseract-lang-ro |
ff5c39bb JB |
529 | |
530 | %description lang-ro | |
531 | This package contains the data files required to recognize Romanian | |
532 | language. | |
533 | ||
534 | %description lang-ro -l pl.UTF-8 | |
535 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
536 | rumuńskiego. | |
537 | ||
538 | %package lang-ru | |
539 | Summary: Russian language data for Tesseract | |
540 | Summary(pl.UTF-8): Dane języka rosyjskiego dla Tesseracta | |
541 | Group: Applications/Graphics | |
542 | Requires: tesseract >= 3.00 | |
543 | Provides: tesseract-data = %{version} | |
92eb671a | 544 | Obsoletes: tesseract-lang-ru |
ff5c39bb JB |
545 | |
546 | %description lang-ru | |
547 | This package contains the data files required to recognize Russian | |
548 | language. | |
549 | ||
550 | %description lang-ru -l pl.UTF-8 | |
551 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
552 | rosyjskiego. | |
553 | ||
554 | %package lang-sk | |
555 | Summary: Slovakian language data for Tesseract | |
556 | Summary(pl.UTF-8): Dane języka słowackiego dla Tesseracta | |
557 | Group: Applications/Graphics | |
cf2907e7 | 558 | Requires: tesseract >= 3.01 |
ff5c39bb | 559 | Provides: tesseract-data = %{version} |
92eb671a | 560 | Obsoletes: tesseract-lang-sk |
ff5c39bb JB |
561 | |
562 | %description lang-sk | |
563 | This package contains the data files required to recognize Slovakian | |
cf2907e7 | 564 | language (including Fraktur). |
ff5c39bb JB |
565 | |
566 | %description lang-sk -l pl.UTF-8 | |
567 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
cf2907e7 | 568 | słowackiego (także pisanego frakturą). |
ff5c39bb JB |
569 | |
570 | %package lang-sl | |
571 | Summary: Slovenian language data for Tesseract | |
572 | Summary(pl.UTF-8): Dane języka słoweńskiego dla Tesseracta | |
573 | Group: Applications/Graphics | |
574 | Requires: tesseract >= 3.00 | |
575 | Provides: tesseract-data = %{version} | |
92eb671a | 576 | Obsoletes: tesseract-lang-sl |
ff5c39bb JB |
577 | |
578 | %description lang-sl | |
579 | This package contains the data files required to recognize Slovenian | |
580 | language. | |
581 | ||
582 | %description lang-sl -l pl.UTF-8 | |
583 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
584 | słoweńskiego. | |
585 | ||
586 | %package lang-es | |
587 | Summary: Spanish language data for Tesseract | |
588 | Summary(pl.UTF-8): Dane języka hiszpańskiego dla Tesseracta | |
589 | Group: Applications/Graphics | |
590 | Requires: tesseract >= 3.00 | |
591 | Provides: tesseract-data = %{version} | |
592 | Obsoletes: tesseract-spa | |
92eb671a | 593 | Obsoletes: tesseract-lang-es |
ff5c39bb JB |
594 | |
595 | %description lang-es | |
596 | This package contains the data files required to recognize Spanish | |
597 | language. | |
598 | ||
599 | %description lang-es -l pl.UTF-8 | |
600 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
601 | hiszpańskiego. | |
602 | ||
603 | %package lang-sr | |
604 | Summary: Serbian language data for Tesseract | |
605 | Summary(pl.UTF-8): Dane języka serbskiego dla Tesseracta | |
606 | Group: Applications/Graphics | |
607 | Requires: tesseract >= 3.00 | |
608 | Provides: tesseract-data = %{version} | |
92eb671a | 609 | Obsoletes: tesseract-lang-sr |
ff5c39bb JB |
610 | |
611 | %description lang-sr | |
612 | This package contains the data files required to recognize Serbian | |
613 | language. | |
614 | ||
615 | %description lang-sr -l pl.UTF-8 | |
616 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
617 | serbskiego. | |
618 | ||
619 | %package lang-sv | |
620 | Summary: Swedish language data for Tesseract | |
621 | Summary(pl.UTF-8): Dane języka szwedzkiego dla Tesseracta | |
622 | Group: Applications/Graphics | |
623 | Requires: tesseract >= 3.00 | |
624 | Provides: tesseract-data = %{version} | |
92eb671a | 625 | Obsoletes: tesseract-lang-sv |
ff5c39bb JB |
626 | |
627 | %description lang-sv | |
628 | This package contains the data files required to recognize Swedish | |
629 | language (including Fraktur). | |
630 | ||
631 | %description lang-sv -l pl.UTF-8 | |
632 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
633 | szwedzkiego (także pisanego frakturą). | |
634 | ||
635 | %package lang-tl | |
636 | Summary: Tagalog language data for Tesseract | |
637 | Summary(pl.UTF-8): Dane języka tagalskiego dla Tesseracta | |
638 | Group: Applications/Graphics | |
639 | Requires: tesseract >= 3.00 | |
640 | Provides: tesseract-data = %{version} | |
92eb671a | 641 | Obsoletes: tesseract-lang-tl |
ff5c39bb JB |
642 | |
643 | %description lang-tl | |
644 | This package contains the data files required to recognize Tagalog | |
645 | language. | |
646 | ||
647 | %description lang-tl -l pl.UTF-8 | |
648 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
649 | tagalskiego. | |
650 | ||
cf2907e7 JB |
651 | %package lang-th |
652 | Summary: Thai language data for Tesseract | |
653 | Summary(pl.UTF-8): Dane języka tajskiego dla Tesseracta | |
654 | Group: Applications/Graphics | |
655 | Requires: tesseract >= 3.01 | |
656 | Provides: tesseract-data = %{version} | |
92eb671a | 657 | Obsoletes: tesseract-lang-th |
cf2907e7 JB |
658 | |
659 | %description lang-th | |
660 | This package contains the data files required to recognize Thai | |
661 | language. | |
662 | ||
663 | %description lang-th -l pl.UTF-8 | |
664 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
665 | tajskiego. | |
666 | ||
ff5c39bb JB |
667 | %package lang-tr |
668 | Summary: Turkish language data for Tesseract | |
669 | Summary(pl.UTF-8): Dane języka tureckiego dla Tesseracta | |
670 | Group: Applications/Graphics | |
671 | Requires: tesseract >= 3.00 | |
672 | Provides: tesseract-data = %{version} | |
92eb671a | 673 | Obsoletes: tesseract-lang-tr |
ff5c39bb JB |
674 | |
675 | %description lang-tr | |
676 | This package contains the data files required to recognize Turkish | |
677 | language. | |
678 | ||
679 | %description lang-tr -l pl.UTF-8 | |
680 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
681 | tureckiego. | |
682 | ||
683 | %package lang-uk | |
684 | Summary: Ukrainian language data for Tesseract | |
685 | Summary(pl.UTF-8): Dane języka ukraińskiego dla Tesseracta | |
686 | Group: Applications/Graphics | |
687 | Requires: tesseract >= 3.00 | |
688 | Provides: tesseract-data = %{version} | |
92eb671a | 689 | Obsoletes: tesseract-lang-uk |
ff5c39bb JB |
690 | |
691 | %description lang-uk | |
692 | This package contains the data files required to recognize Ukrainian | |
693 | language. | |
694 | ||
695 | %description lang-uk -l pl.UTF-8 | |
696 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
697 | ukraińskiego. | |
698 | ||
699 | %package lang-vi | |
700 | Summary: Vietnamese language data for Tesseract | |
701 | Summary(pl.UTF-8): Dane języka wietnamskiego dla Tesseracta | |
702 | Group: Applications/Graphics | |
703 | Requires: tesseract >= 3.00 | |
704 | Provides: tesseract-data = %{version} | |
92eb671a | 705 | Obsoletes: tesseract-lang-vi |
ff5c39bb JB |
706 | |
707 | %description lang-vi | |
708 | This package contains the data files required to recognize Vietnamese | |
709 | language. | |
710 | ||
711 | %description lang-vi -l pl.UTF-8 | |
712 | Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka | |
713 | wietnamskiego. | |
714 | ||
715 | %prep | |
cf2907e7 | 716 | %setup -q -c -T -a1 -a2 -a3 -a4 -a5 -a6 |
ff5c39bb JB |
717 | |
718 | %install | |
719 | rm -rf $RPM_BUILD_ROOT | |
720 | install -d $RPM_BUILD_ROOT%{_datadir}/tessdata | |
721 | ||
cf2907e7 JB |
722 | # sources 1-6 |
723 | for l in \ | |
724 | ara eng hin osd slk-frak tha ; do | |
725 | cp -p tesseract-ocr/tessdata/${l}.* $RPM_BUILD_ROOT%{_datadir}/tessdata | |
726 | done | |
727 | ||
728 | # sources 11+ | |
ff5c39bb | 729 | for l in \ |
cf2907e7 | 730 | bul cat ces chi_sim chi_tra chr dan dan-frak deu deu-frak ell fin \ |
3f7f003d JB |
731 | fra hun ind ita jpn kor lav lit nld nor pol por ron rus slk slv spa \ |
732 | srp swe swe-frak tgl tur ukr vie ; do | |
ff5c39bb JB |
733 | gzip -dc $RPM_SOURCE_DIR/${l}.traineddata.gz > $RPM_BUILD_ROOT%{_datadir}/tessdata/${l}.traineddata |
734 | done | |
735 | ||
736 | %clean | |
737 | rm -rf $RPM_BUILD_ROOT | |
738 | ||
cf2907e7 JB |
739 | %files osd |
740 | %defattr(644,root,root,755) | |
741 | %{_datadir}/tessdata/osd.traineddata | |
742 | ||
743 | %files lang-ar | |
744 | %defattr(644,root,root,755) | |
745 | %{_datadir}/tessdata/ara.cube.* | |
746 | %{_datadir}/tessdata/ara.traineddata | |
747 | ||
ff5c39bb JB |
748 | %files lang-bg |
749 | %defattr(644,root,root,755) | |
750 | %{_datadir}/tessdata/bul.traineddata | |
751 | ||
752 | %files lang-ca | |
753 | %defattr(644,root,root,755) | |
754 | %{_datadir}/tessdata/cat.traineddata | |
755 | ||
756 | %files lang-cs | |
757 | %defattr(644,root,root,755) | |
758 | %{_datadir}/tessdata/ces.traineddata | |
759 | ||
760 | %files lang-zh_CN | |
761 | %defattr(644,root,root,755) | |
762 | %{_datadir}/tessdata/chi_sim.traineddata | |
763 | ||
764 | %files lang-zh_TW | |
765 | %defattr(644,root,root,755) | |
766 | %{_datadir}/tessdata/chi_tra.traineddata | |
767 | ||
3f7f003d JB |
768 | %files lang-chr |
769 | %defattr(644,root,root,755) | |
770 | %{_datadir}/tessdata/chr.traineddata | |
771 | ||
ff5c39bb JB |
772 | %files lang-da |
773 | %defattr(644,root,root,755) | |
774 | %{_datadir}/tessdata/dan.traineddata | |
775 | %{_datadir}/tessdata/dan-frak.traineddata | |
776 | ||
777 | %files lang-de | |
778 | %defattr(644,root,root,755) | |
779 | %{_datadir}/tessdata/deu.traineddata | |
780 | %{_datadir}/tessdata/deu-frak.traineddata | |
781 | ||
782 | %files lang-el | |
783 | %defattr(644,root,root,755) | |
784 | %{_datadir}/tessdata/ell.traineddata | |
785 | ||
786 | %files lang-en | |
787 | %defattr(644,root,root,755) | |
cf2907e7 JB |
788 | %{_datadir}/tessdata/eng.cube.* |
789 | %{_datadir}/tessdata/eng.tesseract_cube.nn | |
ff5c39bb JB |
790 | %{_datadir}/tessdata/eng.traineddata |
791 | ||
792 | %files lang-fi | |
793 | %defattr(644,root,root,755) | |
794 | %{_datadir}/tessdata/fin.traineddata | |
795 | ||
796 | %files lang-fr | |
797 | %defattr(644,root,root,755) | |
798 | %{_datadir}/tessdata/fra.traineddata | |
799 | ||
cf2907e7 JB |
800 | %files lang-hi |
801 | %defattr(644,root,root,755) | |
802 | %{_datadir}/tessdata/hin.cube.* | |
803 | %{_datadir}/tessdata/hin.tesseract_cube.nn | |
804 | %{_datadir}/tessdata/hin.traineddata | |
805 | ||
ff5c39bb JB |
806 | %files lang-hu |
807 | %defattr(644,root,root,755) | |
808 | %{_datadir}/tessdata/hun.traineddata | |
809 | ||
810 | %files lang-id | |
811 | %defattr(644,root,root,755) | |
812 | %{_datadir}/tessdata/ind.traineddata | |
813 | ||
814 | %files lang-it | |
815 | %defattr(644,root,root,755) | |
816 | %{_datadir}/tessdata/ita.traineddata | |
817 | ||
818 | %files lang-ja | |
819 | %defattr(644,root,root,755) | |
820 | %{_datadir}/tessdata/jpn.traineddata | |
821 | ||
822 | %files lang-ko | |
823 | %defattr(644,root,root,755) | |
824 | %{_datadir}/tessdata/kor.traineddata | |
825 | ||
826 | %files lang-lv | |
827 | %defattr(644,root,root,755) | |
828 | %{_datadir}/tessdata/lav.traineddata | |
829 | ||
830 | %files lang-lt | |
831 | %defattr(644,root,root,755) | |
832 | %{_datadir}/tessdata/lit.traineddata | |
833 | ||
834 | %files lang-nl | |
835 | %defattr(644,root,root,755) | |
836 | %{_datadir}/tessdata/nld.traineddata | |
837 | ||
838 | %files lang-nb | |
839 | %defattr(644,root,root,755) | |
840 | %{_datadir}/tessdata/nor.traineddata | |
841 | ||
842 | %files lang-pl | |
843 | %defattr(644,root,root,755) | |
844 | %{_datadir}/tessdata/pol.traineddata | |
845 | ||
846 | %files lang-pt | |
847 | %defattr(644,root,root,755) | |
848 | %{_datadir}/tessdata/por.traineddata | |
849 | ||
850 | %files lang-ro | |
851 | %defattr(644,root,root,755) | |
852 | %{_datadir}/tessdata/ron.traineddata | |
853 | ||
854 | %files lang-ru | |
855 | %defattr(644,root,root,755) | |
856 | %{_datadir}/tessdata/rus.traineddata | |
857 | ||
858 | %files lang-sk | |
859 | %defattr(644,root,root,755) | |
860 | %{_datadir}/tessdata/slk.traineddata | |
cf2907e7 | 861 | %{_datadir}/tessdata/slk-frak.traineddata |
ff5c39bb JB |
862 | |
863 | %files lang-sl | |
864 | %defattr(644,root,root,755) | |
865 | %{_datadir}/tessdata/slv.traineddata | |
866 | ||
867 | %files lang-es | |
868 | %defattr(644,root,root,755) | |
869 | %{_datadir}/tessdata/spa.traineddata | |
870 | ||
871 | %files lang-sr | |
872 | %defattr(644,root,root,755) | |
873 | %{_datadir}/tessdata/srp.traineddata | |
874 | ||
875 | %files lang-sv | |
876 | %defattr(644,root,root,755) | |
877 | %{_datadir}/tessdata/swe.traineddata | |
878 | %{_datadir}/tessdata/swe-frak.traineddata | |
879 | ||
880 | %files lang-tl | |
881 | %defattr(644,root,root,755) | |
882 | %{_datadir}/tessdata/tgl.traineddata | |
883 | ||
cf2907e7 JB |
884 | %files lang-th |
885 | %defattr(644,root,root,755) | |
886 | %{_datadir}/tessdata/tha.traineddata | |
887 | ||
ff5c39bb JB |
888 | %files lang-tr |
889 | %defattr(644,root,root,755) | |
890 | %{_datadir}/tessdata/tur.traineddata | |
891 | ||
892 | %files lang-uk | |
893 | %defattr(644,root,root,755) | |
894 | %{_datadir}/tessdata/ukr.traineddata | |
895 | ||
896 | %files lang-vi | |
897 | %defattr(644,root,root,755) | |
898 | %{_datadir}/tessdata/vie.traineddata |