diff --git a/fonttools-4.54.1.tar.gz b/fonttools-4.58.4.tar.gz similarity index 33% rename from fonttools-4.54.1.tar.gz rename to fonttools-4.58.4.tar.gz index 5f408fdb9aef7463147b4e052d584d97c00fa480..529978d474318e6e281399f92705968dc96e0a05 100644 Binary files a/fonttools-4.54.1.tar.gz and b/fonttools-4.58.4.tar.gz differ diff --git a/python-fonttools.spec b/python-fonttools.spec index 702716844590538e1b4ba53aba47d1d03904c69c..9d753a06d3b6586d6afe7768bae919161f1b90ab 100644 --- a/python-fonttools.spec +++ b/python-fonttools.spec @@ -1,5 +1,5 @@ Name: fonttools -Version: 4.54.1 +Version: 4.58.4 Release: 1 Summary: Tools to manipulate font files License: MIT @@ -7,7 +7,6 @@ URL: https://github.com/fonttools/fonttools/ Source0: %{pypi_source fonttools} Requires: python3-fonttools Requires: python3-setuptools -BuildArch: noarch Provides: ttx = %{version}-%{release} %description @@ -21,7 +20,7 @@ project has an MIT open-source licence. Summary: Python 3 fonttools library BuildRequires: python3-devel python3-numpy python3-setuptools_scm BuildRequires: python3-setuptools -BuildArch: noarch +BuildRequires: python3-pip python3-wheel python3-Cython %{?python_provide:%python_provide python3-fonttools} @@ -32,11 +31,7 @@ from an XML text format, which is also called TTX. It supports TrueType, OpenType, AFM and to an extent Type 1 and some Mac-specific formats. The project has an MIT open-source licence. -%package help -Summary: Help document for the fonttools - -%description help -Help document for the fonttools. +%package_help %prep %autosetup -p1 @@ -44,10 +39,11 @@ sed -i 1d Lib/fontTools/mtiLib/__init__.py rm -rf *.egg-info %build -%py3_build +export FONTTOOLS_WITH_CYTHON=1 +%pyproject_build %install -%{__python3} setup.py install --skip-build --root %{buildroot} +%pyproject_install %files %{_bindir}/pyf* @@ -60,10 +56,13 @@ rm -rf *.egg-info %files -n python3-fonttools %doc LICENSE -%{python3_sitelib}/fontTools -%{python3_sitelib}/fonttools-%{version}-py3.*.egg-info +%{python3_sitearch}/fontTools +%{python3_sitearch}/fonttools-%{version}.dist-info %changelog +* Wed Jun 25 2025 Ge Wang - 4.58.4-1 +- Update to 4.58.4 + * Tue Nov 05 2024 Ge Wang - 4.54.1-1 - Update to 4.54.1