2015-10-08 10:41:07 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-pylons-sphinx-themes
|
|
|
|
#
|
2017-06-23 17:11:20 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-10-08 10:41:07 +00:00
|
|
|
# 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 http://bugs.opensuse.org/
|
2017-06-23 17:11:20 +00:00
|
|
|
#
|
2015-10-08 10:41:07 +00:00
|
|
|
|
|
|
|
|
2017-06-23 17:11:20 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2015-10-08 10:41:07 +00:00
|
|
|
Name: python-pylons-sphinx-themes
|
2017-06-23 17:11:20 +00:00
|
|
|
Version: 1.0.4
|
2015-10-08 10:41:07 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Pylons Sphinx themes for documentation styling
|
2017-06-23 17:11:20 +00:00
|
|
|
License: SUSE-Repoze
|
2015-10-08 10:41:07 +00:00
|
|
|
Group: Development/Languages/Python
|
2017-06-23 17:11:20 +00:00
|
|
|
Url: https://pylonsproject.org
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/pylons-sphinx-themes/pylons-sphinx-themes-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module devel}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2015-10-08 10:41:07 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
2017-06-23 17:11:20 +00:00
|
|
|
%python_subpackages
|
2015-10-08 10:41:07 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This repository is a Python package that contains Sphinx themes for Pylons
|
|
|
|
related projects. This project is based on
|
|
|
|
[Pylons Sphinx Theme](https://github.com/Pylons/pylons_sphinx_theme)
|
|
|
|
(singular), but uses a package implementation instead of git submodules and
|
|
|
|
manual steps.
|
|
|
|
|
|
|
|
To use a theme in your Sphinx documentation, follow the guide in README.md.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pylons-sphinx-themes-%{version}
|
|
|
|
|
|
|
|
%build
|
2017-06-23 17:11:20 +00:00
|
|
|
%python_build
|
2015-10-08 10:41:07 +00:00
|
|
|
|
|
|
|
%install
|
2017-06-23 17:11:20 +00:00
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
2015-10-08 10:41:07 +00:00
|
|
|
|
2017-06-23 17:11:20 +00:00
|
|
|
%files %{python_files}
|
2015-10-08 10:41:07 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc CHANGES.txt LICENSE.txt README.md
|
2017-06-23 17:11:20 +00:00
|
|
|
%{python_sitelib}/pylons_sphinx_themes
|
|
|
|
%{python_sitelib}/pylons_sphinx_themes-%{version}-py%{python_version}.egg-info
|
2015-10-08 10:41:07 +00:00
|
|
|
|
|
|
|
%changelog
|