diff --git a/README.md b/README.md index 2f41761..5e8cab3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # ocrad +Ocrad is an OCR program implemented as a filter. +It reads a bitmap image in pbm format and outputs text in ISO-8859-1 (Latin-1) charset. +It can be used as a stand-alone terminal application, or as a backend to other programs. + diff --git a/ocrad-0.23.tar.lz b/ocrad-0.23.tar.lz new file mode 100644 index 0000000..955d64c Binary files /dev/null and b/ocrad-0.23.tar.lz differ diff --git a/ocrad.spec b/ocrad.spec new file mode 100644 index 0000000..2cbf4db --- /dev/null +++ b/ocrad.spec @@ -0,0 +1,113 @@ +Name: ocrad +Version: 0.23 +Release: 1mamba +Summary: Optical Character Recognition program +Group: Applications/Graphics +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.gnu.org/software/ocrad/ocrad.html +Source0: ftp://ftp.gnu.org/gnu/ocrad/ocrad-%{version}.tar.lz +License: GPL +BuildRequires: lzip +Requires(post):%{__install_info} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Ocrad is an OCR program implemented as a filter. +It reads a bitmap image in pbm format and outputs text in ISO-8859-1 (Latin-1) charset. +It can be used as a stand-alone terminal application, or as a backend to other programs. + +%package devel +Summary: Static libraries and headers for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Ocrad is an OCR program implemented as a filter. +It reads a bitmap image in pbm format and outputs text in ISO-8859-1 (Latin-1) charset. +It can be used as a stand-alone terminal application, or as a backend to other programs. + +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%build +%configure +%make CXXFLAGS="%{optflags}" + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall install-man + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +%install_info %{name}.info +exit 0 + +%preun +%uninstall_info %{name}.info +exit 0 + +%files +%defattr(-,root,root) +%{_bindir}/ocrad +%{_mandir}/man1/ocrad.* +%{_infodir}/ocrad.info.* +%doc AUTHORS + +%files devel +%defattr(-,root,root) +%{_includedir}/ocradlib.h +%{_libdir}/libocrad.a +%doc ChangeLog NEWS README + +%changelog +* Wed Mar 26 2014 Automatic Build System 0.23-1mamba +- automatic version update by autodist + +* Fri Jul 26 2013 Automatic Build System 0.22-1mamba +- update to 0.22 + +* Wed Jan 12 2011 Automatic Build System 0.21-1mamba +- automatic update by autodist + +* Thu Jul 22 2010 Automatic Build System 0.20-1mamba +- automatic update by autodist + +* Sun May 09 2010 Automatic Build System 0.19-1mamba +- automatic update by autodist + +* Wed Jul 15 2009 Automatic Build System 0.18-1mamba +- update to 0.18 + +* Mon Jul 02 2007 Aleph0 0.17-1mamba +- update to 0.17 + +* Mon Oct 23 2006 Davide Madrisan 0.16-1qilnx +- update to version 0.16 by autospec + +* Wed Apr 26 2006 Davide Madrisan 0.15-1qilnx +- update to version 0.15 by autospec + +* Mon Feb 13 2006 Davide Madrisan 0.13-2qilnx +- rebuilt + +* Tue Jan 24 2006 Stefano Cotta Ramusino 0.13-1qilnx +- update to version 0.13 by autospec +- spec file fixed and updated + +* Thu Jun 09 2005 Alessandro Ramazzina 0.12-1qilnx +- new version + +* Thu Apr 21 2005 Alessandro Ramazzina 0.11-2qilnx +- rebuild and moved from devel-contrib repository to devel repository + +* Fri Feb 18 2005 Matteo Bernasconi 0.11-1qilnx +- new release + +* Wed Sep 07 2004 Matteo Bernasconi 0.8-1qilnx +- first build \ No newline at end of file