2 Summary(pl.UTF-8): Program GNU do OCR
7 Group: Applications/Graphics
8 Source0: http://www-e.uni-magdeburg.de/jschulen/ocr/%{name}-%{version}.tar.gz
9 # Source0-md5: 4e527bc4bdd97c2be15fdd818857507f
10 Source1: %{name}.desktop
12 Patch0: %{name}-lib64.patch
13 URL: http://jocr.sourceforge.net/
14 BuildRequires: autoconf >= 2.50
15 BuildRequires: automake
16 BuildRequires: netpbm-devel
17 BuildRequires: tetex-dvips
18 BuildRequires: tetex-latex
19 Requires: netpbm-progs
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 GOCR is an optical character recognition program, released under the
24 GNU General Public License. It reads images in many formats (pnm, pbm,
25 pgm, ppm, some pcx and tga image files (or PNM from stdin); if
26 pnm-tools installed and running linux-like system you can also use
27 pnm.gz, pnm.bz2, png, jpg, tiff, gif, bmp and others) and outputs a
30 %description -l pl.UTF-8
31 GOCR jest programem do rozpoznawania pisma wypuszczonym na licencji
32 GNU GPL. Czyta obrazki w formatach pnm, pbm, pgm, ppm, niektóre pcx i
33 tga; jeżeli są zainstalowane narzędzia do PNM, może też czytać pnm.gz,
34 pnm.bz2, png,jpg, tiff, gif, bmp i inne. Wynikiem jest plik tekstowy.
37 Summary: Tcl/Tk frontend for gocr
38 Summary(pl.UTF-8): Frontend Tcl/Tk do gocr
39 Group: X11/Applications/Graphics
42 # dropped, GTK+ 1.x code which nobody cared to update
46 Tcl/Tk frontend for gocr.
48 %description tcl -l pl.UTF-8
49 Frontend Tcl/Tk do gocr.
53 %if "%{_lib}" != "lib"
58 cp -f /usr/share/automake/config.* .
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
70 DESTDIR=$RPM_BUILD_ROOT
72 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
73 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
76 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
80 %doc AUTHORS BUGS CREDITS HISTORY README REMARK.txt REVIEW TODO
81 %doc doc/{examples.txt,gocr.html,unicode.txt}
82 %attr(755,root,root) %{_bindir}/gocr
83 %{_mandir}/man1/gocr.1*
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_bindir}/gocr.tcl
88 %{_desktopdir}/gocr.desktop
89 %{_pixmapsdir}/gocr.png