From ce47f794bdc12dd3b510133dfdba07fca4703d12 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 07 2019 13:00:14 +0000 Subject: import vulkan-tools-1.1.82.0-1.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..88127e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Vulkan-Tools-sdk-1.1.82.0.tar.gz diff --git a/.vulkan-tools.metadata b/.vulkan-tools.metadata new file mode 100644 index 0000000..a34db6d --- /dev/null +++ b/.vulkan-tools.metadata @@ -0,0 +1 @@ +85cba1cfe8272e296926c51d398925ec90110a12 SOURCES/Vulkan-Tools-sdk-1.1.82.0.tar.gz diff --git a/SPECS/vulkan-tools.spec b/SPECS/vulkan-tools.spec new file mode 100644 index 0000000..790daea --- /dev/null +++ b/SPECS/vulkan-tools.spec @@ -0,0 +1,60 @@ +Name: vulkan-tools +Version: 1.1.82.0 +Release: 1%{?dist} +Summary: Vulkan tools + +License: ASL 2.0 +URL: https://github.com/KhronosGroup/Vulkan-Tools +Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-Tools-sdk-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: cmake3 +BuildRequires: glslang +BuildRequires: ninja-build +BuildRequires: python%{python3_pkgversion} +BuildRequires: %{_bindir}/python3 +BuildRequires: vulkan-loader-devel +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-cursor) +BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(wayland-egl) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xrandr) +BuildRequires: pkgconfig(xcb) + +Provides: vulkan-demos%{?_isa} = %{version}-%{release} +Obsoletes: vulkan-demos < %{version}-%{release} + +%description +Vulkan tools + +%prep +%autosetup -n Vulkan-Tools-sdk-%{version} + + +%build +%cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release -DGLSLANG_INSTALL_DIR=%{_bindir} . +%ninja_build + + +%install +%ninja_install +mv %{buildroot}%{_bindir}/cube %{buildroot}%{_bindir}/vulkan-cube +mv %{buildroot}%{_bindir}/cubepp %{buildroot}%{_bindir}/vulkan-cubepp + + +%files +%license LICENSE.txt COPYRIGHT.txt +%doc README.md CONTRIBUTING.md +%{_bindir}/* + +%changelog +* Tue Aug 07 2018 Leigh Scott - 1.1.82.0-1 +- Update to 1.1.82.0 + +* Sat Jul 14 2018 Fedora Release Engineering - 1.1.77.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Jun 23 2018 Leigh Scott - 1.1.77.0-1 +- Initial package