# Created by pyp2rpm-3.3.10 %global pypi_name application-properties %global pypi_version 0.8.2 Name: python-%{pypi_name} Version: %{pypi_version} Release: 1%{?dist} Summary: A simple, easy to use, unified manner of accessing program properties License: MIT URL: https://github.com/jackdewinter/application_properties Source0: https://files.pythonhosted.org/packages/source/a/%{pypi_name}/application_properties-%{pypi_version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pyyaml) >= 5.4.1 BuildRequires: python3dist(setuptools) BuildRequires: python3dist(tomli) >= 2.0.1 BuildRequires: python3dist(typing-extensions) >= 4.5 %description The application_properties package was born out of necessity. During the creation of the PyMarkdown project, there was a distinct need for a configuration subsystem that was able to handle more complex configuration scenarios. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(pyyaml) >= 5.4.1 Requires: python3dist(tomli) >= 2.0.1 Requires: python3dist(typing-extensions) >= 4.5 %description -n python3-%{pypi_name} The application_properties package was born out of necessity. During the creation of the PyMarkdown project, there was a distinct need for a configuration subsystem that was able to handle more complex configuration scenarios. %prep %autosetup -n application_properties-%{pypi_version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel #iconv -f iso8859-1 -t utf-8 README.md > README.md.conv && mv -f README.md.conv README.md sed -i 's/\r$//' README.md %install %pyproject_install rm -f %{buildrot}%{python3_sitelib}application_properties/.external-package %check %tox %files -n python3-%{pypi_name} %license LICENSE.txt %doc README.md %{python3_sitelib}/application_properties %{python3_sitelib}/application_properties-%{pypi_version}.dist-info/ %changelog * Wed May 08 2024 Gwyn Ciesla - 0.8.2-1 - Initial package.