File python3-mpmath-doc.spec of Package python3-mpmath

#
# spec file for package python3-mpmath-doc
#
# Copyright (c) 2016 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/
#


Name:           python3-mpmath-doc
Version:        0.19
Release:        0
Summary:        Documentation for python3-mpmath
License:        BSD-3-Clause
Group:          Documentation/Other
Url:            http://mpmath.org
# THE *-all TARBALL CONTAINS SOURCE CODE + DOCUMENTATION
Source0:        http://mpmath.org/files/mpmath-all-%{version}.tar.gz
BuildRequires:  python3-Sphinx
BuildRequires:  python3-mpmath = %{version}
Recommends:     python3-mpmath = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Documentation, help files, and demos for python3-mpmath.

%prep
%setup -q -n mpmath-all-%{version}

%build
# Not needed

%install
pushd doc
python3 build.py
rm -r build/.{doctrees,buildinfo}
popd

%files
%defattr(-,root,root)
%doc demo/
%doc doc/build

%changelog