1 |
alexl |
812944 |
Name: cuneiform-qt |
2 |
|
|
Version: 0.1.2 |
3 |
kekepower |
1211919 |
Release: %mkrel 4 |
4 |
alexl |
812944 |
Summary: GUI frontend for Cuneiform OCR |
5 |
|
|
License: GPLv3+ |
6 |
|
|
Group: Office/Utilities |
7 |
|
|
URL: http://www.altlinux.org/Cuneiform-Qt |
8 |
|
|
Source0: %{name}-%{version}.tar.bz2 |
9 |
|
|
Patch0: %{name}-%{version}-mga-desktop-file.patch |
10 |
|
|
Patch1: %{name}-%{version}-mga-version.patch |
11 |
|
|
Patch2: %{name}-%{version}-mga-prefix.patch |
12 |
|
|
Patch3: %{name}-%{version}-mga-html-uft8.patch |
13 |
alexl |
813659 |
Patch4: %{name}-%{version}-mga-qt5.patch |
14 |
|
|
Patch5: %{name}-%{version}-mga-qttranslations.patch |
15 |
|
|
Patch6: %{name}-%{version}-mga-dockwidget-not-closable.patch |
16 |
alexl |
812944 |
BuildRequires: gcc-c++ |
17 |
alexl |
813659 |
BuildRequires: qt5-devel |
18 |
alexl |
812944 |
Requires: cuneiform-linux |
19 |
alexl |
813659 |
Requires: qttranslations5 |
20 |
alexl |
812944 |
|
21 |
|
|
%description |
22 |
|
|
This application is GUI frontend for Cuneiform (OCR system originally |
23 |
|
|
developed and open sourced by Cognitive technologies). It allow to open |
24 |
|
|
scanned image, view this one in preview pane, recornize text via Cuneiform |
25 |
|
|
and save result in HTML file. |
26 |
|
|
|
27 |
|
|
%prep |
28 |
|
|
%setup -q |
29 |
ovitters |
877025 |
%autopatch -p1 |
30 |
alexl |
812944 |
|
31 |
|
|
%build |
32 |
|
|
pushd %{name} |
33 |
alexl |
813659 |
%qmake_qt5 |
34 |
kekepower |
1211919 |
%make_build |
35 |
alexl |
812944 |
popd |
36 |
|
|
|
37 |
|
|
%install |
38 |
|
|
pushd %{name} |
39 |
kekepower |
1211919 |
%make_install INSTALL_ROOT=%{buildroot} |
40 |
alexl |
812944 |
popd |
41 |
|
|
|
42 |
|
|
%files |
43 |
|
|
%doc %{name}/AUTHORS %{name}/README %{name}/TODO |
44 |
|
|
%{_bindir}/%{name} |
45 |
|
|
%{_datadir}/apps/%{name} |
46 |
|
|
%{_datadir}/applications/%{name}.desktop |
47 |
|
|
%{_datadir}/pixmaps/%{name}.png |