Accepting request 639957 from home:alois:branches:graphics

- Update to version 0.26
  * Version 0.26 released.
  * main.cc (main): Don't use stdin more than once.
  * configure: Avoid warning on some shells when testing for g++.
  * Makefile.in: Detect the existence of install-info.
- Spec cleanup

OBS-URL: https://build.opensuse.org/request/show/639957
OBS-URL: https://build.opensuse.org/package/show/graphics/ocrad?expand=0&rev=25
This commit is contained in:
Ismail Dönmez
2018-10-04 12:36:19 +00:00
committed by Git OBS Bridge
parent 2ed0a5d643
commit 728e30b34d
6 changed files with 21 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package ocrad
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,17 +12,17 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: ocrad
Version: 0.25
Version: 0.26
Release: 0
Summary: Optical Character Recognition Program
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Graphics/Other
Url: http://www.gnu.org/software/ocrad/
URL: http://www.gnu.org/software/ocrad/
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.lz
Source1: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.lz.sig
Source2: %{name}.keyring
@@ -30,7 +30,6 @@ BuildRequires: gcc-c++
BuildRequires: lzip
Requires(post): info
Requires(preun): info
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GNU Ocrad is an OCR (Optical Character Recognition) program based on a feature
@@ -68,14 +67,13 @@ rm -f %{buildroot}%{_libdir}/libocrad.a
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README
%doc AUTHORS ChangeLog NEWS README
%license COPYING
%{_bindir}/ocrad
%doc %{_infodir}/ocrad*
%doc %{_mandir}/man1/ocrad*
%files devel
%defattr(-,root,root,-)
%{_includedir}/ocradlib.h
%changelog