Name: python3-poppler-qt5 Version: 0.24.2 Release: 2%{?dist} Summary: Python bindings for the Poppler PDF rendering library License: LGPLv2+ URL: https://github.com/wbsoft/python-poppler-qt5 Source0: %{url}/archive/%{version}.tar.gz#/python-poppler-qt5-%{version}.tar.gz Patch0: faf4d1308f89560b0d849671226e3080dfc72e79.patch %{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}} Requires: python3-qt5 BuildRequires: python3-devel BuildRequires: python3-qt5-devel BuildRequires: python3-sip-devel >= 4.9.1 BuildRequires: pkgconfig(poppler-qt5) BuildRequires: sip-devel # we don't want to provide private python extension libs %{?filter_setup: %filter_provides_in %{python3_sitearch}/.*\.so$ %filter_setup } %description Python 3 bindings for the Poppler PDF rendering library. It is needed to run programs written in Python 3 and using Poppler set. %prep %setup -qn python-poppler-qt5-%{version} %patch0 -p1 sed -i s/\'qmake\'/\'qmake-qt5\'/g setup.py %build %py3_build %install %py3_install %files %license LICENSE %doc README.rst %{python3_sitearch}/popplerqt5.cpython-*.so %{python3_sitearch}/python_poppler* %changelog * Fri Jun 09 2017 Gwyn Ciesla - 0.24.2-2 - Review fixes. * Thu Jun 08 2017 Gwyn Ciesla - 0.24.2-1 - Initial package for Fedora