Hello community, here is the log from the commit of package ocrad for openSUSE:Factory checked in at Mon Feb 21 00:53:35 CET 2011.
-------- --- ocrad/ocrad.changes 2010-09-06 20:01:14.000000000 +0200 +++ /mounts/work_src_done/STABLE/ocrad/ocrad.changes 2011-02-18 21:45:27.000000000 +0100 @@ -1,0 +2,14 @@ +Fri Feb 18 20:37:28 UTC 2011 - [email protected] + +- Update to 0.21 + * Fixed some internal errors triggered by noisy input. + * ocrad.texinfo: Added chapter `OCR Results File'. + * main.cc: Set stdin/stdout in binary mode on MSVC and OS2. +- Spec file updates: + * Changes based on rpmdevtools templates and spec-cleaner run. + * Updates in Summary:, %description, %build and %install sections. + * Changed License: to GPLv3+. + * Updates in info files installation. + * Minor other updates. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- ocrad-0.20.tar.bz2 New: ---- ocrad-0.21.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocrad.spec ++++++ --- /var/tmp/diff_new_pack.sgLinA/_old 2011-02-21 00:53:21.000000000 +0100 +++ /var/tmp/diff_new_pack.sgLinA/_new 2011-02-21 00:53:21.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package ocrad (Version 0.20) +# spec file for package ocrad # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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 @@ -19,68 +19,71 @@ Name: ocrad -BuildRequires: gcc-c++ -Url: https://savannah.gnu.org/projects/ocrad/ -Summary: GNU Ocrad--Optical Character Recognition Program -Version: 0.20 +Version: 0.21 Release: 1 +Summary: Optical Character Recognition Program + +License: GPLv3+ +Url: https://savannah.gnu.org/projects/ocrad/ Group: Productivity/Graphics/Other -License: GPLv2+ -Source0: ocrad-%{version}.tar.bz2 +Source0: %{name}-%{version}.tar.bz2 +# PATCH-FIX-OPENSUSE ocrad-build-with-optflags.patch [email protected] -- Make the package compile with optflags +Patch0: ocrad-build-with-optflags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -PreReq: %install_info_prereq -Patch0: ocrad-build-with-optflags.patch +BuildRequires: gcc-c++ +Requires(post): info +Requires(preun): info %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. +GNU Ocrad is an OCR (Optical Character Recognition) program based on a feature +extraction method. It reads images in pbm (bitmap), pgm (greyscale) or ppm +(color) formats and produces text in byte (8-bit) or UTF-8 formats. -gocr is another interesting command line OCR tool. Both can be plugged -into Kooka, the KDE scan and OCR program. +Also includes a layout analyser able to separate the columns or blocks of text +normally found on printed pages. + +Ocrad can be used as a stand-alone console application, or as a backend to +other programs. %package devel -License: GPLv2+ +License: GPLv3+ Summary: Development files for GNU ocrad Group: Development/Libraries/C and C++ %description devel -Development files for GNU ocrad - useful for programs implementing OCR - +Development files for GNU ocrad - useful for programs implementing OCR. %prep -%setup +%setup -q %patch0 %build %configure -%{__make} %{?_smp_mflags} VERBOSE=1 +%{__make} %{?_smp_mflags} %install -%makeinstall install-man -%{__rm} -f $RPM_BUILD_ROOT%{_libexecdir}/libocrad.a +%make_install install-man +%{__rm} -f %{buildroot}%{_libexecdir}/libocrad.a + +%clean +%{__rm} -rf %{buildroot} %post -%install_info --info-dir=%_infodir %_infodir/%name.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz -%postun +%preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz -%clean -%{__rm} -fr $RPM_BUILD_ROOT - %files -%defattr(-, root, root) +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog NEWS README TODO %{_bindir}/ocrad -%{_infodir}/ocrad* -%doc %{_mandir}/man1/* -%doc AUTHORS COPYING ChangeLog INSTALL README NEWS TODO +%doc %{_infodir}/ocrad* +%doc %{_mandir}/man1/ocrad* %files devel -%defattr(-, root, root) +%defattr(-,root,root,-) %{_includedir}/ocradlib.h %changelog ++++++ ocrad-0.20.tar.bz2 -> ocrad-0.21.tar.bz2 ++++++ ++++ 4068 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
