Name:     python3-module-panda3d-simplepbr
Version:  0.11.2
Release:  alt1

Summary:  A straight-forward, easy-to-use, drop-in, PBR replacement for Panda3D's builtin auto shader
License:  BSD-3-Clause
Group:    Development/Python3
Url:      https://github.com/Moguri/panda3d-simplepbr

Packager: Alexander Lubyagin <dfpl@altlinux.org>

Source:   %name-%version.tar

Patch1: alt-python3-headers.patch

BuildRequires(pre): rpm-build-python3
Requires: panda3d

%description
A straight-forward, easy-to-use PBR render pipeline for Panda3D.
This project aims to be a drop-in replacement for Panda3D's auto-shader.
The PBR shader is heavily inspired by the Khronos glTF Sample.

# %set_verify_elf_method skip
# %add_debuginfo_skiplist %_bindir

%prep
%setup
%patch1 -p0

%install
mkdir -p %buildroot%python3_sitelibdir/simplepbr
cp -f simplepbr/*.py %buildroot%python3_sitelibdir/simplepbr/
mkdir -p %buildroot%python3_sitelibdir/simplepbr/shaders
cp -f simplepbr/shaders/* %buildroot%python3_sitelibdir/simplepbr/shaders/
mkdir -p %buildroot%python3_sitelibdir/simplepbr/textures
cp -f simplepbr/textures/* %buildroot%python3_sitelibdir/simplepbr/textures/

%files
%python3_sitelibdir/*

%changelog
* Thu Mar 21 2024 Alexander Lubyagin <dfpl@altlinux.org> 0.11.2-alt1
- 0.11.2
