%global srcname Python-fontconfig Name: python-fontconfig Version: 0.5.1 Release: 18%{?dist} Summary: Python bindings for Fontconfig library License: GPL-3.0-or-later URL: https://pypi.org/project/%{srcname}/ Source0: %{pypi_source} BuildRequires: gcc BuildRequires: fontconfig-devel BuildRequires: python3-Cython BuildRequires: python3-devel # Needed for tests BuildRequires: gnu-free-mono-fonts %description %{summary}. %package -n python3-fontconfig Summary: %{summary} %{?python_provide:%python_provide python3-fontconfig} %description -n python3-fontconfig %{summary}. %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %{python3} %{py_setup} build_ext -i %pyproject_wheel %install %pyproject_install %pyproject_save_files fontconfig %check export PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitearch} yes | %{python3} test/test.py %files -n python3-fontconfig -f %{pyproject_files} %doc README.rst %license LICENSE.txt %changelog * Fri Jul 19 2024 Fedora Release Engineering - 0.5.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.5.1-17 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.5.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.5.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.5.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.5.1-13 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.5.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jan 07 2023 Mohamed El Morabity - 0.5.1-11 - Switch to latest Python packaging guidelines - Switch to SPDX in license tag * Fri Jul 22 2022 Fedora Release Engineering - 0.5.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.5.1-9 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.5.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.5.1-7 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.5.1-6 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 0.5.1-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Aug 21 2019 Mohamed El Morabity - 0.5.1-1 - Initial RPM release