Sync from SUSE:SLFO:Main python-glad2 revision 7b5aea488cdb3363b228924246660d22
This commit is contained in:
commit
8e8ef2b57c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
glad2-2.0.6.tar.gz
(Stored with Git LFS)
Normal file
BIN
glad2-2.0.6.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
2
python-glad2-rpmlintrc
Normal file
2
python-glad2-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
addFilter("devel-file-in-non-devel-package .*/glad/generator/c/templates")
|
||||
addFilter("devel-file-in-non-devel-package .*/glad/files/")
|
42
python-glad2.changes
Normal file
42
python-glad2.changes
Normal file
@ -0,0 +1,42 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 19 07:07:41 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.0.6:
|
||||
* Fix eglplatform in header only build not correctly replacing
|
||||
the khrplatform include
|
||||
* Fix compile warning when GLAD_GLES2_USE_SYSTEM_EGL=1
|
||||
* Fix: Use include instead of find_package for CMake config
|
||||
* c: don't warn on undefined GLAD_GLES2_USE_SYSTEM_EGL
|
||||
- update to 2.0.5:
|
||||
* Fix missing Vulkan video headers
|
||||
* Use FindPython instead of FindPythonInterp
|
||||
* Add --version option to command-line interface
|
||||
* Remove one duplicated check for glGetString(GL_VERSION)
|
||||
* Fix extensions loading and parsing
|
||||
* Provide CMake package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 20 13:53:18 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 28 16:39:19 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
- Correct BR from python3-jinja2 to python3-Jinja2, fixes
|
||||
dependency resolving on older distros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 26 13:20:55 UTC 2022 - Niklas Haas <obs@haasn.xyz>
|
||||
|
||||
- Add missing run-time dependency on python-setuptools
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 26 12:58:47 UTC 2022 - Niklas Haas <obs@haasn.xyz>
|
||||
|
||||
- Update to glad v2.0.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 21 17:50:12 UTC 2022 - Niklas Haas <obs@haasn.xyz>
|
||||
|
||||
- Initial package, based upon the initial release of glad v2.0.0
|
68
python-glad2.spec
Normal file
68
python-glad2.spec
Normal file
@ -0,0 +1,68 @@
|
||||
#
|
||||
# spec file for package python-glad2
|
||||
#
|
||||
# Copyright (c) 2024 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-glad2
|
||||
Version: 2.0.6
|
||||
Release: 0
|
||||
Summary: Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator
|
||||
License: MIT
|
||||
URL: https://github.com/Dav1dde/glad
|
||||
Source: https://files.pythonhosted.org/packages/source/g/glad2/glad2-%{version}.tar.gz
|
||||
Source1: python-glad2-rpmlintrc
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-Jinja2
|
||||
Requires: python-setuptools
|
||||
BuildArch: noarch
|
||||
Requires(post): %{_sbindir}/update-alternatives
|
||||
Requires(postun): %{_sbindir}/update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specifications.
|
||||
|
||||
%prep
|
||||
%setup -q -n glad2-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
find %(buildroot) -name 'glsc2.*' -delete # empty files
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/glad
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%post
|
||||
%python_install_alternative glad
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative glad
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/glad
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user