]> git.pld-linux.org Git - packages/tesseract.git/blob - tesseract.spec
- fix amd64 build; binary not tested
[packages/tesseract.git] / tesseract.spec
1 # NOTE
2 # - warnings at compile stage about pointer size on amd64
3 Summary:        Tesseract Open Source OCR Engine
4 Name:           tesseract
5 Version:        1.02
6 Release:        1
7 License:        Apache Software License v2
8 Group:          Applications/Graphics
9 Source0:        http://dl.sourceforge.net/tesseract-ocr/%{name}-%{version}.tar.gz
10 # Source0-md5:  473389c9f447b081ac199ba3a0e55b27
11 URL:            http://sourceforge.net/projects/tesseract-ocr
12 BuildRequires:  automake
13 BuildRequires:  libtiff-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 A commercial quality OCR engine originally developed at HP between
18 1985 and 1995. In 1995, this engine was among the top 3 evaluated by
19 UNLV. It was open-sourced by HP and UNLV in 2005.
20
21 %prep
22 %setup -q
23
24 %build
25 cp -f /usr/share/automake/config.sub config
26 %configure
27 %{__make}
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31
32 %{__make} install \
33         DESTDIR=$RPM_BUILD_ROOT
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc AUTHORS COPYING ChangeLog README
41 %attr(755,root,root) %{_bindir}/tesseract
This page took 0.045494 seconds and 4 git commands to generate.