Files
openRuyi/SPECS/python-glad2/python-glad2.spec
2026-04-03 11:43:16 +08:00

45 lines
1.3 KiB
RPMSpec

# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: yyjeqhc <jialin.oerv@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
%global srcname glad2
Name: python-%{srcname}
Version: 2.0.8
Release: %autorelease
Summary: Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator
License: MIT AND Apache-2.0
URL: https://github.com/Dav1dde/glad
#!RemoteAsset: sha256:b84079b9fa404f37171b961bdd1d8da21370e6c818defb8481c5b3fe3d6436da
Source: https://files.pythonhosted.org/packages/source/g/%{srcname}/%{srcname}-%{version}.tar.gz
BuildSystem: pyproject
BuildOption(install): -l glad
BuildRequires: pyproject-rpm-macros
BuildRequires: pkgconfig(python3)
BuildRequires: python3dist(pip)
BuildRequires: python3dist(jinja2)
BuildRequires: python3dist(wheel)
BuildRequires: python3dist(setuptools)
Provides: python3-%{srcname}
%python_provide python3-%{srcname}
%description
Glad uses the official Khronos-XML specs to generate a GL/GLES/EGL/GLX/WGL
Loader made for your needs.
%generate_buildrequires
%pyproject_buildrequires
%files -f %{pyproject_files}
%doc README.md
%license LICENSE
%{_bindir}/glad
%changelog
%autochangelog