vulkan-validation-layers/vulkan-validation-layers.spec

165 lines
5.3 KiB
RPMSpec
Raw Normal View History

2018-06-26 16:56:57 +00:00
Name: vulkan-validation-layers
2021-11-23 07:29:34 +00:00
Version: 1.2.198.0
2021-12-09 09:42:58 +00:00
Release: 2%{?dist}
2018-06-26 16:56:57 +00:00
Summary: Vulkan validation layers
License: ASL 2.0
URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers
Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-ValidationLayers-sdk-%{version}.tar.gz
2018-08-07 13:15:54 +00:00
Patch0: fix_shared.patch
2021-08-06 22:23:44 +00:00
Patch1: add-missing-export.patch
2021-12-09 09:42:58 +00:00
Patch2: fix-api.patch
BuildRequires: gcc
BuildRequires: gcc-c++
2018-06-26 16:56:57 +00:00
BuildRequires: cmake3
BuildRequires: glslang-devel
BuildRequires: ninja-build
BuildRequires: python%{python3_pkgversion}-devel
2018-06-26 16:56:57 +00:00
BuildRequires: spirv-tools-devel
2020-08-05 02:20:47 +00:00
BuildRequires: spirv-headers-devel
2018-06-26 16:56:57 +00:00
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)
%description
Vulkan validation layers
2018-08-07 13:15:54 +00:00
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: vulkan-headers
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
2018-06-26 16:56:57 +00:00
%prep
2018-08-07 13:15:54 +00:00
%autosetup -p1 -n Vulkan-ValidationLayers-sdk-%{version}
2018-06-26 16:56:57 +00:00
%build
2018-06-26 19:07:45 +00:00
# Decrease debuginfo verbosity to reduce memory consumption even more
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
2021-05-20 02:58:49 +00:00
%global optflags %(echo %{optflags} | sed 's/-O2 /-O1 /')
2018-08-07 13:15:54 +00:00
2020-08-05 01:57:01 +00:00
%cmake3 -DCMAKE_BUILD_TYPE=Release \
2019-11-14 02:58:37 +00:00
-DGLSLANG_INSTALL_DIR=%{_prefix} \
2019-08-03 22:02:15 +00:00
-DBUILD_LAYER_SUPPORT_FILES:BOOL=ON \
2021-05-18 19:41:54 +00:00
-DUSE_ROBIN_HOOD_HASHING:BOOL=OFF \
2020-08-05 02:14:52 +00:00
-DSPIRV_HEADERS_INSTALL_DIR=%{_includedir}/spirv \
2020-08-05 01:57:01 +00:00
-DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/vulkan/
2021-05-20 02:58:49 +00:00
%cmake_build
2018-06-26 16:56:57 +00:00
%install
2020-08-05 01:57:01 +00:00
%cmake_install
2018-06-26 16:56:57 +00:00
%ldconfig_scriptlets
%files
2019-02-13 01:07:50 +00:00
%license LICENSE.txt
2020-12-17 16:32:32 +00:00
%doc README.md CONTRIBUTING.md LAYER_CONFIGURATION.md
2018-06-26 16:56:57 +00:00
%{_datadir}/vulkan/explicit_layer.d/*.json
%{_libdir}/libVkLayer_*.so
2018-08-07 13:15:54 +00:00
%files devel
%{_includedir}/vulkan/
2018-06-26 16:56:57 +00:00
%changelog
2021-12-09 09:42:58 +00:00
* Thu Dec 09 2021 Dave Airlie <airlied@redhat.com> - 1.2.198.0-2
- fix ABI issue with spirv-tools
2021-11-23 07:29:34 +00:00
* Tue Nov 23 2021 Dave Airlie <airlied@redhat.com> - 1.2.198.0-1
- Update to latest 1.2.198.0
2021-09-07 22:29:49 +00:00
* Wed Sep 08 2021 Dave Airlie <airlied@redhat.com> - 1.2.189.0-1
- Update to latest 1.2.189.0
2021-08-06 22:23:44 +00:00
* Sat Aug 07 2021 Dave Airlie <airlied@redhat.com> - 1.2.182.0-3
- fix validation layers missing export
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.182.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-07-06 23:40:11 +00:00
* Wed Jul 07 2021 Dave Airlie <airlied@redhat.com> - 1.2.182.0-1
- Update to latest 1.2.182.0 release
2021-05-18 08:38:54 +00:00
* Tue May 18 2021 Dave Airlie <airlied@redhat.com> - 1.2.176.1-1
- Update to latest 1.2.176.1 release
2021-01-29 00:30:52 +00:00
* Fri Jan 29 2021 Dave Airlie <airlied@redhat.com> - 1.2.162.0-1
- Update to latest 1.2.162.0 release
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.154.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2020-12-17 16:32:32 +00:00
* Thu Dec 17 2020 Adam Jackson <ajax@redhat.com> - 1.2.154.0-2
- Add LAYER_CONFIGURATION.md to the docs
2020-11-03 22:31:56 +00:00
* Wed Nov 04 2020 Dave Airlie <airlied@redhat.com> - 1.2.154.0-1
- Update to 1.2.154.0
2020-08-05 01:57:01 +00:00
* Wed Aug 05 2020 Dave Airlie <airlied@redhat.com> - 1.2.148.0-1
- Update to 1.2.148.0
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.135.0-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.135.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-04-22 03:17:44 +00:00
* Wed Apr 22 2020 Dave Airlie <airlied@redhat.com> - 1.2.135.0-1
- Update validation layers to 1.2.135.0
2020-01-29 02:34:02 +00:00
* Wed Jan 29 2020 Dave Airlie <airlied@redhat.com> - 1.2.131.1-1
- Update validation layers to 1.2.131.1
2019-11-13 06:36:12 +00:00
* Wed Nov 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-1
- Update validation layers to 1.1.126.0
2019-07-31 05:27:30 +00:00
* Wed Jul 31 2019 Dave Airlie <airlied@redhat.com> - 1.1.114.0-1
- Update validation layers to 1.1.114.0
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.108.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-06-25 05:18:41 +00:00
* Tue Jun 25 2019 Dave Airlie <airlied@redhat.com> - 1.1.108.0-1
- Update valdiation layers to 1.1.108.0
2019-03-06 03:22:53 +00:00
* Wed Mar 06 2019 Dave Airlie <airlied@redhat.com> - 1.1.101.0-1
- Update valdiation layers to 1.1.101.0
2019-02-13 01:07:50 +00:00
* Wed Feb 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.97.0-1
- Update validation layers to 1.1.97.0
2019-02-12 23:30:13 +00:00
* Wed Feb 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.92.0-1
- Update validation layers to 1.1.92.0
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.82.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2018-08-07 13:15:54 +00:00
* Tue Aug 07 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.82.0-1
- Update to 1.1.82.0
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.77.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-06-26 19:07:45 +00:00
* Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-3
- Workaround i686 build issue
* Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-2
- Exclude i686 due to 'virtual memory exhausted' FTBFS
2018-06-26 16:56:57 +00:00
* Sat Jun 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1
- Initial package