Group: Libraries
Source0: http://poppler.freedesktop.org/%{name}-%{version}.tar.gz
# Source0-md5: 1a3ea3000d3446a97366c37b876979f4
+Patch0: %{name}-qt4.patch
URL: http://poppler.freedesktop.org/
%{?with_qt4:BuildRequires: QtGui-devel >= 4.1.0}
%{?with_qt4:BuildRequires: QtXml-devel >= 4.1.0}
%{?with_qt4:BuildRequires: QtTest-devel >= 4.1.0}
+%{?with_qt4:BuildRequires: qt4-build}
BuildRequires: autoconf >= 2.59
BuildRequires: automake
%{?with_cairo:BuildRequires: cairo-devel >= %{cairo_ver}}
%prep
%setup -q
+%patch0 -p1
%build
%{?with_apidocs:%{__gtkdocize}}