Accepting request 184185 from graphics

- Update to 0.22
 * Scaling and smoothing are now made before thresholding.
 * Improvements in character recognition.
 * ocradlib.h: Added new function OCRAD_set_utf8_format.
 * Small improvements have been made in manual and man page.
 * Changed quote characters in messages as advised by GNU
- Spec file changes:
 * rebased ocrad-build-with-optflags.patch (forwarded request 184174 from toganm)

OBS-URL: https://build.opensuse.org/request/show/184185
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocrad?expand=0&rev=20
This commit is contained in:
Stephan Kulow 2013-07-24 15:29:19 +00:00 committed by Git OBS Bridge
commit fa9701cca5
5 changed files with 32 additions and 24 deletions

View File

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

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

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

View File

@ -1,14 +1,13 @@
diff -up ./configure.old ./configure --- configure.orig 2013-07-24 08:20:58.611942166 +0000
--- ./configure.old 2010-09-06 17:43:43.074186313 +0000 +++ configure 2013-07-24 08:23:38.298054685 +0000
+++ ./configure 2010-09-06 17:44:31.969195119 +0000 @@ -24,10 +24,6 @@
@@ -29,10 +29,6 @@ infodir='$(datadir)/info' infodir='$(datarootdir)/info'
libdir='${exec_prefix}/lib' libdir='${exec_prefix}/lib'
mandir='$(datadir)/man' mandir='$(datarootdir)/man'
sysconfdir='$(prefix)/etc' -CXX=g++
-CXX=
-CPPFLAGS= -CPPFLAGS=
-CXXFLAGS='-Wall -W -O2' -CXXFLAGS='-Wall -W -O2'
-LDFLAGS= -LDFLAGS=
# Loop over all args # checking whether we are using GNU C++.
while [ -n "$1" ] ; do ${CXX} --version > /dev/null 2>&1

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jul 24 08:27:47 UTC 2013 - toganm@opensuse.org
- Update to 0.22
* Scaling and smoothing are now made before thresholding.
* Improvements in character recognition.
* ocradlib.h: Added new function OCRAD_set_utf8_format.
* Small improvements have been made in manual and man page.
* Changed quote characters in messages as advised by GNU
- Spec file changes:
* rebased ocrad-build-with-optflags.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 18 20:37:28 UTC 2011 - asterios.dramis@gmail.com Fri Feb 18 20:37:28 UTC 2011 - asterios.dramis@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package ocrad # spec file for package ocrad
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,17 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: ocrad Name: ocrad
Version: 0.21 Version: 0.22
Release: 1 Release: 0
Summary: Optical Character Recognition Program Summary: Optical Character Recognition Program
License: GPL-3.0+ License: GPL-3.0+
Url: https://savannah.gnu.org/projects/ocrad/
Group: Productivity/Graphics/Other Group: Productivity/Graphics/Other
Url: https://savannah.gnu.org/projects/ocrad/
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE ocrad-build-with-optflags.patch masterpatricko@gmail.com -- Make the package compile with optflags # PATCH-FIX-OPENSUSE ocrad-build-with-optflags.patch masterpatricko@gmail.com -- Make the package compile with optflags
Patch0: ocrad-build-with-optflags.patch Patch0: ocrad-build-with-optflags.patch
@ -47,7 +45,6 @@ Ocrad can be used as a stand-alone console application, or as a backend to
other programs. other programs.
%package devel %package devel
License: GPL-3.0+
Summary: Development files for GNU ocrad Summary: Development files for GNU ocrad
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
@ -64,7 +61,7 @@ Development files for GNU ocrad - useful for programs implementing OCR.
%install %install
%make_install install-man %make_install install-man
%{__rm} -f %{buildroot}%{_libexecdir}/libocrad.a %{__rm} -f %{buildroot}%{_libdir}/libocrad.a
%clean %clean
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
@ -77,7 +74,7 @@ Development files for GNU ocrad - useful for programs implementing OCR.
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README TODO %doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/ocrad %{_bindir}/ocrad
%doc %{_infodir}/ocrad* %doc %{_infodir}/ocrad*
%doc %{_mandir}/man1/ocrad* %doc %{_mandir}/man1/ocrad*