Accepting request 232625 from home:adra:branches:graphics
Update to 0.23, Added lzip build requirement, Removed ocrad-build-with-optflags.patch and instead added a fix inside the spec file OBS-URL: https://build.opensuse.org/request/show/232625 OBS-URL: https://build.opensuse.org/package/show/graphics/ocrad?expand=0&rev=19
This commit is contained in:
parent
6909c240b4
commit
ec60006fd7
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:885a0aa03059c1aeda222ca6fc65b7ddcfc70395b39c9cd68524d25f315ce587
|
||||
size 93045
|
3
ocrad-0.23.tar.lz
Normal file
3
ocrad-0.23.tar.lz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f5bc9479c01fe8c64aa836c8636dff65e9b459c2edbd4fc0656f47f435d9a06f
|
||||
size 87385
|
@ -1,13 +0,0 @@
|
||||
--- configure.orig 2013-07-24 08:20:58.611942166 +0000
|
||||
+++ configure 2013-07-24 08:23:38.298054685 +0000
|
||||
@@ -24,10 +24,6 @@
|
||||
infodir='$(datarootdir)/info'
|
||||
libdir='${exec_prefix}/lib'
|
||||
mandir='$(datarootdir)/man'
|
||||
-CXX=g++
|
||||
-CPPFLAGS=
|
||||
-CXXFLAGS='-Wall -W -O2'
|
||||
-LDFLAGS=
|
||||
|
||||
# checking whether we are using GNU C++.
|
||||
${CXX} --version > /dev/null 2>&1
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 4 22:36:24 UTC 2014 - asterios.dramis@gmail.com
|
||||
|
||||
- Update to 0.23:
|
||||
* Improvements in character recognition.
|
||||
* Filters of type '*_only' now remove leading whitespace.
|
||||
* ocradlib.h: Changed 'uint8_t' to 'unsigned char'.
|
||||
* Added some missing inclusions of 'cstdlib'.
|
||||
* ocrad.texinfo: Renamed to ocrad.texi.
|
||||
- Added lzip build requirement in order to extract the package.
|
||||
- Removed ocrad-build-with-optflags.patch and instead added a fix inside the
|
||||
spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 08:27:47 UTC 2013 - toganm@opensuse.org
|
||||
|
||||
|
29
ocrad.spec
29
ocrad.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ocrad
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 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
|
||||
@ -17,21 +17,18 @@
|
||||
|
||||
|
||||
Name: ocrad
|
||||
Version: 0.22
|
||||
Version: 0.23
|
||||
Release: 0
|
||||
Summary: Optical Character Recognition Program
|
||||
License: GPL-3.0+
|
||||
Group: Productivity/Graphics/Other
|
||||
|
||||
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
|
||||
|
||||
Url: http://www.gnu.org/software/ocrad/
|
||||
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.lz
|
||||
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
|
||||
@ -53,24 +50,20 @@ Development files for GNU ocrad - useful for programs implementing OCR.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
|
||||
%build
|
||||
%configure
|
||||
%{__make} %{?_smp_mflags}
|
||||
make CXXFLAGS="%{optflags}" %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install install-man
|
||||
%{__rm} -f %{buildroot}%{_libdir}/libocrad.a
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
make DESTDIR=%{buildroot} install
|
||||
rm -f %{buildroot}%{_libdir}/libocrad.a
|
||||
|
||||
%post
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
x
Reference in New Issue
Block a user