2 # - warnings at compile stage about pointer size on amd64 - needs check
3 # - build dynamic library, not the static one
4 Summary: Tesseract Open Source OCR Engine
5 Summary(pl.UTF-8): Tesseract - silnik OCR o otwartych źródłach
9 License: Apache Software License v2
10 Group: Applications/Graphics
11 Source0: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.tar.gz
12 # Source0-md5: 6d68d940ed15c61300cb04019c30f46c
13 Source1: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.eng.tar.gz
14 # Source1-md5: b8291d6b3a63ce7879d688e845e341a9
15 Source2: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.fra.tar.gz
16 # Source2-md5: 64896b462e62572a3708bb461820126c
17 Source3: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.ita.tar.gz
18 # Source3-md5: 2759e1dae91a989a43490ff4c2253a4b
19 Source4: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.deu.tar.gz
20 # Source4-md5: 609d91b1ae3759a756b819b5d8403653
21 Source5: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.spa.tar.gz
22 # Source5-md5: bc26a777b2384613895677cb8e61ca75
23 Source6: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.nld.tar.gz
24 # Source6-md5: b2f6ede182cea4bbfffd3b040533ce58
25 URL: http://code.google.com/p/tesseract-ocr/
26 BuildRequires: automake
27 BuildRequires: libtiff-devel
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 A commercial quality OCR engine originally developed at HP between
32 1985 and 1995. In 1995, this engine was among the top 3 evaluated by
33 UNLV. It was open-sourced by HP and UNLV in 2005.
35 %description -l pl.UTF-8
36 Silnik OCR o komercyjnej jakości oryginalnie stworzony przez HP w
37 latach 1985-1995. W 1995 roku był jednym z 3 najlepszych wg UNLV.
38 Źródła zostały uwolnione przez HP i UNLV w 2005 roku.
41 Summary: German language data for Tesseract
42 Summary(pl.UTF-8): Dane języka niemieckiego dla Tesseracta
43 Group: Applications/Graphics
44 Requires: %{name} = %{version}-%{release}
45 Obsoletes: tesseract-deu
48 This package contains the data files required to recognize German
51 %description lang-de -l pl.UTF-8
52 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
56 Summary: English language data for Tesseract
57 Summary(pl.UTF-8): Dane języka angielskiego dla Tesseracta
58 Group: Applications/Graphics
59 Requires: %{name} = %{version}-%{release}
60 Obsoletes: tesseract-eng
63 This package contains the data files required to recognize English
66 %description lang-en -l pl.UTF-8
67 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
71 Summary: Spanish language data for Tesseract
72 Summary(pl.UTF-8): Dane języka hiszpańskiego dla Tesseracta
73 Group: Applications/Graphics
74 Requires: %{name} = %{version}-%{release}
75 Obsoletes: tesseract-spa
78 This package contains the data files required to recognize Spanish
81 %description lang-es -l pl.UTF-8
82 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
86 Summary: French language data for Tesseract
87 Summary(pl.UTF-8): Dane języka francuskiego dla Tesseracta
88 Group: Applications/Graphics
89 Requires: %{name} = %{version}-%{release}
90 Obsoletes: tesseract-fra
93 This package contains the data files required to recognize French
96 %description lang-fr -l pl.UTF-8
97 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
101 Summary: Italian language data for Tesseract
102 Summary(pl.UTF-8): Dane języka włoskiego dla Tesseracta
103 Group: Applications/Graphics
104 Requires: %{name} = %{version}-%{release}
105 Obsoletes: tesseract-ita
108 This package contains the data files required to recognize Italian
111 %description lang-it -l pl.UTF-8
112 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
116 Summary: Dutch language data for Tesseract
117 Summary(pl.UTF-8): Dane języka holenderskiego dla Tesseracta
118 Group: Applications/Graphics
119 Requires: %{name} = %{version}-%{release}
120 Obsoletes: tesseract-nl
123 This package contains the data files required to recognize Dutch
126 %description lang-nl -l pl.UTF-8
127 Ten pakiet zawiera pliki danych potrzebne do rozpoznawania języka
131 Summary: Tesseract - Development header files and libraries
132 Summary(pl.UTF-8): Tesseract - Pliki nagłówkowe i biblioteki dla programistów
133 Group: Development/Libraries
136 This package contains the development header files and libraries
137 necessary to develop applications using Tesseract.
149 cp -f /usr/share/automake/config.sub config
154 rm -rf $RPM_BUILD_ROOT
157 DESTDIR=$RPM_BUILD_ROOT
160 rm -rf $RPM_BUILD_ROOT
163 %defattr(644,root,root,755)
164 %doc AUTHORS COPYING ChangeLog README
165 %attr(755,root,root) %{_bindir}/cntraining
166 %attr(755,root,root) %{_bindir}/mftraining
167 %attr(755,root,root) %{_bindir}/tesseract
168 %attr(755,root,root) %{_bindir}/unicharset_extractor
169 %attr(755,root,root) %{_bindir}/wordlist2dawg
170 %dir %{_datadir}/tessdata
171 %{_datadir}/tessdata/confsets
172 %dir %{_datadir}/tessdata/configs
173 %{_datadir}/tessdata/configs/*
174 %dir %{_datadir}/tessdata/tessconfigs
175 %{_datadir}/tessdata/tessconfigs/*
178 %defattr(644,root,root,755)
179 %{_datadir}/tessdata/deu.*
182 %defattr(644,root,root,755)
183 %{_datadir}/tessdata/eng.*
186 %defattr(644,root,root,755)
187 %{_datadir}/tessdata/spa.*
190 %defattr(644,root,root,755)
191 %{_datadir}/tessdata/fra.*
194 %defattr(644,root,root,755)
195 %{_datadir}/tessdata/ita.*
198 %defattr(644,root,root,755)
199 %{_datadir}/tessdata/nld.*
202 %defattr(644,root,root,755)
203 %dir %{_includedir}/%{name}
204 %{_includedir}/%{name}/*.h