Name: ocropus Version: hg_bradh+2009Aug01 Release: 1%{?dist} Summary: Open source document analysis and OCR system Group: Applications/Productivity License: ASL 2.0 URL: http://bitbucket.org/bradh/ocropus-bradh/ Source0: ocropus-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: iulib-devel # BuildRequires: openfst-devel %description OCRopus(tm) is a state-of-the-art document analysis and OCR system, featuring pluggable layout analysis, pluggable character recognition, statistical natural language modeling, and multi-lingual capabilities. The OCRopus engine is based on two research projects: a high-performance handwriting recognizer developed in the mid-90's and deployed by the US Census bureau, and novel high-performance layout analysis methods. %package devel Summary: Development tools for programs which will use ocropus Group: Development/Libraries Requires: ocropus = %{version}-%{release} %description devel The ocropus-devel package includes the header files and documentation necessary for developing programs using the ocropus library. You'll also need to have the ocropus package installed. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING README %{_bindir}/ocr-distance %{_bindir}/ocropus /usr/share/ocropus/models/default.fst.gz /usr/share/ocropus/models/default.model /usr/share/ocropus/models/latin3-full.model /usr/share/ocropus/models/ocr-dict-case.fst.gz /usr/share/ocropus/words/en-us %files devel %defattr(-,root,root,-) %doc /usr/include/ocropus/*.h %{_libdir}/libocropus.a %changelog * Sat Aug 01 2009 Brad Hards - hg_bradh+2009Aug01-1 - Initial version.