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: automake
13 BuildRequires: gtk+-devel >= 1.2.8
14 BuildRequires: netpbm-devel
15 BuildRequires: tetex-dvips
16 BuildRequires: tetex-latex
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _xprefix /usr/X11R6
20 %define _xbindir %{_xprefix}/bin
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
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: Gtk+ frontend for gocr
38 Summary(pl): Frontend Gtk+ do gocr
39 Group: X11/Applications/Graphics
40 Requires: %{name} = %{version}
43 Gtk+-based frontend for gocr.
45 %description gtk -l pl
46 Frontend do gocr oparty o Gtk+.
53 cp -f /usr/share/automake/config.* .
58 # ok its ugly..but works
60 rm -f Makefile configure src/missing
70 --prefix=%{_xprefix} \
76 rm -rf $RPM_BUILD_ROOT
79 DESTDIR=$RPM_BUILD_ROOT
80 %{__make} -C frontend/gnome install \
81 DESTDIR=$RPM_BUILD_ROOT
83 ln -sf gnome/mkinstalldirs frontend/mkinstalldirs
86 rm -rf $RPM_BUILD_ROOT
89 %defattr(644,root,root,755)
90 %doc AUTHORS BUGS CREDITS HISTORY README REMARK.txt REVIEW TODO
91 %doc doc/{examples.txt,gocr.html,unicode.txt}
92 %attr(755,root,root) %{_bindir}/*
96 %defattr(644,root,root,755)
97 %doc frontend/gnome/{AUTHORS,README,TODO}
98 %attr(755,root,root) %{_xbindir}/*