Hello community,

here is the log from the commit of package poppler.2607 for 
openSUSE:12.3:Update checked in at 2014-03-07 10:19:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/poppler.2607 (Old)
 and      /work/SRC/openSUSE:12.3:Update/.poppler.2607.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "poppler.2607"

Changes:
--------
New Changes file:

--- /dev/null   2014-02-13 01:09:38.344032506 +0100
+++ /work/SRC/openSUSE:12.3:Update/.poppler.2607.new/poppler-qt.changes 
2014-03-07 10:19:14.000000000 +0100
@@ -0,0 +1,1831 @@
+-------------------------------------------------------------------
+Wed Feb 26 17:01:08 UTC 2014 - [email protected]
+
+- bnc#864299 was fixed: libpoppler-devel includes poppler-cpp.pc
+  and libpoppler-cpp.so (symlink to libpoppler-cpp.so.*).
+  So libpoppler-devel must require libpoppler-cpp.
+
+-------------------------------------------------------------------
+Wed Jan 22 10:02:43 UTC 2014 - [email protected]
+
+- Add poppler-bnc859427-cve-2013-7296.patch, fix CVE-2013-7296,
+  DoS due to a format string error (bnc#859427).
+
+-------------------------------------------------------------------
+Mon Feb 25 19:21:36 UTC 2013 - [email protected]
+
+- Update to version 0.22.1:
+  + core:
+    - Fix crash in some pdf files when extracting text (fdo#59561).
+    - Fix crashes in wrongly formed files.
+    - Fix wrong warning when opening some files (fdo#58966).
+  + build system: Improve autoconf jpeglib.h detection (fdo#59186).
+- Following security bugs are fixed: CVE-2013-1788, CVE-2013-1789,
+  CVE-2013-1790 (bnc#806793)
+
+-------------------------------------------------------------------
+Fri Jan  4 12:01:11 UTC 2013 - [email protected]
+
+- Update to version 0.22.0:
+  + core:
+    - Fix crash in invalid files that define a <= 0 bits per image 
+      value
+    - Fix a few issues in JPX decoding when not using OpenJPEG
+    - TextOutputDev: Use page size for max value in 
+      TextPage::visitSelection
+    - Fix typo in error message
+  + utils:
+    - Fix pdfunite regression (fdo#358569)
+    - Demo fixes and improvements
+  + misc:
+    - pdf-inspector improvements
+
+-------------------------------------------------------------------
+Tue Dec 18 09:29:36 UTC 2012 - [email protected]
+
+- Update to version 0.21.4:
+  + core:
+    - SplashOutputDev: Fix crash when rendering in monochrome mode
+    - SplashOutputDev: Fix line widths in monochrome mode
+      (fdo#57294)
+    - PSOutputDev: Fix crop on EPS conversion (fdo#30692)
+    - TextOutputDev: Fix minor logic mistake
+    - Fix assert on some malformed files (fdo#58257)
+    - Move #include "jpeglib.h" into .cc file (fdo#57687)
+    - Filter text that may end up being written to the shell
+    - Fix windows compile warnings
+  + glib:
+    - Add poppler_annot_set_flags (fdo#58015)
+    - Demo fixes and improvements
+  + qt4:
+    - Fix check_lexer on 32-bit systems
+- Changes from version 0.21.3:
+  + core:
+    - Splash: Implement bilinear image scaling (fdo#22138)
+    - CairoOutputDev: Update fill and stroke color in startPage
+      (fdo#54526)
+    - Fix GooString::insert()
+    - Allow large chars in TextPage
+    - Fix crash on ActualText::end
+    - Don't use memcpy to copy classes
+    - Fix warnings
+   + glib:
+     - Check if words end with spaces (fdo#54504)
+     - Ensure text is only computed on first render
+     - Fix warnings while generating introspection file
+     - Fix returns tag in PopplerAttachmentSaveFunc api doc
+     - Minor demo fixes
+- Changes from version 0.21.2:
+  + core:
+    - CairoOutputDev: make drawImage work with images > 32767 in
+      width/height (fdo#56858)
+    - CairoOutputDev: Fix soft mask when image resolution != smask
+      resolution (fdo#57070)
+    - CairoOutputDev: Fix crash in CairoImageOutputDev with
+      setSoftMaskFromImageMask (fdo#57067)
+    - Remove a check on fonts that we don't need (fdo#56753)
+    - Misc code cleanups
+  + utils:
+    - pdftocairo: Add tiff output support (fdo#57006)
+    - pdfunite: Fix -v (fdo#56817)
+    - Misc code cleanups
+
+-------------------------------------------------------------------
+Fri Nov  9 20:49:06 UTC 2012 - [email protected]
+
+- Update to version 0.21.1:
+ core:
+  * Annotation improvements
+  * Form improvements
+  * CairoImageOutputDev: Support parameterized Gouraud shading (Bug #56463)
+  * UTF validation fixes
+  * Do not call drawing routines if we don't need non text (Bug #54617)
+  * Fix Memory leak in CharCodeToUnicode (Bug #54702)
+ qt4:
+  * Make LinkRendition properties available (Bug #55378)
+  * Accessors for FormWidgetChoice::editChoice
+  * Implement overprint
+
+-------------------------------------------------------------------
+Sun Oct 14 08:48:23 UTC 2012 - [email protected]
+
+- Update to version 0.21.0:
+  + core:
+    - Support the modification of files with Encrypt
+    - Annotation improvements
+    - Form improvements
+    - Splash: Implement DeviceN support
+    - Splash: Avoid bogus memory error for tilingPattern
+    - TextOutputDev: Allow multiple fonts in a TextWord
+    - Kill the concept of base dir
+    - PSOutputDev: Always write HiResBoundingBox (fdo#53159)
+    - Convert UTF-16 to UCS-4 when reading toUnicode cmap
+    - GooString formatting: add support for uppercase hexadecimal
+    - Use error() instead of fprintf(stderr, ...) in
+      Annot::layoutText
+    - poppler-config.h: remove WITH_FONTCONFIGURATION_* macros
+  + glib:
+    - Annotation improvements
+    - Add poppler_page_remove_annot()
+    - Add poppler_document_new_from_stream
+    - Add poppler_document_new_from_gfile
+    - Add poppler_page_find_text_with_options (fdo#2951)
+    - Demo improvements
+    - Port tests and demo to GTK+3
+  + qt4:
+    - Add accessor methods for movie poster information
+    - Make 'additional actions' available in Annotation API
+      (fdo#53589)
+    - Add whole-page search method to Poppler::Page
+    - Small changes in tests
+  + utils:
+    - pdftohtml: Make the output more xhtml compliant
+    - pdftohtml: Add -fontfullname. (fdo#49872)
+    - pdftohtml: Do not invoke gs anymore
+  + build system:
+    - Add the possibility of using lcms1 even if lcms2 is installed
+    - Remove extra fontconfig CFLAGS and LIBS
+- Changes from version 0.20.4:
+  + core:
+    - Improvements regarding embedded file handling. (KDE#306008)
+    - Fix opening some broken files (fdo#14303)
+    - Fix memory leaks
+    - Fix crashes in various broken files
+    - Refine warning to only complain when really needed
+    - Remove function declared but not implemented
+    - Remove execution permissions from a header file
+  + qt4:
+    - Improvements regarding embedded file handling. (KDE#306008)
+- Bump sonames following upstream changes.
+
+-------------------------------------------------------------------
+Fri Sep  7 20:20:16 UTC 2012 - [email protected]
+
+- Update to version 0.20.3:
+  + core:
+    - If NULL, NULL fails as password try EMPTY, EMPTY before
+      failing (Bug #3498)
+    - SplashOutputDev:
+      . Fix bogus memory allocation size in
+        Splash::arbitraryTransformImage (Bug #49523)
+      . Fix segfault when scaleImage returns NULL (Bug #52488)
+      . Blend mode enhancements for CMYK
+    - PSOutputDev:
+      .  Fix conversion when creating multiple strips (Bug #51982)
+      .  Fix Bitmaps in level2sep or level3sep (Bug #52384)
+      . Fix DeviceN images with alternate Lab colorspace in level 3
+        PostScript (Bug #51822)
+      . Make sure xScale and yScale are always initialized
+        (Bug #52215)
+    -  Unify poppler-config.h includes in core "installed" headers
+       (Bug #52193)
+    -  Replace c++ style includes with c style ones (Bug #52426)
+  + utils:
+    -  pdfseparate: Return 0 on success.
+- Bump poppler_soname to 27, following library soversion change.
+
+-------------------------------------------------------------------
+Tue Aug 21 15:10:28 UTC 2012 - [email protected]
+
+- license update: GPL-2.0 or GPL-3.0
+  poppler has a dual license (either GPL-2.0 or GPL-3.0) and emphasise that
+  it does not use "or later"
+
+-------------------------------------------------------------------
+Sun Jul 29 13:39:40 UTC 2012 - [email protected]
+
+- Update to version 0.20.2 (bnc#774627):
++++ 1634 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.3:Update/.poppler.2607.new/poppler-qt.changes
New Changes file:

poppler.changes: same change

New:
----
  poppler-0.22.1.tar.gz
  poppler-bnc859427-cve-2013-7296.patch
  poppler-qt.changes
  poppler-qt.spec
  poppler.changes
  poppler.spec
  pre_checkin.sh

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ poppler-qt.spec ++++++
#
# spec file for package poppler-qt
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


%define build_qt 1

Name:           poppler-qt
%define _name   poppler
Version:        0.22.1
Release:        0
# Actual version of poppler-data:
%define poppler_data_version 0.2.1
%define poppler_soname 34
%define poppler_cpp_soname 0
%define poppler_glib_soname 8
%define poppler_qt4_soname 4
%define poppler_api 0.18
%define poppler_apipkg 0_18
Url:            http://poppler.freedesktop.org/
Summary:        PDF Rendering Library
License:        GPL-2.0 or GPL-3.0
Group:          System/Libraries
Source:         http://poppler.freedesktop.org/%{_name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM poppler-bnc859427-cve-2013-7296.patch bnc#859427 
CVE-2013-729 [email protected] -- DoS due to a format string error
Patch0:         poppler-bnc859427-cve-2013-7296.patch
BuildRequires:  gcc-c++
BuildRequires:  gobject-introspection-devel
BuildRequires:  libjpeg-devel
BuildRequires:  libtiff-devel
%if %build_qt
BuildRequires:  libqt4-devel
%endif
%if 0%{?suse_version} > 1210
BuildRequires:  openjpeg-devel
%endif
BuildRequires:  update-desktop-files
BuildRequires:  zlib-devel
BuildRequires:  pkgconfig(cairo) >= 1.10.0
BuildRequires:  pkgconfig(cairo-ft) >= 1.10.0
BuildRequires:  pkgconfig(cairo-pdf)
BuildRequires:  pkgconfig(cairo-ps)
BuildRequires:  pkgconfig(cairo-svg)
BuildRequires:  pkgconfig(fontconfig)
BuildRequires:  pkgconfig(freetype2)
BuildRequires:  pkgconfig(gobject-2.0) >= 2.18
BuildRequires:  pkgconfig(lcms2)
BuildRequires:  pkgconfig(libpng)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

%package -n libpoppler%{poppler_soname}
Summary:        PDF Rendering Library
Group:          System/Libraries
Recommends:     poppler-data >= %{poppler_data_version}
# Last appeared in OpenSUSE 10.3:
Provides:       poppler = %{version}
Obsoletes:      poppler < %{version}

%description -n libpoppler%{poppler_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

%package -n libpoppler-cpp%{poppler_cpp_soname}
Summary:        PDF Rendering Library
Group:          System/Libraries

%description -n libpoppler-cpp%{poppler_cpp_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

%package -n libpoppler-glib%{poppler_glib_soname}
Summary:        PDF Rendering Library - GLib Wrapper
Group:          System/Libraries
Requires:       libpoppler%{poppler_soname} >= %{version}
# Last appeared in OpenSUSE 10.3:
Provides:       poppler-glib = %{version}
Obsoletes:      poppler-glib < %{version}

%description -n libpoppler-glib%{poppler_glib_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

%package -n typelib-1_0-Poppler-%{poppler_apipkg}
Summary:        PDF Rendering Library - Introspection bindings
Group:          System/Libraries

%description -n typelib-1_0-Poppler-%{poppler_apipkg}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

This package provides the GObject Introspection bindings for Poppler.

%if %build_qt

%package -n libpoppler-qt4-%{poppler_qt4_soname}
Summary:        PDF Rendering Library - Qt4 Wrapper
Group:          System/Libraries
Requires:       libpoppler%{poppler_soname} >= %{version}
# Last appeared in OpenSUSE 10.3:
Provides:       poppler-qt4 = %{version}
Obsoletes:      poppler-qt4 < %{version}

%description -n libpoppler-qt4-%{poppler_qt4_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%endif

%package tools
Summary:        PDF Rendering Library Tools
Group:          Productivity/Publishing/PDF
Requires:       libpoppler%{poppler_soname} >= %{version}
# last version in openSUSE 11.1/SLE11
Provides:       xpdf-tools = 3.02
Obsoletes:      xpdf-tools < 3.02
Provides:       pdftools_any

%description tools
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

%package -n libpoppler-devel
Summary:        PDF rendering library
Group:          Development/Libraries/C and C++
Requires:       libpoppler%{poppler_soname} = %{version}
Requires:       libpoppler-cpp%{poppler_cpp_soname} = %{version}
Requires:       libstdc++-devel
# Last appeared in OpenSUSE 10.3:
Provides:       poppler-devel = %{version}
Obsoletes:      poppler-devel < %{version}

%description -n libpoppler-devel
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

%package -n libpoppler-glib-devel
Summary:        PDF rendering library - GLib Wrapper
Group:          Development/Libraries/C and C++
Requires:       libpoppler-glib%{poppler_glib_soname} = %{version}
Requires:       typelib-1_0-Poppler-%{poppler_apipkg} = %{version}
# Last appeared in OpenSUSE 10.3:
Provides:       poppler-devel:%{_libdir}/libpoppler-glib.so
# Last appeared in 11.4
Provides:       libpoppler-doc = %{version}
Obsoletes:      libpoppler-doc < %{version}
# Last appeared in OpenSUSE 10.3:
Provides:       poppler-doc = %{version}
Obsoletes:      poppler-doc < %{version}

%description -n libpoppler-glib-devel
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

%if %build_qt

%package -n libpoppler-qt4-devel
Summary:        PDF rendering library - Qt4 Wrapper
Group:          Development/Libraries/C and C++
Requires:       libpoppler-devel = %{version}
Requires:       libpoppler-qt4-%{poppler_qt4_soname} = %{version}
Requires:       libqt4-devel
# Last appeared in OpenSUSE 10.3:
Provides:       poppler-devel:%{_libdir}/libpoppler-qt4.so

%description -n libpoppler-qt4-devel
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%endif

%prep
%setup -q -n poppler-%{version}
%patch0 -p1
%build
%configure\
        --enable-xpdf-headers\
        --disable-static\
        --enable-shared\
        --enable-zlib \
        --disable-gtk-test
make %{?_smp_mflags}

%install
%makeinstall
rm %{buildroot}%{_libdir}/*.la
%if %build_qt
cd %{buildroot} && find . -type f -o -type l | grep -v qt | xargs rm -v
%endif

%post -n libpoppler%{poppler_soname} -p /sbin/ldconfig

%post -n libpoppler-glib%{poppler_glib_soname} -p /sbin/ldconfig

%if %build_qt

%post -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig
%endif

%postun -n libpoppler%{poppler_soname} -p /sbin/ldconfig

%postun -n libpoppler-glib%{poppler_glib_soname} -p /sbin/ldconfig

%post -n libpoppler-cpp%{poppler_cpp_soname} -p /sbin/ldconfig

%postun -n libpoppler-cpp%{poppler_cpp_soname} -p /sbin/ldconfig

%if %build_qt

%postun -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig
%endif

%if %build_qt

%files -n libpoppler-qt4-%{poppler_qt4_soname}
%defattr (-, root, root)
%{_libdir}/libpoppler-qt4.so.%{poppler_qt4_soname}*

%files -n libpoppler-qt4-devel
%defattr (-, root, root)
%dir %{_includedir}/poppler
%{_includedir}/poppler/qt4
%{_libdir}/libpoppler-qt4.so
%{_libdir}/pkgconfig/poppler-qt4.pc

%else

%files -n libpoppler%{poppler_soname}
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README README-XPDF TODO
%{_libdir}/libpoppler.so.%{poppler_soname}*

%files -n libpoppler-glib%{poppler_glib_soname}
%defattr (-, root, root)
%{_libdir}/libpoppler-glib.so.%{poppler_glib_soname}*

%files -n typelib-1_0-Poppler-%{poppler_apipkg}
%defattr (-, root, root)
%{_libdir}/girepository-1.0/Poppler-%{poppler_api}.typelib

%files tools
%defattr (-, root, root)
%doc COPYING
%{_bindir}/*
%doc %{_mandir}/man1/*.*

%files -n libpoppler-cpp%{poppler_cpp_soname}
%defattr(-, root, root)
%{_libdir}/libpoppler-cpp.so.%{poppler_cpp_soname}*

%files -n libpoppler-devel
%defattr (-, root, root)
%{_includedir}/poppler
%exclude %{_includedir}/poppler/glib
%{_libdir}/libpoppler.so
%{_libdir}/libpoppler-cpp.so
%{_libdir}/pkgconfig/poppler.pc
%{_libdir}/pkgconfig/poppler-cairo.pc
%{_libdir}/pkgconfig/poppler-cpp.pc
%{_libdir}/pkgconfig/poppler-splash.pc

%files -n libpoppler-glib-devel
%defattr (-, root, root)
%{_includedir}/poppler/glib
%{_libdir}/libpoppler-glib.so
%{_libdir}/pkgconfig/poppler-glib.pc
%{_datadir}/gir-1.0/Poppler-%{poppler_api}.gir
%doc %{_datadir}/gtk-doc/html/poppler/

%endif

%changelog
++++++ poppler.spec ++++++
#
# spec file for package poppler
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


%define build_qt 0

Name:           poppler
%define _name   poppler
Version:        0.22.1
Release:        0
# Actual version of poppler-data:
%define poppler_data_version 0.2.1
%define poppler_soname 34
%define poppler_cpp_soname 0
%define poppler_glib_soname 8
%define poppler_qt4_soname 4
%define poppler_api 0.18
%define poppler_apipkg 0_18
Url:            http://poppler.freedesktop.org/
Summary:        PDF Rendering Library
License:        GPL-2.0 or GPL-3.0
Group:          System/Libraries
Source:         http://poppler.freedesktop.org/%{_name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM poppler-bnc859427-cve-2013-7296.patch bnc#859427 
CVE-2013-729 [email protected] -- DoS due to a format string error
Patch0:         poppler-bnc859427-cve-2013-7296.patch
BuildRequires:  gcc-c++
BuildRequires:  gobject-introspection-devel
BuildRequires:  libjpeg-devel
BuildRequires:  libtiff-devel
%if %build_qt
BuildRequires:  libqt4-devel
%endif
%if 0%{?suse_version} > 1210
BuildRequires:  openjpeg-devel
%endif
BuildRequires:  update-desktop-files
BuildRequires:  zlib-devel
BuildRequires:  pkgconfig(cairo) >= 1.10.0
BuildRequires:  pkgconfig(cairo-ft) >= 1.10.0
BuildRequires:  pkgconfig(cairo-pdf)
BuildRequires:  pkgconfig(cairo-ps)
BuildRequires:  pkgconfig(cairo-svg)
BuildRequires:  pkgconfig(fontconfig)
BuildRequires:  pkgconfig(freetype2)
BuildRequires:  pkgconfig(gobject-2.0) >= 2.18
BuildRequires:  pkgconfig(lcms2)
BuildRequires:  pkgconfig(libpng)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

%package -n libpoppler%{poppler_soname}
Summary:        PDF Rendering Library
Group:          System/Libraries
Recommends:     poppler-data >= %{poppler_data_version}
# Last appeared in OpenSUSE 10.3:
Provides:       poppler = %{version}
Obsoletes:      poppler < %{version}

%description -n libpoppler%{poppler_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

%package -n libpoppler-cpp%{poppler_cpp_soname}
Summary:        PDF Rendering Library
Group:          System/Libraries

%description -n libpoppler-cpp%{poppler_cpp_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

%package -n libpoppler-glib%{poppler_glib_soname}
Summary:        PDF Rendering Library - GLib Wrapper
Group:          System/Libraries
Requires:       libpoppler%{poppler_soname} >= %{version}
# Last appeared in OpenSUSE 10.3:
Provides:       poppler-glib = %{version}
Obsoletes:      poppler-glib < %{version}

%description -n libpoppler-glib%{poppler_glib_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

%package -n typelib-1_0-Poppler-%{poppler_apipkg}
Summary:        PDF Rendering Library - Introspection bindings
Group:          System/Libraries

%description -n typelib-1_0-Poppler-%{poppler_apipkg}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

This package provides the GObject Introspection bindings for Poppler.

%if %build_qt

%package -n libpoppler-qt4-%{poppler_qt4_soname}
Summary:        PDF Rendering Library - Qt4 Wrapper
Group:          System/Libraries
Requires:       libpoppler%{poppler_soname} >= %{version}
# Last appeared in OpenSUSE 10.3:
Provides:       poppler-qt4 = %{version}
Obsoletes:      poppler-qt4 < %{version}

%description -n libpoppler-qt4-%{poppler_qt4_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%endif

%package tools
Summary:        PDF Rendering Library Tools
Group:          Productivity/Publishing/PDF
Requires:       libpoppler%{poppler_soname} >= %{version}
# last version in openSUSE 11.1/SLE11
Provides:       xpdf-tools = 3.02
Obsoletes:      xpdf-tools < 3.02
Provides:       pdftools_any

%description tools
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

%package -n libpoppler-devel
Summary:        PDF rendering library
Group:          Development/Libraries/C and C++
Requires:       libpoppler%{poppler_soname} = %{version}
Requires:       libpoppler-cpp%{poppler_cpp_soname} = %{version}
Requires:       libstdc++-devel
# Last appeared in OpenSUSE 10.3:
Provides:       poppler-devel = %{version}
Obsoletes:      poppler-devel < %{version}

%description -n libpoppler-devel
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

%package -n libpoppler-glib-devel
Summary:        PDF rendering library - GLib Wrapper
Group:          Development/Libraries/C and C++
Requires:       libpoppler-glib%{poppler_glib_soname} = %{version}
Requires:       typelib-1_0-Poppler-%{poppler_apipkg} = %{version}
# Last appeared in OpenSUSE 10.3:
Provides:       poppler-devel:%{_libdir}/libpoppler-glib.so
# Last appeared in 11.4
Provides:       libpoppler-doc = %{version}
Obsoletes:      libpoppler-doc < %{version}
# Last appeared in OpenSUSE 10.3:
Provides:       poppler-doc = %{version}
Obsoletes:      poppler-doc < %{version}

%description -n libpoppler-glib-devel
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.

%if %build_qt

%package -n libpoppler-qt4-devel
Summary:        PDF rendering library - Qt4 Wrapper
Group:          Development/Libraries/C and C++
Requires:       libpoppler-devel = %{version}
Requires:       libpoppler-qt4-%{poppler_qt4_soname} = %{version}
Requires:       libqt4-devel
# Last appeared in OpenSUSE 10.3:
Provides:       poppler-devel:%{_libdir}/libpoppler-qt4.so

%description -n libpoppler-qt4-devel
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%endif

%prep
%setup -q -n poppler-%{version}
%patch0 -p1
%build
%configure\
        --enable-xpdf-headers\
        --disable-static\
        --enable-shared\
        --enable-zlib \
        --disable-gtk-test
make %{?_smp_mflags}

%install
%makeinstall
rm %{buildroot}%{_libdir}/*.la
%if %build_qt
cd %{buildroot} && find . -type f -o -type l | grep -v qt | xargs rm -v
%endif

%post -n libpoppler%{poppler_soname} -p /sbin/ldconfig

%post -n libpoppler-glib%{poppler_glib_soname} -p /sbin/ldconfig

%if %build_qt

%post -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig
%endif

%postun -n libpoppler%{poppler_soname} -p /sbin/ldconfig

%postun -n libpoppler-glib%{poppler_glib_soname} -p /sbin/ldconfig

%post -n libpoppler-cpp%{poppler_cpp_soname} -p /sbin/ldconfig

%postun -n libpoppler-cpp%{poppler_cpp_soname} -p /sbin/ldconfig

%if %build_qt

%postun -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig
%endif

%if %build_qt

%files -n libpoppler-qt4-%{poppler_qt4_soname}
%defattr (-, root, root)
%{_libdir}/libpoppler-qt4.so.%{poppler_qt4_soname}*

%files -n libpoppler-qt4-devel
%defattr (-, root, root)
%dir %{_includedir}/poppler
%{_includedir}/poppler/qt4
%{_libdir}/libpoppler-qt4.so
%{_libdir}/pkgconfig/poppler-qt4.pc

%else

%files -n libpoppler%{poppler_soname}
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README README-XPDF TODO
%{_libdir}/libpoppler.so.%{poppler_soname}*

%files -n libpoppler-glib%{poppler_glib_soname}
%defattr (-, root, root)
%{_libdir}/libpoppler-glib.so.%{poppler_glib_soname}*

%files -n typelib-1_0-Poppler-%{poppler_apipkg}
%defattr (-, root, root)
%{_libdir}/girepository-1.0/Poppler-%{poppler_api}.typelib

%files tools
%defattr (-, root, root)
%doc COPYING
%{_bindir}/*
%doc %{_mandir}/man1/*.*

%files -n libpoppler-cpp%{poppler_cpp_soname}
%defattr(-, root, root)
%{_libdir}/libpoppler-cpp.so.%{poppler_cpp_soname}*

%files -n libpoppler-devel
%defattr (-, root, root)
%{_includedir}/poppler
%exclude %{_includedir}/poppler/glib
%{_libdir}/libpoppler.so
%{_libdir}/libpoppler-cpp.so
%{_libdir}/pkgconfig/poppler.pc
%{_libdir}/pkgconfig/poppler-cairo.pc
%{_libdir}/pkgconfig/poppler-cpp.pc
%{_libdir}/pkgconfig/poppler-splash.pc

%files -n libpoppler-glib-devel
%defattr (-, root, root)
%{_includedir}/poppler/glib
%{_libdir}/libpoppler-glib.so
%{_libdir}/pkgconfig/poppler-glib.pc
%{_datadir}/gir-1.0/Poppler-%{poppler_api}.gir
%doc %{_datadir}/gtk-doc/html/poppler/

%endif

%changelog
++++++ poppler-bnc859427-cve-2013-7296.patch ++++++
>From 58e04a08afee39370283c494ee2e4e392fd3b684 Mon Sep 17 00:00:00 2001
From: Fabio D'Urso <[email protected]>
Date: Sat, 07 Dec 2013 16:33:09 +0000
Subject: segExtraBytes is a goffset not an int so use lld

Fixes KDE bug #328511
---
diff --git a/poppler/JBIG2Stream.cc b/poppler/JBIG2Stream.cc
index 12de50e..dbc7bdc 100644
--- a/poppler/JBIG2Stream.cc
+++ b/poppler/JBIG2Stream.cc
@@ -1495,7 +1495,7 @@ void JBIG2Stream::readSegments() {
        // arithmetic-coded symbol dictionary segments when numNewSyms
        // == 0.  Segments like this often occur for blank pages.
        
-       error(errSyntaxError, curStr->getPos(), "{0:d} extraneous byte{1:s} 
after segment",
+       error(errSyntaxError, curStr->getPos(), "{0:lld} extraneous byte{1:s} 
after segment",
              segExtraBytes, (segExtraBytes > 1) ? "s" : "");
        
        // Burn through the remaining bytes -- inefficient, but
--
cgit v0.9.0.2-2-gbebe
++++++ pre_checkin.sh ++++++
#!/bin/sh

sed -e 's,build_qt 0,build_qt 1,' poppler.spec > poppler-qt.spec
sed -e 's,^Name:.*,Name: poppler-qt,' -i poppler-qt.spec
cp poppler.changes poppler-qt.changes
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to