59 lines
1.4 KiB
RPMSpec
59 lines
1.4 KiB
RPMSpec
|
Name: vulkan-tools
|
||
|
Version: 1.3.211
|
||
|
Release: 1mamba
|
||
|
Summary: Vulkan Utilities and Tools
|
||
|
Group: System/Tools
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://github.com/KhronosGroup/Vulkan-Tools
|
||
|
Source: https://github.com/KhronosGroup/Vulkan-Tools.git/v%{version}/Vulkan-Tools-%{version}.tar.bz2
|
||
|
License: Apache License 2.0
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libICE-devel
|
||
|
BuildRequires: libSM-devel
|
||
|
BuildRequires: libX11-devel
|
||
|
BuildRequires: libXext-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: libvulkan-devel
|
||
|
BuildRequires: libwayland-devel
|
||
|
BuildRequires: libxcb-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: glslang
|
||
|
|
||
|
%description
|
||
|
Vulkan Utilities and Tools.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n Vulkan-Tools-%{version}
|
||
|
|
||
|
%build
|
||
|
%cmake -d build \
|
||
|
-DGLSLANG_INSTALL_DIR=%{_prefix}
|
||
|
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/vkcube
|
||
|
%{_bindir}/vkcube-wayland
|
||
|
%{_bindir}/vkcubepp
|
||
|
%{_bindir}/vulkaninfo
|
||
|
%doc LICENSE.txt
|
||
|
|
||
|
%changelog
|
||
|
* Tue Apr 19 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.211-1mamba
|
||
|
- package created using the webbuild interface
|