Blame SPECS/vulkan-validation-layers.spec

c7d5be
Name:           vulkan-validation-layers
501123
Version:        1.2.198.0
ca3624
Release:        4%{?dist}
c7d5be
Summary:        Vulkan validation layers
c7d5be
c7d5be
License:        ASL 2.0
c7d5be
URL:            https://github.com/KhronosGroup/Vulkan-ValidationLayers
c7d5be
Source0:        %url/archive/sdk-%{version}.tar.gz#/Vulkan-ValidationLayers-sdk-%{version}.tar.gz
c7d5be
Patch0:         fix_shared.patch
358055
Patch1:         add-missing-export.patch
c7d5be
BuildRequires:  gcc
c7d5be
BuildRequires:  gcc-c++
568340
BuildRequires:  cmake
c7d5be
BuildRequires:  glslang-devel
c7d5be
BuildRequires:  ninja-build
c7d5be
BuildRequires:  python%{python3_pkgversion}-devel
c7d5be
BuildRequires:  spirv-tools-devel
92ad4f
BuildRequires:  spirv-headers-devel
c7d5be
BuildRequires:  vulkan-loader-devel
c7d5be
BuildRequires:  pkgconfig(wayland-client)
c7d5be
BuildRequires:  pkgconfig(wayland-cursor)
c7d5be
BuildRequires:  pkgconfig(wayland-server)
c7d5be
BuildRequires:  pkgconfig(wayland-egl)
c7d5be
BuildRequires:  pkgconfig(x11)
c7d5be
BuildRequires:  pkgconfig(xrandr)
c7d5be
BuildRequires:  pkgconfig(xcb)
c7d5be
c7d5be
Requires: spirv-tools-libs >= 2019.4-1.20191109
c7d5be
%description
c7d5be
Vulkan validation layers
c7d5be
c7d5be
%package        devel
c7d5be
Summary:        Development files for %{name}
c7d5be
Requires:       %{name}%{?_isa} = %{version}-%{release}
c7d5be
Requires:       vulkan-headers
c7d5be
c7d5be
%description    devel
c7d5be
The %{name}-devel package contains libraries and header files for
c7d5be
developing applications that use %{name}.
c7d5be
c7d5be
%prep
c7d5be
%autosetup -p1 -n Vulkan-ValidationLayers-sdk-%{version}
c7d5be
c7d5be
c7d5be
%build
c7d5be
# Decrease debuginfo verbosity to reduce memory consumption even more
c7d5be
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
255eb1
%global optflags %(echo %{optflags} | sed 's/-O2 /-O1 /')
c7d5be
c7d5be
178c65
%cmake -GNinja \
c7d5be
        -DCMAKE_BUILD_TYPE=Release \
c7d5be
        -DGLSLANG_INSTALL_DIR=%{_prefix} \
c7d5be
        -DBUILD_LAYER_SUPPORT_FILES:BOOL=ON \
255eb1
        -DUSE_ROBIN_HOOD_HASHING:BOOL=OFF \
92ad4f
        -DSPIRV_HEADERS_INSTALL_DIR=%{_includedir}/spirv/ \
c7d5be
        -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/vulkan/ .
c7d5be
%ninja_build
c7d5be
c7d5be
c7d5be
%install
c7d5be
%ninja_install
c7d5be
c7d5be
c7d5be
%ldconfig_scriptlets
c7d5be
c7d5be
c7d5be
%files
c7d5be
%license LICENSE.txt
c7d5be
%doc README.md CONTRIBUTING.md
c7d5be
%{_datadir}/vulkan/explicit_layer.d/*.json
c7d5be
%{_libdir}/libVkLayer_*.so
c7d5be
c7d5be
%files devel
c7d5be
%{_includedir}/vulkan/
c7d5be
c7d5be
%changelog
ca3624
* Fri Dec 10 2021 Dave Airlie <airlied@redhat.com> - 1.2.198.0-4
ca3624
- Rebuild for spirv-tools ABI
ca3624
501123
* Thu Dec 09 2021 Dave Airlie <airlied@redhat.com> - 1.2.198.0-3
501123
- Rebuild for spirv-tools
501123
501123
* Wed Dec 01 2021 Dave Airlie <airlied@redhat.com> - 1.2.198.0-2
501123
- Update to 1.2.198.0
501123
09510b
* Wed Sep 08 2021 Dave Airlie <airlied@redhat.com> - 1.2.189.0-2
09510b
- Update to 1.2.189.0 SDK
255eb1
178c65
* Mon Feb 01 2021 Dave Airlie <airlied@redhat.com> - 1.2.162.0-1
178c65
- Update to 1.2.162.0
2ee832
92ad4f
* Wed Aug 05 2020 Dave Airlie <airlied@redhat.com> - 1.2.148.0-1
92ad4f
- Update to 1.2.148.0
790d13
c7d5be
* Wed Jan 29 2020 Dave Airlie <airlied@redhat.com> - 1.2.131.1-1
c7d5be
- Update for 8.2.0 for vulkan 1.2
c7d5be
c7d5be
* Sat Dec 07 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-3
c7d5be
- Update for 8.2.0
c7d5be
c7d5be
* Fri Nov 29 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-2
c7d5be
- Add explicit spirv toos libs requires
c7d5be
c7d5be
* Wed Nov 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-1
c7d5be
- Update validation layers to 1.1.126.0
c7d5be
c7d5be
* Wed Jul 31 2019 Dave Airlie <airlied@redhat.com> - 1.1.114.0-1
c7d5be
- Update validation layers to 1.1.114.0
c7d5be
c7d5be
* Wed Mar 06 2019 Dave Airlie <airlied@redhat.com> - 1.1.101.0-1
c7d5be
- Update valdiation layers to 1.1.101.0
c7d5be
c7d5be
* Tue Aug 07 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.82.0-1
c7d5be
- Update to 1.1.82.0
c7d5be
c7d5be
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.77.0-4
c7d5be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c7d5be
c7d5be
* Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-3
c7d5be
- Workaround i686 build issue
c7d5be
c7d5be
* Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-2
c7d5be
- Exclude i686 due to 'virtual memory exhausted' FTBFS
c7d5be
c7d5be
* Sat Jun 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1
c7d5be
- Initial package