14
0
2022-05-10 00:18:34 +00:00
committed by Git OBS Bridge
parent 4edbc57df6
commit b350956167

View File

@@ -29,7 +29,9 @@ Group: Development/Libraries/Python
URL: https://github.com/pymupdf/PyMuPDF
Source: https://files.pythonhosted.org/packages/source/P/PyMuPDF/PyMuPDF-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -60,10 +62,10 @@ book formats. PyMuPDF can also access files with extensions *.pdf,
%build
export CFLAGS="%{optflags} -I/usr/include/freetype2"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
rm %{buildroot}%{_prefix}/{COPYING,README.md,changes.rst}
%python_expand %fdupes %{buildroot}%{$python_sitearch}