summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2020-08-25 16:03:56 -0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2020-08-25 16:03:56 -0700
commit772c07bd99ae018a1ba8e0e403c8d63c9d17af19 (patch)
tree74281c34ac1cde60460e9a8716029aa7d27f8672 /python
parent3e395fc0a013d5605a7521a57a5c4aea7a791b4c (diff)
downloadspecs-772c07bd99ae018a1ba8e0e403c8d63c9d17af19.tar.gz
specs-772c07bd99ae018a1ba8e0e403c8d63c9d17af19.tar.xz
specs-772c07bd99ae018a1ba8e0e403c8d63c9d17af19.zip
+ python-sphinx-hoverxref
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
Diffstat (limited to 'python')
-rw-r--r--python/python-sphinx-hoverxref.spec62
1 files changed, 62 insertions, 0 deletions
diff --git a/python/python-sphinx-hoverxref.spec b/python/python-sphinx-hoverxref.spec
new file mode 100644
index 0000000..e527bfa
--- /dev/null
+++ b/python/python-sphinx-hoverxref.spec
@@ -0,0 +1,62 @@
+%global srcname sphinx-hoverxref
+%global sum Sphinx extension to add tooltips on cross references
+
+Name: python-%{srcname}
+Version: 0.5b1
+Release: 1%{?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
+
+
+%check
+pytest tests/
+
+
+%files -n python3-%{srcname}
+%license LICENSE
+%doc README.rst
+%{python3_sitelib}/*
+
+%changelog
+* Tue Aug 25 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.5b1-1
+- Initial package
+