forked from pool/python-PyMuPDF
- Run spec-cleaner
- Run tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
3927eadd20
commit
6ed1b51aca
@@ -17,30 +17,27 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
|
||||
%define pypi_name PyMuPDF
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.14.14
|
||||
Release: 0
|
||||
Summary: Python binding for MuPDF - a lightweight PDF and XPS viewer
|
||||
License: GPL-3.0 and AGPL-3.0
|
||||
License: GPL-3.0-only AND AGPL-3.0-only
|
||||
Group: Development/Languages/Python
|
||||
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: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: gcc
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: mupdf-devel-static
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: openjpeg2-devel
|
||||
BuildRequires: jbig2dec-devel
|
||||
BuildRequires: freetype-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: harfbuzz-devel
|
||||
|
||||
BuildRequires: jbig2dec-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: mupdf-devel-static
|
||||
BuildRequires: openjpeg2-devel
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: zlib-devel
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
Reference in New Issue
Block a user