commit ocrad for openSUSE:Factory
Hello community, here is the log from the commit of package ocrad for openSUSE:Factory checked in at 2019-01-21 10:59:40 Comparing /work/SRC/openSUSE:Factory/ocrad (Old) and /work/SRC/openSUSE:Factory/.ocrad.new.28833 (New) Package is "ocrad" Mon Jan 21 10:59:40 2019 rev:27 rq:666916 version:0.27 Changes: --- /work/SRC/openSUSE:Factory/ocrad/ocrad.changes 2018-10-08 17:46:07.926429775 +0200 +++ /work/SRC/openSUSE:Factory/.ocrad.new.28833/ocrad.changes 2019-01-21 11:01:35.503179093 +0100 @@ -1,0 +2,6 @@ +Sat Jan 12 20:13:34 UTC 2019 - astie...@suse.com + +- update to 0.27: + * fixes for compiler warnings and other developer visible changes + +--- Old: ocrad-0.26.tar.lz ocrad-0.26.tar.lz.sig New: ocrad-0.27.tar.lz ocrad-0.27.tar.lz.sig Other differences: -- ++ ocrad.spec ++ --- /var/tmp/diff_new_pack.y6K099/_old 2019-01-21 11:01:36.919177265 +0100 +++ /var/tmp/diff_new_pack.y6K099/_new 2019-01-21 11:01:36.919177265 +0100 @@ -1,7 +1,7 @@ # # spec file for package ocrad # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -17,7 +17,7 @@ Name: ocrad -Version:0.26 +Version:0.27 Release:0 Summary:Optical Character Recognition Program License:GPL-2.0-or-later @@ -57,7 +57,7 @@ make CXXFLAGS="%{optflags}" %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install +%make_install rm -f %{buildroot}%{_libdir}/libocrad.a %post @@ -70,8 +70,8 @@ %doc AUTHORS ChangeLog NEWS README %license COPYING %{_bindir}/ocrad -%doc %{_infodir}/ocrad* -%doc %{_mandir}/man1/ocrad* +%{_infodir}/ocrad* +%{_mandir}/man1/ocrad* %files devel %{_includedir}/ocradlib.h
commit ocrad for openSUSE:Factory
Hello community, here is the log from the commit of package ocrad for openSUSE:Factory checked in at 2018-10-08 17:44:14 Comparing /work/SRC/openSUSE:Factory/ocrad (Old) and /work/SRC/openSUSE:Factory/.ocrad.new (New) Package is "ocrad" Mon Oct 8 17:44:14 2018 rev:26 rq:639961 version:0.26 Changes: --- /work/SRC/openSUSE:Factory/ocrad/ocrad.changes 2015-04-27 13:05:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.ocrad.new/ocrad.changes 2018-10-08 17:46:07.926429775 +0200 @@ -1,0 +2,11 @@ +Thu Oct 4 12:14:29 UTC 2018 - Luigi Baldoni + +- 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 + +--- Old: ocrad-0.25.tar.lz ocrad-0.25.tar.lz.sig New: ocrad-0.26.tar.lz ocrad-0.26.tar.lz.sig Other differences: -- ++ ocrad.spec ++ --- /var/tmp/diff_new_pack.UReNH7/_old 2018-10-08 17:46:09.034428364 +0200 +++ /var/tmp/diff_new_pack.UReNH7/_new 2018-10-08 17:46:09.038428358 +0200 @@ -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: 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 @@ %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
commit ocrad for openSUSE:Factory
Hello community, here is the log from the commit of package ocrad for openSUSE:Factory checked in at 2015-04-27 13:05:20 Comparing /work/SRC/openSUSE:Factory/ocrad (Old) and /work/SRC/openSUSE:Factory/.ocrad.new (New) Package is "ocrad" Changes: --- /work/SRC/openSUSE:Factory/ocrad/ocrad.changes 2015-03-27 09:39:55.0 +0100 +++ /work/SRC/openSUSE:Factory/.ocrad.new/ocrad.changes 2015-04-27 13:05:23.0 +0200 @@ -1,0 +2,24 @@ +Fri Apr 24 19:32:20 UTC 2015 - benoit.mo...@gmx.fr + +- update to version 0.25: + * The new option "-E, --user-filter", which allows the use of +user-defined filters, has been added. + * Character recognition has been improved. ('2' vs 'Z', +'4' vs 'Q', '5' vs 'S', 'E', 'J', merged 'VV'). + * Uppercase 'Y' with acute and 'Y' with diaeresis are now +recognized. + * Uppercase 'S' and 'Z' with caron are no more misrecognized as +lowercase. + * The new built-in filters "text_block" and "upper_num_mark" have +been added. + * The output of "--help" has been extended. + * The new chapters "Introduction" and "Filters" have been added +to the manual. + * The testsuite now checks the recognition of 11 more characters. + * The targets "install-compress", "install-strip-compress", +"install-info-compress" and "install-man-compress" have been +added to the Makefile. (Installing compressed docs may become +the default in the future). +- add tarball signature and keyring + +--- Old: ocrad-0.24.tar.lz New: ocrad-0.25.tar.lz ocrad-0.25.tar.lz.sig ocrad.keyring Other differences: -- ++ ocrad.spec ++ --- /var/tmp/diff_new_pack.IWXQMj/_old 2015-04-27 13:05:24.0 +0200 +++ /var/tmp/diff_new_pack.IWXQMj/_new 2015-04-27 13:05:24.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ocrad # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,13 +17,15 @@ Name: ocrad -Version:0.24 +Version:0.25 Release:0 Summary:Optical Character Recognition Program License:GPL-2.0+ Group: Productivity/Graphics/Other 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 BuildRequires: gcc-c++ BuildRequires: lzip Requires(post): info
commit ocrad for openSUSE:Factory
Hello community, here is the log from the commit of package ocrad for openSUSE:Factory checked in at 2015-03-27 09:39:50 Comparing /work/SRC/openSUSE:Factory/ocrad (Old) and /work/SRC/openSUSE:Factory/.ocrad.new (New) Package is "ocrad" Changes: --- /work/SRC/openSUSE:Factory/ocrad/ocrad.changes 2014-05-08 12:39:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.ocrad.new/ocrad.changes 2015-03-27 09:39:55.0 +0100 @@ -1,0 +2,17 @@ +Fri Mar 6 23:13:24 UTC 2015 - p.drou...@gmail.com + +- Update to version 0.24 + * Character recognition has been improved. +(merged 'LZ', 'TZ' and 'rt', '9' vs 'g', 'A' vs 'R', 'C' vs '(', +'G', 'J', 'L', 's', 'x', 'z'). + + * Several filters can be now applied in sequence using more than +one "--filter" option. + * The new filters "same_height", "upper_num" and "upper_num_only", +have been added. + * The description of "OCRAD_result_blocks" in the manual has been fixed. + * The license has been changed to GPL version 2 or later for better +GPL compatibility. GPLv2 and GPLv2+ programs may use the library now. +- Fix license tag; the project moved to GPL-2.0+ + +--- Old: ocrad-0.23.tar.lz New: ocrad-0.24.tar.lz Other differences: -- ++ ocrad.spec ++ --- /var/tmp/diff_new_pack.AUb9bk/_old 2015-03-27 09:39:55.0 +0100 +++ /var/tmp/diff_new_pack.AUb9bk/_new 2015-03-27 09:39:55.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package ocrad # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,10 +17,10 @@ Name: ocrad -Version:0.23 +Version:0.24 Release:0 Summary:Optical Character Recognition Program -License:GPL-3.0+ +License:GPL-2.0+ Group: Productivity/Graphics/Other Url:http://www.gnu.org/software/ocrad/ Source0:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.lz -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ocrad for openSUSE:Factory
Hello community, here is the log from the commit of package ocrad for openSUSE:Factory checked in at 2014-05-08 12:39:16 Comparing /work/SRC/openSUSE:Factory/ocrad (Old) and /work/SRC/openSUSE:Factory/.ocrad.new (New) Package is "ocrad" Changes: --- /work/SRC/openSUSE:Factory/ocrad/ocrad.changes 2013-07-24 17:29:21.0 +0200 +++ /work/SRC/openSUSE:Factory/.ocrad.new/ocrad.changes 2014-05-08 12:39:18.0 +0200 @@ -1,0 +2,13 @@ +Sun May 4 22:36:24 UTC 2014 - asterios.dra...@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. + +--- Old: ocrad-0.22.tar.bz2 ocrad-build-with-optflags.patch New: ocrad-0.23.tar.lz Other differences: -- ++ ocrad.spec ++ --- /var/tmp/diff_new_pack.9kgsJK/_old 2014-05-08 12:39:19.0 +0200 +++ /var/tmp/diff_new_pack.9kgsJK/_new 2014-05-08 12:39:19.0 +0200 @@ -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 masterpatri...@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 @@ %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,-) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ocrad for openSUSE:Factory
Hello community, here is the log from the commit of package ocrad for openSUSE:Factory checked in at 2013-07-24 17:29:19 Comparing /work/SRC/openSUSE:Factory/ocrad (Old) and /work/SRC/openSUSE:Factory/.ocrad.new (New) Package is "ocrad" Changes: --- /work/SRC/openSUSE:Factory/ocrad/ocrad.changes 2011-09-23 02:15:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.ocrad.new/ocrad.changes 2013-07-24 17:29:21.0 +0200 @@ -1,0 +2,12 @@ +Wed Jul 24 08:27:47 UTC 2013 - tog...@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 + +--- Old: ocrad-0.21.tar.bz2 New: ocrad-0.22.tar.bz2 Other differences: -- ++ ocrad.spec ++ --- /var/tmp/diff_new_pack.m6HxQY/_old 2013-07-24 17:29:21.0 +0200 +++ /var/tmp/diff_new_pack.m6HxQY/_new 2013-07-24 17:29:21.0 +0200 @@ -1,7 +1,7 @@ # # 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,15 @@ # 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:GPL-3.0+ -Url:https://savannah.gnu.org/projects/ocrad/ Group: Productivity/Graphics/Other + +Url:https://savannah.gnu.org/projects/ocrad/ Source0:%{name}-%{version}.tar.bz2 # PATCH-FIX-OPENSUSE ocrad-build-with-optflags.patch masterpatri...@gmail.com -- Make the package compile with optflags Patch0: ocrad-build-with-optflags.patch @@ -47,7 +45,6 @@ other programs. %package devel -License:GPL-3.0+ Summary:Development files for GNU ocrad Group: Development/Libraries/C and C++ @@ -64,7 +61,7 @@ %install %make_install install-man -%{__rm} -f %{buildroot}%{_libexecdir}/libocrad.a +%{__rm} -f %{buildroot}%{_libdir}/libocrad.a %clean %{__rm} -rf %{buildroot} @@ -77,7 +74,7 @@ %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* ++ ocrad-0.21.tar.bz2 -> ocrad-0.22.tar.bz2 ++ 7627 lines of diff (skipped) ++ ocrad-build-with-optflags.patch ++ --- /var/tmp/diff_new_pack.m6HxQY/_old 2013-07-24 17:29:22.0 +0200 +++ /var/tmp/diff_new_pack.m6HxQY/_new 2013-07-24 17:29:22.0 +0200 @@ -1,14 +1,13 @@ -diff -up ./configure.old ./configure ./configure.old2010-09-06 17:43:43.074186313 + -+++ ./configure2010-09-06 17:44:31.969195119 + -@@ -29,10 +29,6 @@ infodir='$(datadir)/info' +--- configure.orig 2013-07-24 08:20:58.611942166 + configure 2013-07-24 08:23:38.298054685 + +@@ -24,10 +24,6 @@ + infodir='$(datarootdir)/info' libdir='${exec_prefix}/lib' - mandir='$(datadir)/man' - sysconfdir='$(prefix)/etc' --CXX= + mandir='$(datarootdir)/man' +-CXX=g++ -CPPFLAGS= -CXXFLAGS='-Wall -W -O2' -LDFLAGS= - # Loop over all args - while [ -n "$1" ] ; do + # checking whether we are using GNU C++. + ${CXX} --version > /dev/null 2>&1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ocrad for openSUSE:Factory
Hello community, here is the log from the commit of package ocrad for openSUSE:Factory checked in at 2011-12-06 18:33:27 Comparing /work/SRC/openSUSE:Factory/ocrad (Old) and /work/SRC/openSUSE:Factory/.ocrad.new (New) Package is "ocrad", Maintainer is "frei...@suse.com" Changes: Other differences: -- ++ ocrad.spec ++ --- /var/tmp/diff_new_pack.aBPNDy/_old 2011-12-06 18:54:30.0 +0100 +++ /var/tmp/diff_new_pack.aBPNDy/_new 2011-12-06 18:54:30.0 +0100 @@ -23,7 +23,7 @@ Release:1 Summary:Optical Character Recognition Program -License:GPLv3+ +License:GPL-3.0+ Url:https://savannah.gnu.org/projects/ocrad/ Group: Productivity/Graphics/Other Source0:%{name}-%{version}.tar.bz2 @@ -47,7 +47,7 @@ other programs. %package devel -License:GPLv3+ +License:GPL-3.0+ Summary:Development files for GNU ocrad Group: Development/Libraries/C and C++ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ocrad for openSUSE:Factory
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.0 +0200 +++ /mounts/work_src_done/STABLE/ocrad/ocrad.changes2011-02-18 21:45:27.0 +0100 @@ -1,0 +2,14 @@ +Fri Feb 18 20:37:28 UTC 2011 - asterios.dra...@gmail.com + +- 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.0 +0100 +++ /var/tmp/diff_new_pack.sgLinA/_new 2011-02-21 00:53:21.0 +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 masterpatri...@gmail.com -- 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..