]> git.pld-linux.org Git - packages/tesseract.git/blob - tesseract.spec
- added globals patch
[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 Summary(pl.UTF-8):      Tesseract - silnik OCR o otwartych źródłach
5 Name:           tesseract
6 Version:        1.03
7 Release:        2
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)
17
18 %description
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.
22
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.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31
32 %build
33 cp -f /usr/share/automake/config.sub config
34 %configure
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
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
This page took 0.067674 seconds and 4 git commands to generate.