Name: cuneiform License: BSD Group: Applications/Productivity Version: 1.0.0 Release: 1%{?dist} Summary: OCR system Source0: http://launchpad.net/cuneiform-linux/1.0/1.0/+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 ExclusiveArch: %{ix86} x86_64 %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 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog * Sun Jul 25 2010 Sergey Raspopov - 1.0.0-1 - Version 1.0.0-1 * Sun Apr 25 2010 Sergey Raspopov - 0.9.0-1 - Version 0.9.0-1