Ondřej Súkup
855dabbfc5
- update to 0.15.4 - refreshed 0001_create_a_thread_to_reap_death_process.patch - last stable update with long Changelog -> please see CHANGELOG.rst OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Werkzeug?expand=0&rev=36
54 lines
1.7 KiB
RPMSpec
54 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package python-Werkzeug-doc
|
|
#
|
|
# Copyright (c) 2019 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
Name: python-Werkzeug-doc
|
|
Version: 0.15.4
|
|
Release: 0
|
|
Summary: Documentation for python-Werkzeug
|
|
License: BSD-3-Clause
|
|
Group: Documentation/Other
|
|
URL: http://werkzeug.pocoo.org/
|
|
Source: https://files.pythonhosted.org/packages/source/W/Werkzeug/Werkzeug-%{version}.tar.gz
|
|
BuildRequires: python3-Sphinx
|
|
BuildRequires: python3-Werkzeug = %{version}
|
|
BuildRequires: python3-setuptools
|
|
Provides: %{python_module Werkzeug-doc = %{version}}
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Documentation and examples for python-Werkzeug
|
|
|
|
%prep
|
|
%setup -q -n Werkzeug-%{version}
|
|
sed -i "1d" examples/manage-{i18nurls,simplewiki,shorty,couchy,cupoftee,webpylike,plnt,coolmagic}.py # Fix non-executable scripts
|
|
|
|
%build
|
|
# Not needed
|
|
|
|
%install
|
|
cd docs && make html && rm -rf _build/html/.buildinfo # Build HTML Documentation
|
|
|
|
%files
|
|
%license LICENSE.rst
|
|
%doc README.rst CHANGES.rst
|
|
%doc docs/_build/html
|
|
%doc examples
|
|
|
|
%changelog
|