Name: gimagereader Version: 0.8.1 Release: 1%{dist} Summary: A tesseract OCR front-end Group: Applications/Productivity License: GPLv3+ URL: http://www.sourceforge.com/projects/gimagereader Source0: http://sourceforge.net/projects/gimagereader/files/%{version}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch BuildRequires: python2-devel gettext desktop-file-utils Provides: %{name}-static = %{version}-%{release} Requires: python tesseract ImageMagick pygtk2 pycairo gnome-python2-gtkspell ghostscript python-enchant python-imaging-sane pypoppler Patch0: gimagereader-noupdatecheck.patch %description A graphical PyGTK front-end to tesseract OCR. %prep %setup -q %patch0 -p1 %build %{__python} setup.py build %install rm -rf ${RPM_BUILD_ROOT} %{__python} setup.py install -O1 --root=${RPM_BUILD_ROOT} %find_lang %{name} desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %post update-desktop-database &> /dev/null || : %clean rm -rf ${RPM_BUILD_ROOT} %files -f %{name}.lang %defattr(-,root,root) %doc %{_docdir}/%{name}-%{version} %{_bindir}/%{name} %{python_sitelib}/* %{_mandir}/man1/%{name}* %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.* %changelog * Sat Jan 01 2011 Sandro Mani 0.8.1-1 - Last minute bug where spellcheck could stop working * Fri Dec 31 2010 Sandro Mani 0.8-1 - Rewritten PDF handling - Dropped dependencies on ImageMagick and GhostScript, use PyPoppler and PIL instead - Added dialog for configuring non-default tesseract language dictionaries - Added scanning support - Rewritten deb and rpm package generation scripts - Various small bugfixes and UI tweaks * Fri Oct 08 2010 Sandro Mani 0.7-2 - Fix missing icon in about dialog * Wed Oct 06 2010 Sandro Mani 0.7-1 - Added option to choose output pane orientation - Fixed problem where only first page of PDF would be imported - Improved autodetection of paths - Added spellcheck support on Windows - Added support for tesseract-3.00 - Upgraded windows builds to GTK+ 2.22 / PyGtk 2.22 / Python 2.7, including visual improvements - Added locale variations to language selection menu according to installed dictionaries * Sun Aug 22 2010 Sandro Mani 0.6-1 - Added search/replace functionality - Made strip line breaks function more configurable - Added Import PDF function - Added manual - Added prompt to install missing spellcheck dictionaries via PackageKit - Many changes in the configure dialog, including help tooltips and new options - Updated translations, and many small bug fixes throughout, see http://sourceforge.net/projects/gimagereader/files/changelog.txt/download * Fri Jul 16 2010 Sandro Mani 0.5-1 - Rewrite of canvas to use only cairo - Allow to open multiple files - Support for remote locations - Use PyNotify for new version notifications if available * Sun Jul 04 2010 Sandro Mani 0.4-1 - First packaged release, see http://sourceforge.net/projects/gimagereader/files/changelog.txt/download for changes up to now