Group :: Office
RPM: ocrad
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: ocrad
Version: 0.17
Release: alt3
Summary: Ocrad is an OCR program based on a feature extraction method
License: GPL
Group: Office
Url: http://www.gnu.org/software/ocrad/ocrad.html
Packager: Igor Zubkov <icesik at altlinux.org>
Source0: %name-%version.tar.bz2
# from Debian
Patch0: ocrad_0.17-3.diff.gz
# Automatically added by buildreq on Sat Nov 15 2008
BuildRequires: gcc-c++
%description
GNU Ocrad is an OCR (Optical Character Recognition) program based on a
feature extraction method. It reads a bitmap image in pbm format and
produces text in byte (8-bit) or UTF-8 formats.
%prep
%setup -q
%patch0 -p1
%build
./configure --prefix=%prefix
make CXXFLAGS="%optflags"
make check || exit 1
%install
%makeinstall
make install-man DESTDIR=%buildroot
%post
%install_info %name.info
%preun
%uninstall_info %name.info
%files
%doc AUTHORS ChangeLog INSTALL NEWS README TODO examples
%_bindir/*
%_infodir/*
%_man1dir/*
%changelog
…
Full changelog you can see here
Version: 0.17
Release: alt3
Summary: Ocrad is an OCR program based on a feature extraction method
License: GPL
Group: Office
Url: http://www.gnu.org/software/ocrad/ocrad.html
Packager: Igor Zubkov <icesik at altlinux.org>
Source0: %name-%version.tar.bz2
# from Debian
Patch0: ocrad_0.17-3.diff.gz
# Automatically added by buildreq on Sat Nov 15 2008
BuildRequires: gcc-c++
%description
GNU Ocrad is an OCR (Optical Character Recognition) program based on a
feature extraction method. It reads a bitmap image in pbm format and
produces text in byte (8-bit) or UTF-8 formats.
%prep
%setup -q
%patch0 -p1
%build
./configure --prefix=%prefix
make CXXFLAGS="%optflags"
make check || exit 1
%install
%makeinstall
make install-man DESTDIR=%buildroot
%post
%install_info %name.info
%preun
%uninstall_info %name.info
%files
%doc AUTHORS ChangeLog INSTALL NEWS README TODO examples
%_bindir/*
%_infodir/*
%_man1dir/*
%changelog
…
Full changelog you can see here