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