1 Summary: OCRFeeder - document layout analysis and optical character recognition system
2 Summary(pl.UTF-8): OCRFeeder - system analizy układu dokumentu i optycznego rozpoznawania znaków
7 Group: Applications/Graphics
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/ocrfeeder/0.8/%{name}-%{version}.tar.xz
9 # Source0-md5: ce53ecf155dc902c1855827646e567bd
10 URL: https://wiki.gnome.org/Apps/OCRFeeder
11 BuildRequires: autoconf >= 2.63
12 BuildRequires: automake >= 1:1.11
13 BuildRequires: gettext-tools
14 # for AM_GLIB_GNU_GETTEXT
15 BuildRequires: glib2-devel >= 2.0
16 # Gtk, GooCanvas gobject bindings
17 BuildRequires: goocanvas2
20 BuildRequires: gobject-introspection
21 BuildRequires: intltool >= 0.35.0
22 BuildRequires: python3 >= 1:3.5
23 BuildRequires: python3-ReportLab
24 BuildRequires: python3-odfpy
25 BuildRequires: python3-pillow
26 BuildRequires: python3-pyenchant
27 BuildRequires: python3-pygobject3
28 BuildRequires: python3-sane
29 BuildRequires: python3-modules >= 1:3.2
30 BuildRequires: rpm-pythonprov
31 BuildRequires: rpmbuild(macros) >= 1.507
32 BuildRequires: sed >= 4.0
33 BuildRequires: tar >= 1:1.22
35 BuildRequires: yelp-tools
38 Requires: python3-ReportLab
39 Requires: python3-modules >= 1:3.5
40 Requires: python3-odfpy
41 Requires: python3-pillow
42 Requires: python3-pyenchant
43 Requires: python3-pygobject3
44 Requires: python3-sane
46 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49 OCRFeeder is a document layout analysis and optical character
52 Given the images it will automatically outline its contents,
53 distinguish between what's graphics and text and perform OCR over the
54 latter. It generates multiple formats being its main one ODT.
56 It features a complete GTK+ graphical user interface that allows the
57 users to correct any unrecognized characters, defined or correct
58 bounding boxes, set paragraph styles, clean the input images, import
59 PDFs, save and load the project, export everything to multiple
60 formats, etc. OCRFeeder was developed as the project of the Master's
61 Thesis in Computer Science of Joaquim Rocha.
63 %description -l pl.UTF-8
64 OCRFeeder to system analizy układu dokumentów i optycznego
67 Po przekazaniu obrazów automatycznie obrysowuje ich zawartość,
68 rozróżniając tekst od grafiki i wykonując OCR na tekście. Potrafi
69 generować tekst w wielu formatach, między innymi ODT.
71 Zawiera pełny graficzny interfejs użytkownika GTK+, pozwalający na
72 korygowanie nie rozpoznanych znaków, definiowanie i poprawianie
73 prostokątów ograniczających, ustawianie styli akapitów, czyszczenie
74 obrazów wejściowych, importowanie plików PDF, zapisywanie i
75 wczytywanie projektów, eksportowanie wszystkiego do wielu formatów
76 itp. OCRFeeder powstał jako projekt z pracy magisterskiej z
77 informatyki Joaquima Rocha.
82 %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' bin/ocrfeeder.in bin/ocrfeeder-cli.in
85 # rebuild am to get PLD version of python.m4
91 --disable-silent-rules
95 rm -rf $RPM_BUILD_ROOT
98 DESTDIR=$RPM_BUILD_ROOT
100 %find_lang %{name} --with-gnome
103 rm -rf $RPM_BUILD_ROOT
105 %files -f %{name}.lang
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog NEWS README TRANSLATORS
108 %attr(755,root,root) %{_bindir}/ocrfeeder
109 %attr(755,root,root) %{_bindir}/ocrfeeder-cli
110 %{py3_sitescriptdir}/ocrfeeder
111 %{_datadir}/ocrfeeder
112 %{_datadir}/metainfo/org.gnome.OCRFeeder.appdata.xml
113 %{_desktopdir}/org.gnome.OCRFeeder.desktop
114 %{_iconsdir}/hicolor/scalable/apps/org.gnome.OCRFeeder.svg
115 %{_mandir}/man1/ocrfeeder.1*
116 %{_mandir}/man1/ocrfeeder-cli.1*