1 Summary: GOCR API library
2 Summary(pl.UTF-8): Biblioteka GOCR API
8 Source0: http://dl.sourceforge.net/jocr/%{name}-%{version}.tar.gz
9 # Source0-md5: 1b4747f02a0f2eadf31228f19c120265
10 Patch0: %{name}-doc.patch
11 Patch1: %{name}-configure.patch
12 URL: http://jocr.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: netpbm-devel
16 BuildRequires: tetex-dvips
17 BuildRequires: tetex-latex
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 GOCR (GNU Optical Character Recognition) API is a library, released
22 under the LGPL, intended to make life easier to the developers of OCR
23 algorithms. It handles all the internal problems, structures, data,
24 images, etc, freeing the programmer of all this burden. All one has to
25 do is to write a plugin (using, for example, the Module Development
26 Kit), which "simply" processes the image of a character and returns
29 %description -l pl.UTF-8
30 GOCR (GNU OCR) API jest biblioteką na licencji LGPL mającą za zadanie
31 ułatwić życie programistom algorytmów OCR. Biblioteka obsługuje wiele
32 wewnętrznych problemów, struktur, danych, obrazków - uwalniając
33 programistę od tego ciężaru. Wszystko, co musi napisać programista, to
34 plugin (używając np. Module Development Kit), który "tylko" obrabia
35 obraz znaku i zwraca jego wartość.
38 Summary: Development package for GOCR API
39 Summary(pl.UTF-8): Pakiet dla programistów używających GOCR API
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
44 Header files and developer's documentation for GOCR API.
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe i dokumentacja programisty do GOCR API.
50 Summary: Static GOCR API library
51 Summary(pl.UTF-8): Biblioteka statyczna GOCR API
52 Group: Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
56 Static version of GOCR API library.
58 %description static -l pl.UTF-8
59 Statyczna wersja biblioteki GOCR API.
75 rm -rf $RPM_BUILD_ROOT
78 DESTDIR=$RPM_BUILD_ROOT \
79 gocrdir=%{_includedir}
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
88 %defattr(644,root,root,755)
89 %doc Changelog README STATUS TODO doc/developers.txt doc/api.ps
90 %attr(755,root,root) %{_libdir}/*.so.*.*
93 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/*.so
100 %defattr(644,root,root,755)