diff --git a/.gitignore b/.gitignore index fb23d6b..07028e1 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /gimagereader-3.1.tar.xz /gimagereader-3.1.1.tar.xz /gimagereader-3.1.2.tar.xz +/gimagereader-3.1.90.tar.xz diff --git a/ftbfs.patch b/ftbfs.patch deleted file mode 100644 index 34ec99c..0000000 --- a/ftbfs.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -rupN gimagereader-3.1.2/qt/src/Displayer.cc gimagereader-3.1.2-new/qt/src/Displayer.cc ---- gimagereader-3.1.2/qt/src/Displayer.cc 2015-06-30 17:36:39.000000000 +0200 -+++ gimagereader-3.1.2-new/qt/src/Displayer.cc 2016-02-04 09:32:25.701479818 +0100 -@@ -32,6 +32,7 @@ - #include - #include - #include -+#include - - - class GraphicsScene : public QGraphicsScene diff --git a/gimagereader.spec b/gimagereader.spec index 8b88aeb..9a25de3 100644 --- a/gimagereader.spec +++ b/gimagereader.spec @@ -1,17 +1,16 @@ Name: gimagereader -Version: 3.1.2 -Release: 5%{?dist} +Version: 3.1.90 +Release: 1%{?dist} Summary: A front-end to tesseract-ocr License: GPLv3+ URL: https://github.com/manisandro/gimagereader Source0: https://github.com/manisandro/gimagereader/releases/download/v%{version}/%{name}-%{version}.tar.xz -# Fix FTBFS -Patch0: ftbfs.patch BuildRequires: cmake BuildRequires: gtkmm30-devel BuildRequires: gtkspellmm30-devel +BuildRequires: gtksourceviewmm3-devel BuildRequires: cairomm-devel BuildRequires: poppler-glib-devel BuildRequires: tesseract-devel @@ -22,19 +21,20 @@ BuildRequires: libappstream-glib BuildRequires: qt5-qtbase-devel BuildRequires: qtspell-qt5-devel BuildRequires: poppler-qt5-devel -BuildRequires: gtksourceviewmm3-devel +BuildRequires: json-glib-devel +BuildRequires: libxml++-devel Requires: hicolor-icon-theme %description gImageReader is a simple front-end to tesseract. Features include: - - Automatic page layout detection - - User can manually define and adjust recognition regions - - Import images from disk, scanning devices, clipboard and screenshots - - Supports multipage PDF documents + - Import PDF documents and images from disk, scanning devices, clipboard and screenshots + - Process multiple images and documents in one go + - Manual or automatic recognition area definition + - Recognize to plain text or to hOCR documents - Recognized text displayed directly next to the image - - Editing of output text, including search/replace and removing line breaks - - Spellchecking for output text (if corresponding dictionary installed) + - Post-process the recognized text, including spellchecking + - Generate PDF documents from hOCR documents %package gtk @@ -44,13 +44,13 @@ Obsoletes: %{name} < 2.94-1 %description gtk gImageReader is a simple front-end to tesseract. Features include: - - Automatic page layout detection - - User can manually define and adjust recognition regions - - Import images from disk, scanning devices, clipboard and screenshots - - Supports multipage PDF documents + - Import PDF documents and images from disk, scanning devices, clipboard and screenshots + - Process multiple images and documents in one go + - Manual or automatic recognition area definition + - Recognize to plain text or to hOCR documents - Recognized text displayed directly next to the image - - Editing of output text, including search/replace and removing line breaks - - Spellchecking for output text (if corresponding dictionary installed) + - Post-process the recognized text, including spellchecking + - Generate PDF documents from hOCR documents This package contains the Gtk+ front-end. @@ -60,13 +60,13 @@ Requires: %{name}-common = %{version}-%{release} %description qt gImageReader is a simple front-end to tesseract. Features include: - - Automatic page layout detection - - User can manually define and adjust recognition regions - - Import images from disk, scanning devices, clipboard and screenshots - - Supports multipage PDF documents + - Import PDF documents and images from disk, scanning devices, clipboard and screenshots + - Process multiple images and documents in one go + - Manual or automatic recognition area definition + - Recognize to plain text or to hOCR documents - Recognized text displayed directly next to the image - - Editing of output text, including search/replace and removing line breaks - - Spellchecking for output text (if corresponding dictionary installed) + - Post-process the recognized text, including spellchecking + - Generate PDF documents from hOCR documents This package contains the Qt front-end. %package common @@ -79,7 +79,6 @@ Common files for %{name}. %prep %setup -q -%patch0 -p1 %build @@ -144,7 +143,7 @@ fi %files common -f %{name}.lang %license COPYING -%doc AUTHORS ChangeLog NEWS README TODO +%doc AUTHORS ChangeLog NEWS README %{_datadir}/icons/hicolor/48x48/apps/%{name}.png %{_datadir}/icons/hicolor/128x128/apps/%{name}.png %{_datadir}/icons/hicolor/256x256/apps/%{name}.png @@ -162,6 +161,9 @@ fi %{_datadir}/applications/%{name}-qt5.desktop %changelog +* Thu Apr 28 2016 Sandro Mani - 3.1.90-1 +- Update to 3.1.90 + * Thu Feb 04 2016 Sandro Mani - 3.1.2-5 - Add patch to fix FTBFS diff --git a/sources b/sources index 622453e..035c0eb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -131304714f4f2c1042d442388bceb8d4 gimagereader-3.1.2.tar.xz +2a4159745c976b7768098dd7c317fcb4 gimagereader-3.1.90.tar.xz