2 # - warnings at compile stage about pointer size on amd64
3 Summary: Tesseract Open Source OCR Engine
4 Summary(pl.UTF-8): Tesseract - silnik OCR o otwartych źródłach
8 License: Apache Software License v2
9 Group: Applications/Graphics
10 Source0: http://dl.sourceforge.net/tesseract-ocr/%{name}-%{version}.tar.gz
11 # Source0-md5: 8a191bff04b6f6bc908b3838bfc7f937
12 Patch0: %{name}-globals.patch
13 URL: http://sourceforge.net/projects/tesseract-ocr
14 BuildRequires: automake
15 BuildRequires: libtiff-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 A commercial quality OCR engine originally developed at HP between
20 1985 and 1995. In 1995, this engine was among the top 3 evaluated by
21 UNLV. It was open-sourced by HP and UNLV in 2005.
23 %description -l pl.UTF-8
24 Silnik OCR o komercyjnej jakości oryginalnie stworzony przez HP w
25 latach 1985-1995. W 1995 roku był jednym z 3 najlepszych wg UNLV.
26 Źródła zostały uwolnione przez HP i UNLV w 2005 roku.
33 cp -f /usr/share/automake/config.sub config
38 rm -rf $RPM_BUILD_ROOT
41 DESTDIR=$RPM_BUILD_ROOT
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %doc AUTHORS COPYING ChangeLog README
49 %attr(755,root,root) %{_bindir}/cntraining
50 %attr(755,root,root) %{_bindir}/mftraining
51 %attr(755,root,root) %{_bindir}/tesseract