Blame python-fontconfig.spec

be7155d
%{?python_enable_dependency_generator}
be7155d
be7155d
%global srcname Python-fontconfig
be7155d
be7155d
Name:           python-fontconfig
be7155d
Version:        0.5.1
a067c08
Release:        7%{?dist}
be7155d
Summary:        Python bindings for Fontconfig library
be7155d
be7155d
License:        GPLv3
be7155d
URL:            https://pypi.org/project/Python-fontconfig/
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
be7155d
%build
be7155d
%{__python3} setup.py build_ext -i
be7155d
%py3_build
be7155d
be7155d
be7155d
%install
be7155d
%py3_install
be7155d
be7155d
be7155d
%check
be7155d
export PYTHONPATH=$PWD/build/lib.%{python3_platform}-%{python3_version}/
be7155d
yes | %{__python3} test/test.py
be7155d
be7155d
be7155d
%files -n python3-fontconfig
be7155d
%doc README.rst
be7155d
%license LICENSE.txt
be7155d
%{python3_sitearch}/*.so
be7155d
%{python3_sitearch}/*.egg-info
be7155d
be7155d
be7155d
%changelog
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