]> git.pld-linux.org Git - packages/tesseract.git/blame - tesseract.spec
- up to 2.00
[packages/tesseract.git] / tesseract.spec
CommitLineData
a7d2de0d
ER
1# NOTE
2# - warnings at compile stage about pointer size on amd64
520e1ed8 3# - what to do with all the headers and static libs? remove?
a7d2de0d 4Summary: Tesseract Open Source OCR Engine
877b8a7e 5Summary(pl.UTF-8): Tesseract - silnik OCR o otwartych źródłach
afaac0e1 6Name: tesseract
2da6320c
AZ
7Version: 2.00
8Release: 0.1
e22c6617 9License: Apache Software License v2
afaac0e1 10Group: Applications/Graphics
520e1ed8 11Source0: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.tar.gz
2da6320c
AZ
12# Source0-md5: 6d68d940ed15c61300cb04019c30f46c
13Source1: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.eng.tar.gz
14# Source1-md5: b8291d6b3a63ce7879d688e845e341a9
15Source2: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.fra.tar.gz
16# Source2-md5: 64896b462e62572a3708bb461820126c
17Source3: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.ita.tar.gz
18# Source3-md5: 2759e1dae91a989a43490ff4c2253a4b
19Source4: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.deu.tar.gz
20# Source4-md5: 609d91b1ae3759a756b819b5d8403653
21Source5: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.spa.tar.gz
22# Source5-md5: bc26a777b2384613895677cb8e61ca75
23Source6: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.nld.tar.gz
24# Source6-md5: b2f6ede182cea4bbfffd3b040533ce58
d2ad799f 25Patch0: %{name}-globals.patch
520e1ed8 26URL: http://code.google.com/p/tesseract-ocr/
a7d2de0d 27BuildRequires: automake
afaac0e1
ER
28BuildRequires: libtiff-devel
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32A commercial quality OCR engine originally developed at HP between
331985 and 1995. In 1995, this engine was among the top 3 evaluated by
34UNLV. It was open-sourced by HP and UNLV in 2005.
35
ac8a5dbe
JR
36%description -l pl.UTF-8
37Silnik OCR o komercyjnej jakości oryginalnie stworzony przez HP w
38latach 1985-1995. W 1995 roku był jednym z 3 najlepszych wg UNLV.
39Źródła zostały uwolnione przez HP i UNLV w 2005 roku.
a1b42a34 40
afaac0e1 41%prep
2da6320c
AZ
42%setup -q
43#%patch0 -p1
44tar zxf %{SOURCE1}
45tar xzf %{SOURCE2}
46tar xzf %{SOURCE3}
47tar xzf %{SOURCE4}
48tar xzf %{SOURCE5}
49tar xzf %{SOURCE6}
afaac0e1
ER
50
51%build
a7d2de0d 52cp -f /usr/share/automake/config.sub config
afaac0e1
ER
53%configure
54%{__make}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
67%doc AUTHORS COPYING ChangeLog README
d5956ed3
JB
68%attr(755,root,root) %{_bindir}/cntraining
69%attr(755,root,root) %{_bindir}/mftraining
afaac0e1 70%attr(755,root,root) %{_bindir}/tesseract
2da6320c
AZ
71%attr(755,root,root) %{_bindir}/unicharset_extractor
72%attr(755,root,root) %{_bindir}/wordlist2dawg
520e1ed8
PG
73%dir %{_datadir}/tessdata
74%{_datadir}/tessdata/*
2da6320c
AZ
75
76%package deu
77Summary: German language data for Tesseract
78Group: Applications/Graphics
79Requires: tesseract >= 2.0
80
81%description deu
82The %{name}-%{version}.deu package contains the data files required to
83recognize German
84
85%files deu
86%defattr(644,root,root,755)
87%{_datadir}/tessdata/deu.DangAmbigs
88%{_datadir}/tessdata/deu.freq-dawg
89%{_datadir}/tessdata/deu.inttemp
90%{_datadir}/tessdata/deu.normproto
91%{_datadir}/tessdata/deu.pffmtable
92%{_datadir}/tessdata/deu.unicharset
93%{_datadir}/tessdata/deu.user-words
94%{_datadir}/tessdata/deu.word-dawg
95
96%package eng
97Summary: English language data for Tesseract
98Group: Applications/Graphics
99Requires: tesseract >= 2.0
100
101%description eng
102The %{name}-%{version}.eng package contains the data files required to
103recognize English
104
105%files eng
106%defattr(644,root,root,755)
107%{_datadir}/tessdata/eng.DangAmbigs
108%{_datadir}/tessdata/eng.freq-dawg
109%{_datadir}/tessdata/eng.inttemp
110%{_datadir}/tessdata/eng.normproto
111%{_datadir}/tessdata/eng.pffmtable
112%{_datadir}/tessdata/eng.unicharset
113%{_datadir}/tessdata/eng.user-words
114%{_datadir}/tessdata/eng.word-dawg
115
116%package fra
117Summary: French language data for Tesseract
118Group: Applications/Graphics
119Requires: tesseract >= 2.0
120
121%description fra
122The %{name}-%{version}.fra package contains the data files required to
123recognize French
124
125%files fra
126%defattr(644,root,root,755)
127%{_datadir}/tessdata/fra.DangAmbigs
128%{_datadir}/tessdata/fra.freq-dawg
129%{_datadir}/tessdata/fra.inttemp
130%{_datadir}/tessdata/fra.normproto
131%{_datadir}/tessdata/fra.pffmtable
132%{_datadir}/tessdata/fra.unicharset
133%{_datadir}/tessdata/fra.user-words
134%{_datadir}/tessdata/fra.word-dawg
135
136%package ita
137Summary: Italian language data for Tesseract
138Group: Applications/Graphics
139Requires: tesseract >= 2.0
140
141%description ita
142The %{name}-%{version}.ita package contains the data files required to
143recognize Italian
144
145%files ita
146%defattr(644,root,root,755)
147%{_datadir}/tessdata/ita.DangAmbigs
148%{_datadir}/tessdata/ita.freq-dawg
149%{_datadir}/tessdata/ita.inttemp
150%{_datadir}/tessdata/ita.normproto
151%{_datadir}/tessdata/ita.pffmtable
152%{_datadir}/tessdata/ita.unicharset
153%{_datadir}/tessdata/ita.user-words
154%{_datadir}/tessdata/ita.word-dawg
155
156%package nld
157Summary: Dutch language data for Tesseract
158Group: Applications/Graphics
159Requires: tesseract >= 2.0
160
161%description nld
162The %{name}-%{version}.nld package contains the data files required to
163recognize Dutch
164
165%files nld
166%defattr(644,root,root,755)
167%{_datadir}/tessdata/nld.DangAmbigs
168%{_datadir}/tessdata/nld.freq-dawg
169%{_datadir}/tessdata/nld.inttemp
170%{_datadir}/tessdata/nld.normproto
171%{_datadir}/tessdata/nld.pffmtable
172%{_datadir}/tessdata/nld.unicharset
173%{_datadir}/tessdata/nld.user-words
174%{_datadir}/tessdata/nld.word-dawg
175
176%package spa
177Summary: Spanish language data for Tesseract
178Group: Applications/Graphics
179Requires: tesseract >= 2.0
180
181%description spa
182The %{name}-%{version}.spa package contains the data files required to
183recognize Spanish
184
185%files spa
186%defattr(644,root,root,755)
187%{_datadir}/tessdata/spa.DangAmbigs
188%{_datadir}/tessdata/spa.freq-dawg
189%{_datadir}/tessdata/spa.inttemp
190%{_datadir}/tessdata/spa.normproto
191%{_datadir}/tessdata/spa.pffmtable
192%{_datadir}/tessdata/spa.unicharset
193%{_datadir}/tessdata/spa.user-words
194%{_datadir}/tessdata/spa.word-dawg
This page took 0.164142 seconds and 4 git commands to generate.