Info2: << Package: poppler-py%type_pkg[python] Version: 0.12.1 Revision: 5 Type: python (2.7) Description: Python bindings for Poppler DescDetail: << Poppler is a PDF rendering library based on the xpdf-3.0 code base. This package contains the Python bindings for Poppler. If you were looking for the fable of the poppy and the python, please check your local library. << Maintainer: None License: GPL Homepage: https://launchpad.net/poppler-python DescPackaging: << Former Maintainer: Koen van der Drift << Source: http://launchpad.net/poppler-python/trunk/development/+download/pypoppler-%v.tar.gz Source-Checksum: SHA256(322f183d24798a056f3005d1ab8e3ac27d8cfbbf0982725b323bbfec1bab5355) Source2: mirror:debian:pool/main/p/python-poppler/python-poppler_0.12.1-9.debian.tar.xz Source2-Checksum: SHA256(0ad84515089643272041e465fc72743d746a239b4c8d09a136565e5d9cead020) PatchFile: %{ni}.patch PatchFile-MD5: 91f003f83a197b07ea3d92f8680283eb PatchScript: << patch -p1 < ../debian/patches/01-poppler-0.15.diff patch -p1 < ../debian/patches/02-poppler-0.18.diff patch -p1 < ../debian/patches/03-psfilenew.diff patch -p1 < ../debian/patches/04-closefiles.diff # https://gitlab.freedesktop.org/poppler/poppler/-/issues/80 patch -p1 < ../debian/patches/05-poppler-0.39.diff # https://bugs.launchpad.net/poppler-python/+bug/474138 %{default_script} # https://bugs.launchpad.net/poppler-python/+bug/1152653 perl -pi -e 's,glib/poppler.h,poppler.h,' popplermodule.c poppler.override # pygtk-2.0.pc does not publish Requires:gtk+-2.0 # but its public .h #includes headers from it perl -pi -e 's/(pygtk-2.0 >=)/gtk+-2.0 \1/g' configure # fix Puma linking in configure on Yosemite perl -pi -e 's|10\.\[012\]\*|10.[012][,.]*|g' configure << Depends: << atk1-shlibs (>= 1.32.0-1), cairo-shlibs (>= 1.12.8-1), fontconfig2-shlibs (>= 2.10.0-1), freetype219-shlibs (>= 2.10.2-1), glib2-shlibs (>= 2.22.0-1), gtk+2-shlibs (>= 2.18.0-1), pango1-xft2-ft219-shlibs (>= 1.24.5-4), poppler8-glib-shlibs (>= 0.47.0-1), pycairo-py%type_pkg[python] (>= 1.10.0-1), pygobject2-py%type_pkg[python] (>= 2.20.0-1), pygtk2-gtk-py%type_pkg[python] (>= 2.16.0-1), python%type_pkg[python] << BuildDepends: << atk1 (>= 1.32.0-1), cairo (>= 1.12.8-1), fink (>= 0.32), fink-package-precedence, fontconfig2-dev (>= 2.10.0-1), freetype219 (>= 2.10.2-1), glib2-dev (>= 2.22.0-1), gtk+2-dev (>= 2.18.0-1), pango1-xft2-ft219-dev (>= 1.24.5-4), pkgconfig (>= 0.23), poppler8-glib (>= 0.47.0-1), pycairo-py%type_pkg[python]-dev (>= 1.10.0-1), pygobject2-py%type_pkg[python]-dev (>= 2.20.0-1), pygtk2-gtk-py%type_pkg[python]-dev (>= 2.16.0-1), x11-dev << ConfigureParams: PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH" PYTHON=%p/bin/python%type_raw[python] CompileScript: << ./configure %c make fink-package-precedence . << InstallScript: << make -j1 install DESTDIR=%d << DocFiles: AUTHORS COPYING ChangeLog NEWS <<