2 Summary(pl): Program GNU do OCR
7 Group: Applications/Graphics
8 Source0: http://prdownloads.sourceforge.net/jocr/%{name}-%{version}.tar.gz
9 URL: http://jocr.sourceforge.net/
10 BuildRequires: autoconf
11 BuildRequires: gtk+-devel >= 1.2.8
12 BuildRequires: tetex-latex
13 BuildRequires: tetex-dvips
14 BuildRequires: netpbm-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _xprefix /usr/X11R6
18 %define _xbindir %{_xprefix}/bin
21 GOCR is an optical character recognition program, released under the
22 GNU General Public License. It reads images in many formats (pnm, pbm,
23 pgm, ppm, some pcx and tga image files (or PNM from stdin); if
24 pnm-tools installed and running linux-like system you can also use
25 pnm.gz, pnm.bz2, png, jpg, tiff, gif, bmp and others) and outputs a
29 GOCR jest programem do rozpoznawania pisma wypuszczonym na licencji
30 GNU GPL. Czyta obrazki w formatach pnm, pbm, pgm, ppm, niektóre pcx i
31 tga; je¿eli s± zainstalowane narzêdzia do PNM, mo¿e te¿ czytaæ pnm.gz,
32 pnm.bz2, png,jpg, tiff, gif, bmp i inne. Wynikiem jest plik tekstowy.
35 Summary: Gtk+ frontend for gocr
36 Summary(pl): Frontend Gtk+ do gocr
37 Group: X11/Applications/Graphics
38 Requires: %{name} = %{version}
41 Gtk+-based frontend for gocr.
43 %description gtk -l pl
44 Frontend do gocr oparty o Gtk+.
52 cp -f /usr/share/automake/config.* .
59 %configure --prefix=%{_xprefix} --bindir=%{_xbindir}
63 rm -rf $RPM_BUILD_ROOT
65 %{__make} install DESTDIR=$RPM_BUILD_ROOT
67 ln -sf gnome/mkinstalldirs frontend/mkinstalldirs
68 %{__make} -C frontend/gnome install DESTDIR=$RPM_BUILD_ROOT
70 gzip -9nf AUTHORS BUGS CREDITS HISTORY README REMARK.txt REVIEW TODO \
71 doc/{examples.txt,ocr.ps,unicode.txt} \
72 frontend/gnome/{AUTHORS,README,TODO}
75 rm -rf $RPM_BUILD_ROOT
78 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_bindir}/*
84 %defattr(644,root,root,755)
85 %doc frontend/gnome/*.gz
86 %attr(755,root,root) %{_xbindir}/*