Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > f60a83c06bb38c6e520f2ab011c1fb18 > files > 2

ocrad-0.12-1mdk.src.rpm

%define name ocrad
%define version 0.12
%define release 1mdk


Version: 	%{version}
Summary: 	Optical Character Recognition
Name: 		%{name}
Release: 	%{release}
License: 	GPL
Group: 		Publishing
Source: 	http://ftp.gnu.org/gnu/ocrad/%{name}-%{version}.tar.bz2
URL: 		http://www.gnu.org/software/ocrad/ocrad.html
BuildRoot: 	%{_tmppath}/%{name}-buildroot
BuildRequires:	info-install

%description
Ocrad is an OCR (Optical Character Recognition) program implemented 
as a filter and based on a feature extraction method. It reads a 
bitmap image in PBM format and outputs text in the ISO-8859-1 
(Latin-1) charset. It includes a layout analyser that is able to 
separate the columns or blocks of text normally found on printed 
pages. Ocrad can be used as a stand-alone console application, or as 
a backend to other programs

%prep
rm -rf $RPM_BUILD_ROOT

%setup 

%build

./configure --prefix=%_prefix


%make

%install

export PATH=$PATH:/sbin
%makeinstall

%post
%_install_info %name.info

%postun
%_remove_install_info %name.info

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-,root,root)
%doc README COPYING INSTALL TODO ChangeLog
%_bindir/*
%_infodir/*

%changelog
* Thu Jun 09 2005 Lenny Cartier <lenny@mandrakesoft.com> 0.12-1mdk
- 0.12

* Mon Feb 21 2005 Lenny Cartier <lenny@mandrakesoft.com> 0.11-1mdk
- 0.11

* Fri Dec 10 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.10-1mdk
- 0.10

* Mon Oct 25 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.9-1mdk
- 0.9

* Tue Jun 15 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.8-1mdk
- 0.8

* Tue Feb 10 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.7-1mdk
- 0.7

* Fri Dec 26 2003 Franck Villaume <fvill@freesurf.fr> 0.6-2mdk
- add BuildRequires : info-install
- twist the bin path to find install-info binary before makeinstall

* Sat Dec 20 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.6-1mdk
- new