forked from pool/ocrad
Accepting request 184174 from home:toganm:branches: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 OBS-URL: https://build.opensuse.org/request/show/184174 OBS-URL: https://build.opensuse.org/package/show/graphics/ocrad?expand=0&rev=17
This commit is contained in:
23
ocrad.spec
23
ocrad.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ocrad (Version 0.21)
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,17 +15,16 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: ocrad
|
||||
Version: 0.21
|
||||
Release: 1
|
||||
Version: 0.22
|
||||
Release: 0
|
||||
Summary: Optical Character Recognition Program
|
||||
|
||||
License: GPLv3+
|
||||
Url: https://savannah.gnu.org/projects/ocrad/
|
||||
License: GPL-3.0+
|
||||
Group: Productivity/Graphics/Other
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
|
||||
Url: https://savannah.gnu.org/projects/ocrad/
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
# PATCH-FIX-OPENSUSE ocrad-build-with-optflags.patch masterpatricko@gmail.com -- Make the package compile with optflags
|
||||
Patch0: ocrad-build-with-optflags.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -54,7 +53,7 @@ Development files for GNU ocrad - useful for programs implementing OCR.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch0
|
||||
|
||||
%build
|
||||
%configure
|
||||
@@ -62,7 +61,7 @@ Development files for GNU ocrad - useful for programs implementing OCR.
|
||||
|
||||
%install
|
||||
%make_install install-man
|
||||
%{__rm} -f %{buildroot}%{_libexecdir}/libocrad.a
|
||||
%{__rm} -f %{buildroot}%{_libdir}/libocrad.a
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
@@ -75,7 +74,7 @@ Development files for GNU ocrad - useful for programs implementing OCR.
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||
%{_bindir}/ocrad
|
||||
%doc %{_infodir}/ocrad*
|
||||
%doc %{_mandir}/man1/ocrad*
|
||||
|
Reference in New Issue
Block a user