Name: cuneiform License: BSD Group: Office/Productivity Version: 0.9.0 Release: 1%{?dist} Summary: OCR system Source0: http://launchpad.net/cuneiform-linux/0.9/cuneiform-linux-0.9/+download/%{name}-linux-%{version}.tar.bz2 BuildRequires: ImageMagick-c++-devel BuildRequires: cmake BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) URL: https://launchpad.net/cuneiform-linux %description Cuneiform is an multi-language OCR system originally developed and open sourced by Cognitive Technologies. Cuneiform was originally a Windows program, which was ported to Linux by Jussi Pakkanen. %prep %setup -n %{name}-linux-%{version} %build mkdir builddir cd builddir %{cmake} -DCMAKE_BUILD_TYPE=release .. make %install rm -rf $RPM_BUILD_ROOT make -C builddir install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files -f builddir/install_manifest.txt %defattr(-,root,root,0755) %doc readme.txt issues.txt original\ russian\ readme.rtf %changelog * Sun Apr 25 2010 Sergey Raspopov - 0.9.0-1 - Version 0.9.0-1