Hello community, here is the log from the commit of package tesseract for openSUSE:Factory checked in at 2013-06-28 12:00:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tesseract (Old) and /work/SRC/openSUSE:Factory/.tesseract.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tesseract" Changes: -------- --- /work/SRC/openSUSE:Factory/tesseract/tesseract.changes 2013-05-07 16:02:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.tesseract.new/tesseract.changes 2013-06-28 12:00:41.000000000 +0200 @@ -1,0 +2,11 @@ +Sat Jun 22 20:00:58 UTC 2013 - asterios.dra...@gmail.com + +- Split library into separate package (libtesseract3). +- Removed debuginfo package (not needed). +- There is no need anymore to regenerate the build system (removed automake and + libtool build requirements). +- Added pkg-config build requirement (fix for rpmlint error + "no-pkg-config-provides"). Removed also not needed + "Provides: pkgconfig(%{name})" entry. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tesseract.spec ++++++ --- /var/tmp/diff_new_pack.9xBOGU/_old 2013-06-28 12:00:42.000000000 +0200 +++ /var/tmp/diff_new_pack.9xBOGU/_new 2013-06-28 12:00:42.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package tesseract # -# Copyright (c) 2012 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,25 +15,26 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -Name: tesseract + %define tarname tesseract-ocr +%define so_ver 3 + +Name: tesseract Version: 3.02.02 Release: 0 -License: Apache-2.0 and GPL-2.0+ Summary: Open Source OCR Engine -Url: http://code.google.com/p/tesseract-ocr/ +License: Apache-2.0 and GPL-2.0+ Group: Productivity/Graphics/Other +Url: http://code.google.com/p/tesseract-ocr/ Source0: http://tesseract-ocr.googlecode.com/files/%{tarname}-%{version}.tar.gz Source1: http://tesseract-ocr.googlecode.com/files/%{tarname}-%{version}-doc-html.tar.gz -BuildRequires: automake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: liblept-devel -BuildRequires: libtool +BuildRequires: pkg-config Recommends: tesseract-traineddata-american Provides: %{tarname} = %{version} -Provides: pkgconfig(%{name}) -BuildRoot: %{_tmppath}/%{tarname}-%{version}-build +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A commercial quality OCR engine originally developed at HP between 1985 and @@ -43,27 +44,26 @@ %package devel Summary: Tesseract Open Source OCR Engine Development files Group: Development/Libraries/Other -Requires: %{name} = %{version} Requires: liblept-devel +Requires: libtesseract%{so_ver} = %{version} %description devel -Headers and static libraries for the Tesseract Open Source OCR Engine. +This package contains development files for the Tesseract Open Source OCR +Engine. -%package debuginfo -Summary: Tesseract Open Source OCR Engine debugging files -Group: Development/Libraries/Other -Requires: %{name} = %{version} +%package -n libtesseract%{so_ver} +Summary: Open Source OCR Engine +Group: System/Libraries -%description debuginfo -Debugging libs for the Tesseract Open Source OCR Engine. +%description -n libtesseract%{so_ver} +A commercial quality OCR engine originally developed at HP between 1985 and +1995. In 1995, this engine was among the top 3 evaluated by UNLV. It was +open-sourced by HP and UNLV in 2005. From 2007 it is developed by Google. %prep %setup -q -b1 -n %{tarname} -## FIXME: do something with %{SOURCE1} %build -# Regenerate build system because of missing Makefile.in -./autogen.sh export CXXFLAGS="%{optflags} -fno-strict-aliasing -fPIC" %configure --disable-static make %{?_smp_mflags} @@ -83,9 +83,9 @@ # Fix rpmlint warning "files-duplicate" %fdupes -s %{buildroot} -%post -p /sbin/ldconfig +%post -n libtesseract%{so_ver} -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libtesseract%{so_ver} -p /sbin/ldconfig %files %defattr(-,root,root,-) @@ -94,7 +94,6 @@ %dir %{_datadir}/tessdata %{_datadir}/tessdata/configs/ %{_datadir}/tessdata/tessconfigs/ -%{_libdir}/lib%{name}*.so.* %{_mandir}/man1/*.1%{ext_man} %{_mandir}/man5/*.5%{ext_man} @@ -105,8 +104,8 @@ %{_libdir}/lib%{name}*.so %{_libdir}/pkgconfig/*.pc -%files debuginfo +%files -n libtesseract%{so_ver} %defattr(-,root,root,-) -/usr/lib/debug/* +%{_libdir}/libtesseract.so.%{so_ver}* %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org