2020-10-15 03:05:47 +00:00
|
|
|
%global srcname readthedocs-sphinx-ext
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
2021-01-20 00:12:58 +00:00
|
|
|
Version: 2.1.3
|
2021-02-05 01:31:31 +00:00
|
|
|
Release: 2%{?dist}
|
2020-10-15 03:05:47 +00:00
|
|
|
Summary: Sphinx extension for Read the Docs overrides
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/readthedocs/readthedocs-sphinx-ext
|
|
|
|
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2021-01-20 00:12:58 +00:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: %{py3_dist jinja2}
|
|
|
|
BuildRequires: %{py3_dist pytest}
|
|
|
|
BuildRequires: %{py3_dist requests}
|
2020-10-15 03:05:47 +00:00
|
|
|
BuildRequires: %{py3_dist sphinx}
|
|
|
|
|
|
|
|
%global _desc %{expand:
|
|
|
|
This module adds extensions that make Sphinx easier to use. Some of them
|
|
|
|
require Read the Docs features, others are just code that we ship and
|
|
|
|
enable during builds on Read the Docs. We currently ship:
|
|
|
|
- An extension for building docs like Read the Docs
|
|
|
|
- template-meta - allows users to specify template overrides in per-page
|
|
|
|
contexts.}
|
|
|
|
|
|
|
|
%description %_desc
|
|
|
|
|
|
|
|
%package -n python3-%{srcname}
|
|
|
|
Summary: Sphinx extension for Read the Docs overrides
|
|
|
|
|
|
|
|
%description -n python3-%{srcname} %_desc
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{srcname}-%{version}
|
|
|
|
|
|
|
|
%build
|
2021-01-20 00:12:58 +00:00
|
|
|
%py3_build
|
2020-10-15 03:05:47 +00:00
|
|
|
rst2html --no-datestamp README.rst README.html
|
|
|
|
|
|
|
|
%install
|
2021-01-20 00:12:58 +00:00
|
|
|
%py3_install
|
2020-10-15 03:05:47 +00:00
|
|
|
|
|
|
|
%check
|
2021-01-20 00:12:58 +00:00
|
|
|
pytest
|
2020-10-15 03:05:47 +00:00
|
|
|
|
|
|
|
%files -n python3-%{srcname}
|
|
|
|
%doc README.html
|
|
|
|
%license LICENSE
|
|
|
|
%{python3_sitelib}/readthedocs_ext/
|
|
|
|
%{python3_sitelib}/readthedocs_sphinx_ext*
|
|
|
|
|
|
|
|
%changelog
|
2021-02-05 01:31:31 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2021-01-20 00:12:58 +00:00
|
|
|
* Tue Jan 19 2021 Jerry James <loganjerry@gmail.com> - 2.1.3-1
|
|
|
|
- Version 2.1.3
|
|
|
|
- Revert to the py3_* macros (avoids dependency on external mock)
|
|
|
|
|
2021-01-06 02:33:26 +00:00
|
|
|
* Wed Jan 6 2021 Jerry James <loganjerry@gmail.com> - 2.1.2-1
|
|
|
|
- Version 2.1.2
|
|
|
|
|
2020-10-15 03:05:47 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jul 23 2020 Jerry James <loganjerry@gmail.com> - 2.1.1-1
|
|
|
|
- Version 2.1.1
|
|
|
|
|
|
|
|
* Sat Jul 11 2020 Jerry James <loganjerry@gmail.com> - 2.1.0-1
|
|
|
|
- Version 2.1.0
|
|
|
|
|
|
|
|
* Tue Jun 16 2020 Jerry James <loganjerry@gmail.com> - 2.0.0-1
|
|
|
|
- Version 2.0.0
|
|
|
|
|
|
|
|
* Fri May 29 2020 Jerry James <loganjerry@gmail.com> - 1.0.4-2
|
|
|
|
- Remove unnecessary version manipulation
|
|
|
|
|
|
|
|
* Fri May 29 2020 Jerry James <loganjerry@gmail.com> - 1.0.4-1
|
|
|
|
- Version 1.0.4
|
|
|
|
|
|
|
|
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.3-2
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
* Tue Apr 21 2020 Jerry James <loganjerry@gmail.com> - 1.0.3-1
|
|
|
|
- Version 1.0.3
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Jerry James <loganjerry@gmail.com> - 1.0.1-1
|
|
|
|
- Initial RPM
|