From f5559c7c13b9962ed1958742cf7ea1a16d39fe3a Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 23:20:29 +0100 Subject: [PATCH] automatic version update by autodist [release 0.50-1mamba;Thu Apr 18 2013] --- README.md | 4 +++ gocr.spec | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 gocr.spec diff --git a/README.md b/README.md index 3db5e14..4f7c6c9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # gocr +GOCR/JOCR is an optical character recognition program, released under the GNU General Public License. +It reads images in many formats (pnm, pbm, pgm, ppm, some pcx and tga image files (or PNM from stdin) and outputs a text file; if +pnm-tools are installed and running on a linux-like system you can also use pnm.gz, pnm.bz2, png, jpg, tiff, gif, bmp and others. + diff --git a/gocr.spec b/gocr.spec new file mode 100644 index 0000000..dfe8ab4 --- /dev/null +++ b/gocr.spec @@ -0,0 +1,84 @@ +Name: gocr +Version: 0.50 +Release: 1mamba +Summary: GOCR/JOCR is an optical character recognition program +Group: Applications/Graphics +Vendor: openmamba +Distribution: openmamba +Packager: Fabio Giani +URL: http://jocr.sourceforge.net/ +Source: http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRequires: transfig +BuildRequires: netpbm-devel +BuildRequires: pam-devel +Obsoletes: gocr-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +GOCR/JOCR is an optical character recognition program, released under the GNU General Public License. +It reads images in many formats (pnm, pbm, pgm, ppm, some pcx and tga image files (or PNM from stdin) and outputs a text file; if +pnm-tools are installed and running on a linux-like system you can also use pnm.gz, pnm.bz2, png, jpg, tiff, gif, bmp and others. + +%package devel +Summary: Development tools for gocr +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +If you want to develop programs which will manipulate gocr, you should install this package. + +%prep + +%setup -q +%configure + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%{_bindir}/gocr +%{_bindir}/gocr.tcl +%{_mandir}/man1/gocr.* +%doc AUTHORS CREDITS + +#%files devel +#%defattr(-,root,root) +#%{_includedir}/gocr.h +#%{_libdir}/libPgm2asc.a +#%doc BUGS HISTORY README READMEde.txt REMARK.txt REVIEW TODO +#%doc doc/examples.txt doc/gocr.html doc/unicode.txt + +%changelog +* Thu Apr 18 2013 Automatic Build System 0.50-1mamba +- automatic version update by autodist + +* Wed Apr 18 2012 Silvan Calarco 0.49-1mamba +- update to 0.49 + +* Tue Aug 28 2007 Aleph0 0.44-2mamba +- move development documentation to devel package +- add build requirements + +* Sat Aug 18 2007 Fabio Giani 0.44-1mamba +- update to 0.44 + +* Mon Apr 18 2005 Alessandro Ramazzina 0.40-2qilnx +- rebuild and moved from devel-contrib repository to devel repository + +* Fri Apr 01 2005 0.40-1qilnx +- Update to new release + +* Wed Sep 07 2004 0.39-1qilnx +- first build