Name: cuneiform-qt Version: 0.1.2 Release: %mkrel 2 Summary: GUI frontend for Cuneiform OCR License: GPLv3+ Group: Office/Utilities URL: http://www.altlinux.org/Cuneiform-Qt Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-mga-desktop-file.patch Patch1: %{name}-%{version}-mga-version.patch Patch2: %{name}-%{version}-mga-prefix.patch Patch3: %{name}-%{version}-mga-html-uft8.patch Patch4: %{name}-%{version}-mga-qt5.patch Patch5: %{name}-%{version}-mga-qttranslations.patch Patch6: %{name}-%{version}-mga-dockwidget-not-closable.patch BuildRequires: gcc-c++ BuildRequires: qt5-devel Requires: cuneiform-linux Requires: qttranslations5 %description This application is GUI frontend for Cuneiform (OCR system originally developed and open sourced by Cognitive technologies). It allow to open scanned image, view this one in preview pane, recornize text via Cuneiform and save result in HTML file. %prep %setup -q %apply_patches %build pushd %{name} %qmake_qt5 %make popd %install pushd %{name} %makeinstall INSTALL_ROOT=%{buildroot} popd %files %doc %{name}/AUTHORS %{name}/README %{name}/TODO %{_bindir}/%{name} %{_datadir}/apps/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %changelog * Fri Feb 06 2015 alexl <alexl> 0.1.2-2.mga5 + Revision: 813659 - fix usage system qt translations (qttranslations.patch) - don't close internal windows "Source Image", "Recognized text" (dockwidget-not-closable.patch) - go to qt5 (qt5.patch) * Sun Feb 01 2015 alexl <alexl> 0.1.2-1.mga5 + Revision: 812944 - imported package cuneiform-qt