Blame SPECS/python-sphinx-hoverxref.spec

ddd496
%global srcname sphinx-hoverxref
ddd496
%global sum Sphinx extension to add tooltips on cross references
ddd496
ddd496
Name:           python-%{srcname}
ddd496
Version:        0.5b1
ddd496
Release:        7%{?dist}
ddd496
Summary:        %{sum}
ddd496
BuildArch:      noarch
ddd496
ddd496
License:        MIT
ddd496
Url:            https://%{srcname}.readthedocs.io/en/latest/
ddd496
Source0:        https://github.com/readthedocs/%{srcname}/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
ddd496
ddd496
BuildRequires:  python3-devel
ddd496
BuildRequires:  python3-pytest
ddd496
BuildRequires:  python3-setuptools
ddd496
ddd496
%description
ddd496
Sphinx extension to show a floating window (tooltips or modal dialogues) on the
ddd496
cross references of the documentation embedding the content of the linked
ddd496
section on them. With sphinx-hoverxref, you don’t need to click a link to see
ddd496
what’s in there.
ddd496
ddd496
ddd496
%package -n python3-%{srcname}
ddd496
Requires:       python3-sphinx
ddd496
BuildRequires:  python3-sphinx
ddd496
Summary:        %{sum}
ddd496
%{?python_provide:%python_provide python3-%{srcname}}
ddd496
ddd496
%description -n python3-%{srcname}
ddd496
Sphinx extension to show a floating window (tooltips or modal dialogues) on the
ddd496
cross references of the documentation embedding the content of the linked
ddd496
section on them. With sphinx-hoverxref, you don’t need to click a link to see
ddd496
what’s in there.
ddd496
ddd496
ddd496
%prep
ddd496
%autosetup -n %{srcname}-%{version}
ddd496
ddd496
ddd496
%build
ddd496
%py3_build
ddd496
ddd496
ddd496
%install
ddd496
%py3_install
ddd496
# remove superfluous files
ddd496
rm -rf %{buildroot}%{python3_sitelib}/tests/
ddd496
ddd496
ddd496
%check
ddd496
pytest tests/
ddd496
ddd496
ddd496
%files -n python3-%{srcname}
ddd496
%license LICENSE
ddd496
%doc README.rst
ddd496
%{python3_sitelib}/hoverxref/
ddd496
%{python3_sitelib}/*egg-info/
ddd496
ddd496
ddd496
%changelog
ddd496
* Thu Sep 16 2021 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 0.5b1-7
ddd496
- rebuild with git+lookaside
ddd496
ddd496
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5b1-6
ddd496
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
ddd496
ddd496
* Sun Jul 11 2021 Tim Landscheidt <tim@tim-landscheidt.de> - 0.5b1-5
ddd496
- Fix mangled URL
ddd496
ddd496
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.5b1-4
ddd496
- Rebuilt for Python 3.10
ddd496
ddd496
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5b1-3
ddd496
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
ddd496
ddd496
* Wed Aug 26 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.5b1-2
ddd496
- Don't glob sitelib contents
ddd496
ddd496
* Tue Aug 25 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.5b1-1
ddd496
- Initial package
ddd496