forked from pool/python-venusian
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-venusian?expand=0&rev=12
59 lines
1.9 KiB
RPMSpec
59 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package python-venusian-doc
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
# Copyright (c) 2015 LISA GmbH, Bingen, 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
Name: python-venusian-doc
|
|
Version: 1.1.0
|
|
Release: 0
|
|
Summary: Documentation for python-venusian
|
|
License: SUSE-Repoze
|
|
Group: Development/Languages/Python
|
|
URL: https://github.com/Pylons/venusian
|
|
Source: https://files.pythonhosted.org/packages/source/v/venusian/venusian-%{version}.tar.gz
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: %{python_module venusian = %{version}}
|
|
BuildRequires: python-rpm-macros
|
|
BuildArch: noarch
|
|
# SECTION documentation requirements
|
|
BuildRequires: python3-Sphinx
|
|
BuildRequires: python3-pylons-sphinx-themes
|
|
BuildRequires: python3-repoze.sphinx.autointerface
|
|
# /SECTION
|
|
%python_subpackages
|
|
|
|
%description
|
|
This package contains documentation files for python-venusian.
|
|
|
|
%prep
|
|
%setup -q -n venusian-%{version}
|
|
|
|
%build
|
|
ln -s %{python3_sitelib}/pylons_sphinx_themes docs/_themes
|
|
%python_build
|
|
python3 setup.py build_sphinx && rm -v build/sphinx/html/{.buildinfo,objects.inv}
|
|
|
|
%install
|
|
%python_install
|
|
%python_expand rm -rfv %{buildroot}%{$python_sitelib}/venusian*
|
|
|
|
%files %{python_files}
|
|
%doc build/sphinx/html/
|
|
|
|
%changelog
|