%{?python_enable_dependency_generator} %global srcname fontname Name: python-fontname Version: 1.0.0 Release: 4%{?dist} Summary: A lib for guessing font name License: MIT URL: https://github.com/Asvel/fontname Source0: https://files.pythonhosted.org/packages/00/3b/0d282acce368434b16a2e956ebfa18f59317854a5949fadb00edbeff0a8b/%{srcname}-%{version}.tar.gz BuildArch: noarch %global _description\ fontname is a lib for guessing font name, in other words, reading and decoding\ quirk encoded raw font name.\ \ It current supports SFNT format fonts, and is adept at dealing with CJK fonts. %description %_description %package -n python3-%{srcname} Summary: A lib for guessing font name BuildRequires: python3-devel BuildRequires: python3-setuptools %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} fontname is a lib for guessing font name, in other words, reading and decoding quirk encoded raw font name. It current supports SFNT format fonts, and is adept at dealing with CJK fonts. %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files fontname %check # add below to make sure initial build will catch runtime import errors %pyproject_check_import %files -n python3-%{srcname} -f %{pyproject_files} %doc PKG-INFO README.rst %license LICENSE.txt %changelog * Fri Jul 21 2023 Parag Nemade - 1.0.0-4 - Mark this as SPDX license expression converted * Fri Jul 21 2023 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jun 19 2023 Python Maint - 1.0.0-2 - Rebuilt for Python 3.12 * Mon Mar 20 2023 Parag Nemade - 1.0.0-1 - Update to 1.0.0 version (#2127313) * Fri Jan 20 2023 Fedora Release Engineering - 0.2.0-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.2.0-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.2.0-26 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.2.0-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.2.0-24 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.2.0-23 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.2.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.2.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.2.0-20 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.2.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.2.0-18 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.2.0-17 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.2.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.2.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Sep 18 2018 Parag Nemade - 0.2.0-14 - Resolves:rh#1629797 - Remove python2 subpackage * Sat Jul 14 2018 Fedora Release Engineering - 0.2.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.2.0-12 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.2.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Iryna Shcherbina - 0.2.0-10 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.2.0-9 - Python 2 binary package renamed to python2-fontname See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Jul 27 2017 Fedora Release Engineering - 0.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.2.0-6 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.2.0-5 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Parag Nemade - 0.2.0-4 - Enabled python3 subpackage and rewrote spec for new python guidelines * Thu Jun 18 2015 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Oct 31 2014 Parag Nemade - 0.2.0-2 - Follow python3 subpackage guidelines - Add python3-freetype to python3-fontname subpackage * Mon Sep 22 2014 Parag Nemade - 0.2.0-1 - Initial packaging