2017-06-26 10:35:25 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-sphinxcontrib-websupport
|
|
|
|
#
|
2019-04-23 09:25:12 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2017-06-26 10:35:25 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-12-04 14:06:58 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-06-26 10:35:25 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
Name: python-sphinxcontrib-websupport
|
2019-05-24 19:52:52 +00:00
|
|
|
Version: 1.1.2
|
2017-06-26 10:35:25 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Sphinx API for Web Apps
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: Development/Languages/Python
|
2018-12-04 17:23:45 +00:00
|
|
|
URL: http://sphinx-doc.org/
|
2017-06-26 10:35:25 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-websupport/sphinxcontrib-websupport-%{version}.tar.gz
|
2019-05-24 19:52:52 +00:00
|
|
|
BuildRequires: %{python_module Jinja2}
|
|
|
|
BuildRequires: %{python_module SQLAlchemy}
|
|
|
|
BuildRequires: %{python_module Sphinx}
|
|
|
|
BuildRequires: %{python_module Whoosh}
|
|
|
|
BuildRequires: %{python_module docutils}
|
|
|
|
BuildRequires: %{python_module pytest}
|
2017-06-26 10:35:25 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2019-05-24 19:52:52 +00:00
|
|
|
BuildRequires: %{python_module six}
|
|
|
|
BuildRequires: %{python_module xapian}
|
2017-09-18 21:44:47 +00:00
|
|
|
BuildRequires: fdupes
|
2017-06-26 10:35:25 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-Jinja2
|
2019-04-23 09:25:12 +00:00
|
|
|
Requires: python-docutils
|
2017-06-26 10:35:25 +00:00
|
|
|
Requires: python-six
|
2018-12-04 17:23:45 +00:00
|
|
|
BuildArch: noarch
|
2018-03-08 10:51:53 +00:00
|
|
|
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
|
2017-09-18 22:32:07 +00:00
|
|
|
Recommends: python-Sphinx
|
2018-12-04 17:23:45 +00:00
|
|
|
Suggests: python-SQLAlchemy
|
2017-06-26 10:35:25 +00:00
|
|
|
Suggests: python-Whoosh
|
|
|
|
Suggests: python-xapian
|
2018-02-27 21:31:36 +00:00
|
|
|
%endif
|
2017-06-26 10:35:25 +00:00
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
2017-06-29 10:20:07 +00:00
|
|
|
sphinxcontrib-webuspport provides a Python API to integrate Sphinx
|
2017-06-26 10:35:25 +00:00
|
|
|
documentation into your Web application.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n sphinxcontrib-websupport-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%python_install
|
2017-09-18 21:44:47 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2017-06-26 10:35:25 +00:00
|
|
|
|
2019-05-24 19:52:52 +00:00
|
|
|
%check
|
|
|
|
%pytest
|
|
|
|
|
2017-06-26 10:35:25 +00:00
|
|
|
%files %{python_files}
|
2018-12-04 17:23:45 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc CHANGES README.rst
|
2017-09-18 21:44:47 +00:00
|
|
|
%dir %{python_sitelib}/sphinxcontrib/
|
|
|
|
%{python_sitelib}/sphinxcontrib/websupport/
|
|
|
|
%{python_sitelib}/sphinxcontrib_websupport-%{version}-py*-nspkg.pth
|
|
|
|
%{python_sitelib}/sphinxcontrib_websupport-%{version}-py*.egg-info
|
2017-06-26 10:35:25 +00:00
|
|
|
|
|
|
|
%changelog
|