2018-11-12 18:45:45 +01:00
|
|
|
#
|
2018-11-12 18:50:14 +01:00
|
|
|
# spec file for package vulkan-tools
|
2018-11-12 18:45:45 +01:00
|
|
|
#
|
2019-01-07 23:10:37 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2018-11-12 18:45:45 +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-02 16:13:25 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-11-12 18:45:45 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-06-04 12:19:36 +02:00
|
|
|
%define version_unconverted 1.1.108
|
2018-11-12 18:45:45 +01:00
|
|
|
|
|
|
|
Name: vulkan-tools
|
2019-06-04 12:19:36 +02:00
|
|
|
Version: 1.1.108
|
2018-11-12 18:45:45 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Reference ICD loader for Vulkan
|
2018-11-12 19:00:58 +01:00
|
|
|
License: Apache-2.0
|
2018-11-12 18:45:45 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
URL: http://www.khronos.org/
|
|
|
|
#Git-URL: https://github.com/KhronosGroup/Vulkan-Tools
|
|
|
|
Source: Vulkan-Tools-%version.tar.xz
|
2019-06-04 12:22:06 +02:00
|
|
|
BuildRequires: cmake >= 3.4
|
2018-11-12 18:45:45 +01:00
|
|
|
BuildRequires: gcc-c++ >= 4.8
|
2019-06-05 13:56:27 +02:00
|
|
|
BuildRequires: glslang-devel >= 7.11.3188
|
2018-11-12 18:45:45 +01:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python3-base
|
2019-06-05 13:56:27 +02:00
|
|
|
BuildRequires: pkgconfig(vulkan) >= 1.1.108
|
2018-11-12 18:45:45 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xcb)
|
|
|
|
Obsoletes: vulkan < %version-%release
|
|
|
|
Provides: vulkan = %version-%release
|
|
|
|
|
|
|
|
%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 tools and utilities.
|
|
|
|
|
|
|
|
%prep
|
2019-01-24 11:38:30 +01:00
|
|
|
%autosetup -p1 -n Vulkan-Tools-%version
|
2018-11-12 18:45:45 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
mkdir -p glslang/bin
|
2018-12-02 16:13:25 +01:00
|
|
|
ln -fsv /usr/bin/glslangValidator glslang/bin/
|
2018-11-12 18:45:45 +01:00
|
|
|
%cmake
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
%files
|
2018-11-12 19:00:58 +01:00
|
|
|
%license LICENSE.txt
|
2018-11-12 18:45:45 +01:00
|
|
|
%_bindir/*
|
|
|
|
|
|
|
|
%changelog
|