add: python-vulkan (#11954) (#11955)

This commit is contained in:
Raboneko
2026-05-04 22:06:20 -05:00
committed by GitHub
parent fcd35aa4b1
commit 9d3df383a4
3 changed files with 54 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "vulkan.spec"
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(pypi("vulkan"));
+48
View File
@@ -0,0 +1,48 @@
%define debug_package %{nil}
%global pypi_name vulkan
%global _desc The ultimate Python binding for Vulkan API.
Name: python-%{pypi_name}
Version: 1.3.275.1
Release: 1%{?dist}
Summary: The ultimate Python binding for Vulkan API
License: Apache-2.0
URL: https://github.com/realitix/vulkan
Source0: %{pypi_source}
BuildRequires: python3-wheel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-devel
BuildRequires: gcc
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{pypi_name}
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
%license LICENSE
%changelog
* Mon May 04 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit