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 Source1: %{name}.desktop
12 URL: http://jocr.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: gtk+-devel >= 1.2.8
16 BuildRequires: netpbm-devel
17 BuildRequires: tetex-dvips
18 BuildRequires: tetex-latex
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _xprefix /usr/X11R6
22 %define _xbindir %{_xprefix}/bin
25 GOCR is an optical character recognition program, released under the
26 GNU General Public License. It reads images in many formats (pnm, pbm,
27 pgm, ppm, some pcx and tga image files (or PNM from stdin); if
28 pnm-tools installed and running linux-like system you can also use
29 pnm.gz, pnm.bz2, png, jpg, tiff, gif, bmp and others) and outputs a
33 GOCR jest programem do rozpoznawania pisma wypuszczonym na licencji
34 GNU GPL. Czyta obrazki w formatach pnm, pbm, pgm, ppm, niektóre pcx i
35 tga; je¿eli s± zainstalowane narzêdzia do PNM, mo¿e te¿ czytaæ pnm.gz,
36 pnm.bz2, png,jpg, tiff, gif, bmp i inne. Wynikiem jest plik tekstowy.
39 Summary: Gtk+ frontend for gocr
40 Summary(pl): Frontend Gtk+ do gocr
41 Group: X11/Applications/Graphics
42 Requires: %{name} = %{version}
45 Gtk+-based frontend for gocr.
47 %description gtk -l pl
48 Frontend do gocr oparty o Gtk+.
55 cp -f /usr/share/automake/config.* .
60 # ok its ugly..but works
62 rm -f Makefile configure src/missing
72 --prefix=%{_xprefix} \
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT{%{_applngdir}/Graphics,%{_pixmapsdir}}
82 DESTDIR=$RPM_BUILD_ROOT
83 %{__make} -C frontend/gnome install \
84 DESTDIR=$RPM_BUILD_ROOT
86 install %{SOURCE1} $RPM_BUILD_ROOT%{_applngdir}/Graphics
87 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
90 rm -rf $RPM_BUILD_ROOT
93 %defattr(644,root,root,755)
94 %doc AUTHORS BUGS CREDITS HISTORY README REMARK.txt REVIEW TODO
95 %doc doc/{examples.txt,gocr.html,unicode.txt}
96 %attr(755,root,root) %{_bindir}/*
100 %defattr(644,root,root,755)
101 %doc frontend/gnome/{AUTHORS,README,TODO}
102 %attr(755,root,root) %{_xbindir}/*
103 %{_applnkdir}/Graphics/*