# Created by pyp2rpm-3.3.4 %global pypi_name daemonize Name: python-%{pypi_name} Version: 2.5.0 Release: %mkrel 5 Summary: Library to enable your code run as a daemon process on Unix-like systems Group: Development/Python License: MIT URL: https://github.com/thesharp/daemonize Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(sphinx) %description Daemonize is a library for writing system daemons in Python. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} Daemonize is a library for writing system daemons in Python. %prep %autosetup -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel # generate html docs PYTHONPATH=${PWD} sphinx-build-3 docs html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} %install %pyproject_install %pyproject_save_files daemonize %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.rst %doc html %changelog * Mon Dec 11 2023 papoteur <papoteur> 2.5.0-5.mga10 + Revision: 2017278 - rebuild for python3.12 - adapt to pyproject * Tue Mar 29 2022 umeabot <umeabot> 2.5.0-4.mga9 + Revision: 1832927 - Mageia 9 Mass Rebuild * Sat Feb 26 2022 mrambo3501 <mrambo3501> 2.5.0-3.mga9 + Revision: 1785465 - rebuild for python-3.10 * Mon Apr 05 2021 wally <wally> 2.5.0-2.mga9 + Revision: 1713632 - rebuild for python 3.9 * Tue Oct 06 2020 wally <wally> 2.5.0-1.mga8 + Revision: 1632329 - imported package python-daemonize