OBS User unknown 2007-01-15 23:27:21 +00:00 committed by Git OBS Bridge
commit 5d15e53e12
6 changed files with 282 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
ocrad-0.16.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e3f98047f53bc19f6ff9d40de7b55ddf5e52d9b41453ab7f39f3bdf1ee974de6
size 75532

112
ocrad.changes Normal file
View File

@ -0,0 +1,112 @@
-------------------------------------------------------------------
Mon Oct 23 10:24:36 CEST 2006 - freitag@suse.de
- update to version 0.16:
* Version 0.16 released.
* Added new option `--filter'.
* Better algorithm for vertical space detection (blank lines).
* Some fixes made to `configure' script.
* Added two new debug levels.
* Improvements in character recognition.
-------------------------------------------------------------------
Thu Aug 10 11:06:32 CEST 2006 - freitag@suse.de
- update to version 0.15:
* Added new argument parser that replaces `getopt_long'.
* Fixed a bug that prevented compilation with GCC 4.1.
and some benefits from 0.14:
* Ocrad is now able to read ppm files.
* Added new class `Page_image' (256-level greymap).
* Added automatic and adaptive binarization by Otsu's method.
* Added new option `--crop'.
* Added two new chapters `Image Format Conversion' and
`Algorithm' to the texinfo file.
* Target `check' added to Makefile.
* Changed `ocrad.png' icon to color, one line.
-------------------------------------------------------------------
Wed Jan 25 21:38:55 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Jan 20 10:25:02 CET 2006 - freitag@suse.de
- added a patch that fixes a namespace problem on ppc and s390
-------------------------------------------------------------------
Wed Nov 2 22:06:58 CET 2005 - dmueller@suse.de
- don't build as root
-------------------------------------------------------------------
Tue Oct 18 16:26:13 CEST 2005 - freitag@suse.de
- update to version 0.13:
* ability to read pgm files
* better space detection in tables
* better number recognition
-------------------------------------------------------------------
Wed Jun 8 18:46:45 CEST 2005 - max@suse.de
- update to version 0.12:
* Text inside tables of solid lines is now recognized.
* Improvements in character recognition.
* Fixed possible integer overflow when loading pbm file.
-------------------------------------------------------------------
Mon Feb 21 15:43:53 CET 2005 - freitag@suse.de
- update to version 0.11:
* Improved algorithms again
* bugfixes
-------------------------------------------------------------------
Thu Dec 16 11:55:05 CET 2004 - freitag@suse.de
- update to version 0.10:
* Improved algorithms
* orf file changes
-------------------------------------------------------------------
Wed Jun 23 17:06:20 CEST 2004 - freitag@suse.de
- update to version 0.8:
* Better algorithm for line detection.
* New feature -x - (export ORF file to stdout).
* Small improvements in image elimination.
-------------------------------------------------------------------
Tue Feb 10 18:19:38 CET 2004 - freitag@suse.de
- update to version 0.7:
* manpage added
* utf8 output
* better detection
-------------------------------------------------------------------
Wed Jan 28 11:45:49 CET 2004 - freitag@suse.de
- update to version 0.6
-------------------------------------------------------------------
Mon Sep 8 09:51:25 CEST 2003 - freitag@suse.de
- update to version 0.4 - much better recognition results, better
Makefile etc.
-------------------------------------------------------------------
Mon Aug 18 18:29:23 CEST 2003 - freitag@suse.de
- resetted version to original 0.3 version official from the author.
I tried to convince him to use autoconf, but he does not want yet.
In order to distribute the original package, I reverted my auto-
conf version.
-------------------------------------------------------------------
Thu Jul 24 10:54:42 CEST 2003 - freitag@suse.de
- initial package

143
ocrad.spec Normal file
View File

@ -0,0 +1,143 @@
#
# spec file for package ocrad (Version 0.16)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: ocrad
BuildRequires: gcc-c++
URL: https://savannah.gnu.org/projects/ocrad/
Summary: GNU Ocrad--Optical Character Recognition Program
Version: 0.16
Release: 1
Group: Productivity/Graphics/Other
#Requires:
#Provides:
License: GNU General Public License (GPL) - all versions
# URL:
Source0: ocrad-%{version}.tar.bz2
# Patch: ocrad-%{version}.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GNU 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 can be used as a stand-alone console application or as a
back-end to other programs.
gocr is another interesting command line OCR tool. Both can be plugged
into Kooka, the KDE scan and OCR program.
Authors:
--------
Antonio Diaz Diaz
%define INSTALL install -m755 -s
%define INSTALL_SCRIPT install -m755
%define INSTALL_DIR install -d -m755
%define INSTALL_DATA install -m644
%prep
%setup -n ocrad-%{version}
# %patch
%build
./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man
make CXXFLAGS='${RPM_OPT_FLAGS}'
%install
if [ ! "x" = "x$RPM_BUILD_ROOT" ] ; then
rm -fr $RPM_BUILD_ROOT
%{INSTALL_DIR} $RPM_BUILD_ROOT
fi
make install DESTDIR=$RPM_BUILD_ROOT
make install-man DESTDIR=$RPM_BUILD_ROOT
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
/usr/bin/ocrad
/usr/share/info/ocrad*
%doc %{_mandir}/man1/*
%doc AUTHORS COPYING ChangeLog INSTALL README NEWS TODO
%doc examples
# spec file ends here
%changelog -n ocrad
* Mon Oct 23 2006 - freitag@suse.de
- update to version 0.16:
* Version 0.16 released.
* Added new option `--filter'.
* Better algorithm for vertical space detection (blank lines).
* Some fixes made to `configure' script.
* Added two new debug levels.
* Improvements in character recognition.
* Thu Aug 10 2006 - freitag@suse.de
- update to version 0.15:
* Added new argument parser that replaces `getopt_long'.
* Fixed a bug that prevented compilation with GCC 4.1.
and some benefits from 0.14:
* Ocrad is now able to read ppm files.
* Added new class `Page_image' (256-level greymap).
* Added automatic and adaptive binarization by Otsu's method.
* Added new option `--crop'.
* Added two new chapters `Image Format Conversion' and
`Algorithm' to the texinfo file.
* Target `check' added to Makefile.
* Changed `ocrad.png' icon to color, one line.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 20 2006 - freitag@suse.de
- added a patch that fixes a namespace problem on ppc and s390
* Wed Nov 02 2005 - dmueller@suse.de
- don't build as root
* Tue Oct 18 2005 - freitag@suse.de
- update to version 0.13:
* ability to read pgm files
* better space detection in tables
* better number recognition
* Wed Jun 08 2005 - max@suse.de
- update to version 0.12:
* Text inside tables of solid lines is now recognized.
* Improvements in character recognition.
* Fixed possible integer overflow when loading pbm file.
* Mon Feb 21 2005 - freitag@suse.de
- update to version 0.11:
* Improved algorithms again
* bugfixes
* Thu Dec 16 2004 - freitag@suse.de
- update to version 0.10:
* Improved algorithms
* orf file changes
* Wed Jun 23 2004 - freitag@suse.de
- update to version 0.8:
* Better algorithm for line detection.
* New feature -x - (export ORF file to stdout).
* Small improvements in image elimination.
* Tue Feb 10 2004 - freitag@suse.de
- update to version 0.7:
* manpage added
* utf8 output
* better detection
* Wed Jan 28 2004 - freitag@suse.de
- update to version 0.6
* Mon Sep 08 2003 - freitag@suse.de
- update to version 0.4 - much better recognition results, better
Makefile etc.
* Mon Aug 18 2003 - freitag@suse.de
- resetted version to original 0.3 version official from the author.
I tried to convince him to use autoconf, but he does not want yet.
In order to distribute the original package, I reverted my auto-
conf version.
* Thu Jul 24 2003 - freitag@suse.de
- initial package

0
ready Normal file
View File