%global pypi_name application-properties Name: python-%{pypi_name} Version: 0.8.2 Release: 2%{?dist} Summary: A simple, easy to use, unified manner of accessing program properties License: MIT URL: https://github.com/jackdewinter/application_properties Source0: https://github.com/jackdewinter/application_properties/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pyyaml) >= 5.4.1 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} 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-%{version} %generate_buildrequires %pyproject_buildrequires %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 %pyproject_save_files -l application_properties rm -f %{buildrot}%{python3_sitelib}application_properties/.external-package %check %pyproject_check_import %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.md %changelog * Mon Apr 07 2025 Gwyn Ciesla - 0.8.2-2 - review edits * Wed May 08 2024 Gwyn Ciesla - 0.8.2-1 - Initial package.