[gimagereader] Initial import

Sandro Mani smani at fedoraproject.org
Thu Feb 13 13:43:57 UTC 2014


commit 2e612d2fa586a7e8b777f6f2975507b7499a4edb
Author: Sandro Mani <manisandro at gmail.com>
Date:   Thu Feb 13 14:44:30 2014 +0100

    Initial import

 .gitignore        |    2 +
 gimagereader.spec |   93 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 96 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6f1258b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/gimagereader-2.90.tar.xz
+/gimagereader-2.91.tar.xz
diff --git a/gimagereader.spec b/gimagereader.spec
new file mode 100644
index 0000000..587fdce
--- /dev/null
+++ b/gimagereader.spec
@@ -0,0 +1,93 @@
+Name:          gimagereader
+Version:       2.91
+Release:       0.1%{?dist}
+License:       GPLv3+
+Group:         Applications/Productivity
+Summary:       OCR application
+URL:           http://sourceforge.net/projects/gimagereader/
+Source0:       %{name}-%{version}.tar.xz
+
+BuildRequires: gtkmm30-devel
+BuildRequires: gtkspellmm30-devel
+BuildRequires: cairomm-devel
+BuildRequires: poppler-glib-devel
+BuildRequires: tesseract-devel
+BuildRequires: sane-backends-devel
+BuildRequires: intltool
+BuildRequires: desktop-file-utils
+BuildRequires: appdata-tools
+
+Requires:      hicolor-icon-theme
+
+%description
+gImageReader is a simple Gtk 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
+ - 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)
+
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-version-check
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+%{_bindir}/desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+%{_bindir}/appdata-validate %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml || :
+
+%find_lang %{name}
+
+
+%post
+/usr/bin/update-desktop-database &> /dev/null || :
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%postun
+/usr/bin/update-desktop-database &> /dev/null || :
+if [ $1 -eq 0 ] ; then
+    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+
+
+%files -f %{name}.lang
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{_bindir}/%{name}
+%{_datadir}/%{name}
+%{_datadir}/appdata/%{name}.appdata.xml
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
+%{_datadir}/icons/hicolor/256x256/apps/%{name}.svg
+%{_datadir}/glib-2.0/schemas/org.gnome.%{name}.gschema.xml
+
+
+%changelog
+* Thu Feb 13 2014 Sandro Mani <manisandro at gmail.com> - 2.91-0.1
+- Update to 2.91 pre
+
+* Thu Feb 13 2014 Sandro Mani <manisandro at gmail.com> - 2.90-3
+- Require hicolor-icon-theme
+- Add missing icon theme scriptlets
+
+* Wed Feb 12 2014 Sandro Mani <manisandro at gmail.com> - 2.90-2
+- Add appdata file
+
+* Tue Feb 11 2014 Sandro Mani <manisandro at gmail.com> - 2.90-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..d887e77 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ec7ff3e3e2e689bfe8c10d2ebc19b2f1  gimagereader-2.91.tar.xz


More information about the scm-commits mailing list