forked from pool/python-PyMuPDF
- Use freetype2 not old freetype1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
6ed1b51aca
commit
8e398ce2c1
@@ -28,16 +28,18 @@ URL: https://github.com/rk700/PyMuPDF
|
||||
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
||||
Patch1: fix-library-linking.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: freetype-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: harfbuzz-devel
|
||||
BuildRequires: jbig2dec-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: mupdf-devel-static
|
||||
BuildRequires: openjpeg2-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(harfbuzz)
|
||||
BuildRequires: pkgconfig(libjpeg)
|
||||
BuildRequires: pkgconfig(libopenjp2)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -53,7 +55,6 @@ quality. With PyMuPDF you therefore can also access files with extensions
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
# Remove export CFLAGS=... for noarch packages (unneeded)
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
|
||||
@@ -64,7 +65,6 @@ export CFLAGS="%{optflags}"
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
%doc README.md doc/PyMuPDF.pdf
|
||||
# For arch-specific packages: sitearch
|
||||
%{python_sitearch}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user