## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global _docdir_fmt %{name} %global giturl https://github.com/sphinx-doc/sphinx-autobuild Name: python-sphinx-autobuild Version: 2024.10.03 Release: %autorelease Summary: Autobuild a Sphinx directory when a change is detected License: MIT URL: https://sphinx-autobuild.readthedocs.io/ VCS: git:%{giturl}.git Source: %{giturl}/archive/%{version}/sphinx-autobuild-%{version}.tar.gz BuildArch: noarch BuildRequires: help2man BuildRequires: python3-devel %description Rebuild Sphinx documentation on changes, with live-reload in the browser. %package -n python3-sphinx-autobuild Summary: Autobuild a Sphinx directory when a change is detected %description -n python3-sphinx-autobuild Rebuild Sphinx documentation on changes, with live-reload in the browser. %package doc # The content is MIT. Other licenses are due to files copied in by Sphinx. # _static/alabaster.css: BSD-3-Clause # _static/basic.css: BSD-2-Clause # _static/custom.css: BSD-3-Clause # _static/doctools.js: BSD-2-Clause # _static/documentation_options.js: BSD-2-Clause # _static/file.png: BSD-2-Clause # _static/language_data.js: BSD-2-Clause # _static/minus.png: BSD-2-Clause # _static/plus.png: BSD-2-Clause # _static/searchtools.js: BSD-2-Clause # _static/sphinx_highlight.js: BSD-2-Clause # genindex.html: BSD-2-Clause # search.html: BSD-2-Clause # searchindex.js: BSD-2-Clause License: MIT AND BSD-2-Clause AND BSD-3-Clause Summary: Documentation for sphinx-autobuild %description doc Documentation for sphinx-autobuild. %prep %autosetup -n sphinx-autobuild-%{version} %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel rst2html --no-datestamp NEWS.rst NEWS.html rst2html --no-datestamp README.rst README.html # Build the documentation mkdir html sphinx-build -b html docs html rm -rf html/{.buildinfo,.doctrees} %install %pyproject_install %pyproject_save_files -L sphinx_autobuild # Install a man page mkdir -p %{buildroot}%{_mandir}/man1 %{py3_test_envvars} help2man -N %{buildroot}%{_bindir}/sphinx-autobuild \ -n 'Autobuild a Sphinx directory when a change is detected' \ > %{buildroot}%{_mandir}/man1/sphinx-autobuild.1 %check %pytest -v %files -n python3-sphinx-autobuild -f %{pyproject_files} %doc AUTHORS.rst NEWS.html README.html %license LICENSE.rst %{_bindir}/sphinx-autobuild %{_mandir}/man1/sphinx-autobuild.1* %files doc %doc html %changelog ## START: Generated by rpmautospec * Thu Oct 03 2024 Jerry James - 2024.10.03-1 - Version 2024.10.03 * Sun Sep 22 2024 Jerry James - 2024.09.19-1 - Version 2024.09.19 * Wed Sep 04 2024 Jerry James - 2024.09.03-1 - Version 2024.09.03 - jquery and underscore are not bundled anymore * Fri Jul 19 2024 Fedora Release Engineering - 2024.04.16-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 17 2024 Jerry James - 2024.04.16-3 - Fix the VCS field * Sat Jun 15 2024 Jerry James - 2024.04.16-2 - Rebuilt for Python 3.13 * Thu Apr 18 2024 Jerry James - 2024.04.16-1 - Version 2024.04.16 * Mon Feb 26 2024 Jerry James - 2024.02.04-1 - Version 2024.02.04 * Fri Jan 26 2024 Fedora Release Engineering - 2021.3.14-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2021.3.14-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2021.3.14-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 29 2023 Python Maint - 2021.3.14-5 - Rebuilt for Python 3.12 * Thu Feb 23 2023 Jerry James - 2021.3.14-4 - Dynamically generate BuildRequires * Fri Jan 20 2023 Fedora Release Engineering - 2021.3.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Dec 13 2022 Jerry James - 2021.3.14-3 - Convert License tags to SPDX * Fri Jul 22 2022 Fedora Release Engineering - 2021.3.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Python Maint - 2021.3.14-2 - Rebuilt for Python 3.11 * Tue Apr 12 2022 Jerry James - 2021.3.14 - Bring back to Fedora * Mon Aug 19 2019 Miro Hrončok - 0.7.1-15 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.7.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Mar 25 2019 Sundeep Anand - 0.7.1-13 - bump version * Wed Mar 13 2019 Jeroen van Meeuwen (Kolab Systems) - 0.7.1-12 - Remove python2-sphinx-autobuild without condition, missing run-time requirements * Tue Mar 12 2019 Miro Hrončok - 0.7.1-11 - Remove python2-sphinx-autobuild on Fedora 31 * Fri Mar 1 2019 Nick Cross - 0.7.1-10 - Correct dependencies. Patch port-for to unpin it. * Sat Feb 02 2019 Fedora Release Engineering - 0.7.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.7.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.7.1-5 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - Fix creation of python2- subpackage * Thu Jul 27 2017 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jul 10 2017 Sundeep Anand - 0.7.1-1 - Updated to version 0.7.1 * Wed Aug 10 2016 Sundeep Anand - 0.6.0-3 - https://bugzilla.redhat.com/show_bug.cgi?id=1365796 * Thu Jun 23 2016 Sundeep Anand - 0.6.0-2 - fix: epel py3 dependency * Mon Jun 20 2016 Sundeep Anand - 0.6.0-1 - https://bugzilla.redhat.com/show_bug.cgi?id=1348003 * Tue Feb 16 2016 Sundeep Anand - 0.5.2-4 - https://bugzilla.redhat.com/show_bug.cgi?id=1307172 * Thu Feb 04 2016 Fedora Release Engineering - 0.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jan 27 2016 Sundeep Anand - 0.5.2-2 - Fix binary shebang in python3 subpackage * Fri Jan 22 2016 Sundeep Anand - 0.5.2-1 - Initial RPM Package ## END: Generated by rpmautospec