2018-11-12 20:04:37 +01:00
|
|
|
#
|
|
|
|
# spec file for package vulkan-validationlayers
|
|
|
|
#
|
2020-01-22 17:44:38 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2018-11-12 20:04:37 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-12-15 00:31:41 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-11-12 20:04:37 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: vulkan-validationlayers
|
2020-04-13 12:17:45 +02:00
|
|
|
Version: 1.2.137
|
2018-11-12 20:04:37 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Validation layers for Vulkan
|
|
|
|
License: Apache-2.0
|
2019-10-26 14:09:00 +02:00
|
|
|
Group: Development/Tools/Other
|
2018-11-12 20:04:37 +01:00
|
|
|
URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers
|
2019-08-21 14:40:50 +02:00
|
|
|
|
2019-11-07 08:59:58 +01:00
|
|
|
Source: https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/v%version.tar.gz
|
2019-09-28 07:34:36 +02:00
|
|
|
Source9: %name-rpmlintrc
|
2019-06-05 12:28:10 +02:00
|
|
|
BuildRequires: cmake >= 3.4
|
2018-11-12 20:04:37 +01:00
|
|
|
BuildRequires: gcc-c++ >= 4.8
|
2020-04-08 14:12:28 +02:00
|
|
|
BuildRequires: glslang-devel >= 8.13.3727
|
2019-10-17 00:53:45 +02:00
|
|
|
BuildRequires: memory-constraints
|
2018-11-12 20:04:37 +01:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python3-base
|
2020-04-08 14:12:28 +02:00
|
|
|
BuildRequires: spirv-tools-devel >= 2020.2
|
|
|
|
BuildRequires: pkgconfig(vulkan) >= 1.2.130
|
2018-11-12 20:04:37 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xcb)
|
2020-02-13 10:38:04 +01:00
|
|
|
Conflicts: vulkan < 1.1
|
|
|
|
Obsoletes: vulkan < 1.1
|
2018-11-12 20:04:37 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Vulkan is a 3D graphics and compute API providing cross-platform
|
|
|
|
access to modern GPUs with low overhead and targeting realtime
|
|
|
|
graphics applications such as games and interactive media.
|
|
|
|
|
|
|
|
This package contains the Khronos official Vulkan validation layers.
|
|
|
|
|
|
|
|
%prep
|
2019-07-12 04:56:48 +02:00
|
|
|
%autosetup -n Vulkan-ValidationLayers-%version
|
2018-11-12 20:04:37 +01:00
|
|
|
|
|
|
|
%build
|
2019-10-17 00:53:45 +02:00
|
|
|
%limit_build -m 2000
|
2018-11-12 20:04:37 +01:00
|
|
|
%cmake -DGLSLANG_INSTALL_DIR="%_bindir"
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
2019-06-28 10:31:26 +02:00
|
|
|
# no header files
|
|
|
|
rm -f "%buildroot/%_libdir"/*.a
|
2018-11-12 20:04:37 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE.txt
|
|
|
|
%_libdir/libVkLayer*.so
|
|
|
|
%_datadir/vulkan/
|
|
|
|
|
|
|
|
%changelog
|