2018-11-12 16:11:50 +01:00
|
|
|
#
|
|
|
|
# spec file for package vulkan-headers
|
|
|
|
#
|
2020-01-19 13:03:03 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2018-11-12 16:11:50 +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:03:18 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-11-12 16:11:50 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: vulkan-headers
|
2020-04-01 15:00:06 +02:00
|
|
|
Version: 1.2.135
|
2018-11-12 16:11:50 +01:00
|
|
|
Release: 0
|
2018-11-12 16:50:23 +01:00
|
|
|
Summary: Vulkan C and C++ API header files
|
2018-11-12 20:19:10 +01:00
|
|
|
License: Apache-2.0
|
2019-10-26 13:39:13 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-11-12 20:19:10 +01:00
|
|
|
URL: https://github.com/KhronosGroup/Vulkan-Headers
|
2020-04-01 15:00:06 +02:00
|
|
|
Source: https://github.com/KhronosGroup/Vulkan-Headers/archive/Vulkan-Headers-%version.tar.gz
|
2018-11-12 16:11:50 +01:00
|
|
|
BuildRequires: cmake >= 2.8.11
|
2018-11-12 16:48:10 +01:00
|
|
|
BuildArch: noarch
|
2018-11-12 16:11:50 +01:00
|
|
|
Requires: pkgconfig(wayland-client)
|
|
|
|
Requires: pkgconfig(x11)
|
|
|
|
Requires: pkgconfig(xcb)
|
|
|
|
Requires: pkgconfig(xrandr)
|
2018-11-12 16:48:10 +01:00
|
|
|
Conflicts: vulkan-devel < 1.1.91
|
2018-11-12 16:11:50 +01:00
|
|
|
|
2018-11-12 16:47:41 +01:00
|
|
|
%description
|
2018-11-12 16:11:50 +01:00
|
|
|
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 development headers for packages wanting
|
|
|
|
to make use of Vulkan.
|
|
|
|
|
|
|
|
%prep
|
2019-09-28 06:46:53 +02:00
|
|
|
%autosetup -n Vulkan-Headers-%version
|
2018-11-12 16:11:50 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake \
|
|
|
|
-DCMAKE_INSTALL_SYSCONFDIR="%_sysconfdir" \
|
|
|
|
-DBUILD_WSI_MIR_SUPPORT=OFF \
|
|
|
|
-DBUILD_TESTS=OFF
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
2018-11-12 16:47:41 +01:00
|
|
|
%files
|
2018-11-12 18:56:00 +01:00
|
|
|
%license LICENSE.txt
|
2018-11-12 16:11:50 +01:00
|
|
|
%_includedir/vulkan/
|
|
|
|
%_datadir/vulkan/
|
|
|
|
|
|
|
|
%changelog
|