%bcond_without qt5 # disable qt5 wrapper
%bcond_without cpp # disable cpp wrapper
%bcond_without glib # disable glib wrapper
%bcond_without qt5 # disable qt5 wrapper
%bcond_without cpp # disable cpp wrapper
%bcond_without glib # disable glib wrapper
License: GPL v2+
Group: Libraries
Source0: http://poppler.freedesktop.org/%{name}-%{version}.tar.xz
# Source0-md5: 2da22b966cf7a2f8da5bf021e68188ce
Patch0: %{name}-qt5.patch
URL: http://poppler.freedesktop.org/
License: GPL v2+
Group: Libraries
Source0: http://poppler.freedesktop.org/%{name}-%{version}.tar.xz
# Source0-md5: 2da22b966cf7a2f8da5bf021e68188ce
Patch0: %{name}-qt5.patch
URL: http://poppler.freedesktop.org/
%{?with_qt5:BuildRequires: Qt5Core-devel >= 5.0.0}
%{?with_qt5:BuildRequires: Qt5Gui-devel >= 5.0.0}
%{?with_qt5:BuildRequires: Qt5Test-devel >= 5.0.0}
%{?with_qt5:BuildRequires: Qt5Widgets-devel >= 5.0.0}
%{?with_qt5:BuildRequires: Qt5Xml-devel >= 5.0.0}
%{?with_qt5:BuildRequires: Qt5Core-devel >= 5.0.0}
%{?with_qt5:BuildRequires: Qt5Gui-devel >= 5.0.0}
%{?with_qt5:BuildRequires: Qt5Test-devel >= 5.0.0}
%{?with_qt5:BuildRequires: Qt5Widgets-devel >= 5.0.0}
%{?with_qt5:BuildRequires: Qt5Xml-devel >= 5.0.0}
%{?with_qt4:BuildRequires: qt4-build >= 4.4.0}
%{?with_qt5:BuildRequires: qt5-build >= 5.0.0}
BuildRequires: sed >= 4.0
%{?with_qt4:BuildRequires: qt4-build >= 4.4.0}
%{?with_qt5:BuildRequires: qt5-build >= 5.0.0}
BuildRequires: sed >= 4.0
Summary: Header files for Qt4 wrapper for poppler
Summary(pl.UTF-8): Pliki nagłówkowe wrappera Qt4 dla popplera
Group: Development/Libraries
Summary: Header files for Qt4 wrapper for poppler
Summary(pl.UTF-8): Pliki nagłówkowe wrappera Qt4 dla popplera
Group: Development/Libraries
Requires: QtCore-devel >= 4.4.0
Requires: QtGui-devel >= 4.4.0
Requires: QtXml-devel >= 4.4.0
Requires: QtCore-devel >= 4.4.0
Requires: QtGui-devel >= 4.4.0
Requires: QtXml-devel >= 4.4.0
Summary: Header files for Qt5 wrapper for poppler
Summary(pl.UTF-8): Pliki nagłówkowe wrappera Qt5 dla popplera
Group: Development/Libraries
Summary: Header files for Qt5 wrapper for poppler
Summary(pl.UTF-8): Pliki nagłówkowe wrappera Qt5 dla popplera
Group: Development/Libraries
Requires: Qt5Core-devel >= 5.0.0
Requires: Qt5Gui-devel >= 5.0.0
Requires: Qt5Widgets-devel >= 5.0.0
Requires: Qt5Core-devel >= 5.0.0
Requires: Qt5Gui-devel >= 5.0.0
Requires: Qt5Widgets-devel >= 5.0.0