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