Blame SPECS/python-readthedocs-sphinx-ext.spec

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