2024-01-05 16:20:20 +01:00
|
|
|
%define pkgname %(echo %name | tr - _)
|
|
|
|
Name: python-poppler-qt5
|
|
|
|
Version: 21.3.0
|
2024-01-05 16:20:20 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 16:20:20 +01:00
|
|
|
Summary: A Python binding for libpoppler-qt5 that aims for completeness and for being actively maintained
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/frescobaldi/python-poppler-qt5
|
|
|
|
Source: https://pypi.debian.net/python-poppler-qt5/python-poppler-qt5-%{version}.tar.gz
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglvnd-devel
|
|
|
|
BuildRequires: libpoppler-qt5-devel
|
2024-01-05 16:20:20 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-05 16:20:20 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 16:20:20 +01:00
|
|
|
BuildRequires: python3.11dist(pyqt5)
|
|
|
|
BuildRequires: python3.11dist(pyqt5-sip)
|
2024-01-05 16:20:20 +01:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:20:20 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-05 16:20:20 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n python-poppler-qt5-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
sip-build%{?with_pyver?-py%with_pyver}
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
#local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
|
|
|
sip-install --target-dir=%{buildroot}%{python_sitearch}
|
|
|
|
|
|
|
|
%files %{?pyappend}
|
|
|
|
#-f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{python_sitearch}/PyQt5/bindings/popplerqt5
|
|
|
|
%{python_sitearch}/PyQt5/bindings/popplerqt5/*
|
|
|
|
%{python_sitearch}/popplerqt5.cpython*.so
|
|
|
|
%dir %{python_sitearch}/python_poppler_qt5-%{version}.dist-info
|
|
|
|
%{python_sitearch}/python_poppler_qt5-%{version}.dist-info/*
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:20:20 +01:00
|
|
|
* Wed Sep 27 2023 Automatic Build System <autodist@mambasoft.it> 21.3.0-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-05 16:20:20 +01:00
|
|
|
* Sat Feb 04 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 21.3.0-1mamba
|
|
|
|
- package created using the webbuild interface
|