File python-poppler-qt4.spec of Package python-poppler-qt4

#
# spec file for package python-poppler-qt4
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2011 LISA GmbH, Bingen, Germany.
# Copyright (c) 2012 Johannes Engel <jcnengel@gmail.com>
#
# 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/
#


Name:           python-poppler-qt4
BuildRequires:  libpoppler-qt4-devel
BuildRequires:  python3-qt4-devel
Summary:        Python binding to poppler-qt4
License:        LGPL-2.1+
Group:          Development/Libraries/Python
Version:        0.24.0
Release:        0
Url:            https://github.com/wbsoft/python-poppler-qt4
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %{name}-%{version}.tar.gz

%description
Python binding to poppler-qt4


%prep
%setup -q

%build
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root="%{buildroot}"

%files
%defattr(-,root,root)
%doc ChangeLog LICENSE README.rst TODO
%{python3_sitearch}/popplerqt4*.so
%{python3_sitearch}/python_poppler_qt4*.egg-info

%changelog
openSUSE Build Service is sponsored by