Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
python-djvulibre
python-djvulibre.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-djvulibre.spec of Package python-djvulibre
# # spec file for package python-djvulibre # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-djvulibre Version: 0.8 Release: 0 Summary: Python Support for the DjVu Image Format License: GPL-2.0-only Group: Development/Libraries/Python URL: http://jwilk.net/software/python-djvulibre Source0: https://files.pythonhosted.org/packages/source/p/python-djvulibre/%{name}-%{version}.tar.gz Source1: https://files.pythonhosted.org/packages/source/p/python-djvulibre/%{name}-%{version}.tar.gz.asc Source2: %{name}.keyring BuildRequires: %{python_module Cython >= 0.19} BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module devel >= 2.6} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: graphviz BuildRequires: graphviz-gnome BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(ddjvuapi) >= 3.5.21 # Required for tests. BuildRequires: %{python_module nose} BuildRequires: djvulibre # Requires: djvulibre >= 3.5.21 %python_subpackages %description python-djvulibre is a set of Python bindings for the DjVuLibre library, an open source implementation of DjVu. %package -n %{name}-doc Summary: Python Support for the DjVu Image Format (Documentation) Group: Documentation/HTML BuildArch: noarch %description -n %{name}-doc python-djvulibre is a set of Python bindings for the DjVuLibre library, an open source implementation of DjVu. This package contains technical documentation. %prep %setup -q chmod -x examples/* %build export CFLAGS="%{optflags} -fno-strict-aliasing" %python_build %python_build build_sphinx %install %python_install rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv %fdupes %{buildroot}%{_prefix} # %%check # cd tests/ # ln -sf %%{buildroot}%%{python_sitearch}/djvu/ djvu # %%python_exec -m nose --verbose %files %{python_files} %license doc/COPYING %doc doc/changelog doc/credits.txt %{python_sitearch}/* %files -n %{name}-doc %doc build/sphinx/html/ examples/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor