[packages/python3-sphinx-version-warning] - new
qboosh
qboosh at pld-linux.org
Sat Dec 13 22:02:57 CET 2025
commit 8367bea1827ad735ab1ea2588e7234185f870cd0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Dec 13 22:03:04 2025 +0100
- new
python3-sphinx-version-warning.spec | 61 +++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
---
diff --git a/python3-sphinx-version-warning.spec b/python3-sphinx-version-warning.spec
new file mode 100644
index 0000000..e8513e3
--- /dev/null
+++ b/python3-sphinx-version-warning.spec
@@ -0,0 +1,61 @@
+Summary: Sphinx extension to add a warning banner
+Summary(pl.UTF-8): Rozszerzenie sphinksa dodające baner ostrzegawczy
+Name: python3-sphinx-version-warning
+Version: 1.1.2
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/sphinx-version-warning/
+Source0: https://files.pythonhosted.org/packages/source/s/sphinx-version-warning/sphinx-version-warning-%{version}.tar.gz
+# Source0-md5: b17e016b32add34e5deaa80b4a9af799
+URL: https://pypi.org/project/sphinx-version-warning/
+BuildRequires: python3-modules >= 1:3.2
+BuildRequires: python3-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python3-modules >= 1:3.2
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Sphinx Version Warning is a Sphinx extension that allows you to show a
+"Warning" banner at the top of your documentation. The banner is shown
+based on the version that is displayed compared (using SemVer) with
+the latest version on the server.
+
+%description -l pl.UTF-8
+Sphinx Version Warning to rozszerzenie Sphinksa pozwalające wyświetlić
+baner ostrzegawczy na górze dokumentacji. Baner jest wyświetlany w
+oparciu o porównanie (przy użyciu SemVer) wersji wyświetlanej z
+najnowszą wersją dostępną na serwerze.
+
+%package apidocs
+Summary: API documentation for Python sphinx-version-warning module
+Summary(pl.UTF-8): Dokumentacja API modułu Pythona sphinx-version-warning
+Group: Documentation
+
+%description apidocs
+API documentation for Python sphinx-version-warning module.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API modułu Pythona sphinx-version-warning.
+
+%prep
+%setup -q -n sphinx-version-warning-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.rst LICENSE README.rst
+%{py3_sitescriptdir}/versionwarning
+%{py3_sitescriptdir}/sphinx_version_warning-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinx-version-warning.git/commitdiff/8367bea1827ad735ab1ea2588e7234185f870cd0
More information about the pld-cvs-commit
mailing list