File python-freetype-py.spec of Package python-freetype-py
#
# spec file for package python-freetype-py
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define skip_python2 1
%define pkgname freetype-py
Name: python-%{pkgname}
Version: 2.3.0
Release: 0
Summary: Freetype python bindings
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/rougier/%{pkgname}
Source: %{pkgname}-%{version}.zip
BuildRequires: python-rpm-macros
BuildRequires: fdupes
BuildRequires: unzip
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module wheel}
BuildArch: noarch
%python_subpackages
%description
Freetype Python provides bindings for the FreeType library. Only the high-level API is bound
%prep
%setup -q -n %{pkgname}-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{python_sitelib}
%files %{python_files}
%license LICENSE.txt
%{python_sitelib}/*
%changelog