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
@@ -2,7 +2,7 @@
|
|||||||
Thu Apr 11 07:52:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Thu Apr 11 07:52:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
- Run spec-cleaner
|
- Run spec-cleaner
|
||||||
- Run tests
|
- Use freetype2 not old freetype1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 10 13:17:25 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
|
Wed Apr 10 13:17:25 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
|
||||||
|
@@ -28,16 +28,18 @@ URL: https://github.com/rk700/PyMuPDF
|
|||||||
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
||||||
Patch1: fix-library-linking.patch
|
Patch1: fix-library-linking.patch
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: freetype-devel
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: harfbuzz-devel
|
|
||||||
BuildRequires: jbig2dec-devel
|
BuildRequires: jbig2dec-devel
|
||||||
BuildRequires: libjpeg-devel
|
|
||||||
BuildRequires: mupdf-devel-static
|
BuildRequires: mupdf-devel-static
|
||||||
BuildRequires: openjpeg2-devel
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: pkgconfig(freetype2)
|
||||||
|
BuildRequires: pkgconfig(harfbuzz)
|
||||||
|
BuildRequires: pkgconfig(libjpeg)
|
||||||
|
BuildRequires: pkgconfig(libopenjp2)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -53,7 +55,6 @@ quality. With PyMuPDF you therefore can also access files with extensions
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Remove export CFLAGS=... for noarch packages (unneeded)
|
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
@@ -64,7 +65,6 @@ export CFLAGS="%{optflags}"
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README.md doc/PyMuPDF.pdf
|
%doc README.md doc/PyMuPDF.pdf
|
||||||
# For arch-specific packages: sitearch
|
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user