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