]>
Commit | Line | Data |
---|---|---|
a7d2de0d ER |
1 | # NOTE |
2 | # - warnings at compile stage about pointer size on amd64 | |
3 | Summary: Tesseract Open Source OCR Engine | |
877b8a7e | 4 | Summary(pl.UTF-8): Tesseract - silnik OCR o otwartych źródłach |
afaac0e1 | 5 | Name: tesseract |
d5956ed3 | 6 | Version: 1.03 |
afaac0e1 | 7 | Release: 1 |
e22c6617 | 8 | License: Apache Software License v2 |
afaac0e1 ER |
9 | Group: Applications/Graphics |
10 | Source0: http://dl.sourceforge.net/tesseract-ocr/%{name}-%{version}.tar.gz | |
d5956ed3 | 11 | # Source0-md5: 8a191bff04b6f6bc908b3838bfc7f937 |
afaac0e1 | 12 | URL: http://sourceforge.net/projects/tesseract-ocr |
a7d2de0d | 13 | BuildRequires: automake |
afaac0e1 ER |
14 | BuildRequires: libtiff-devel |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | A commercial quality OCR engine originally developed at HP between | |
19 | 1985 and 1995. In 1995, this engine was among the top 3 evaluated by | |
20 | UNLV. It was open-sourced by HP and UNLV in 2005. | |
21 | ||
ac8a5dbe JR |
22 | %description -l pl.UTF-8 |
23 | Silnik OCR o komercyjnej jakości oryginalnie stworzony przez HP w | |
24 | latach 1985-1995. W 1995 roku był jednym z 3 najlepszych wg UNLV. | |
25 | Źródła zostały uwolnione przez HP i UNLV w 2005 roku. | |
a1b42a34 | 26 | |
afaac0e1 ER |
27 | %prep |
28 | %setup -q | |
29 | ||
30 | %build | |
a7d2de0d | 31 | cp -f /usr/share/automake/config.sub config |
afaac0e1 ER |
32 | %configure |
33 | %{__make} | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %{__make} install \ | |
39 | DESTDIR=$RPM_BUILD_ROOT | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc AUTHORS COPYING ChangeLog README | |
d5956ed3 JB |
47 | %attr(755,root,root) %{_bindir}/cntraining |
48 | %attr(755,root,root) %{_bindir}/mftraining | |
afaac0e1 | 49 | %attr(755,root,root) %{_bindir}/tesseract |