Blame SPECS/vulkan-validation-layers.spec

9d6905
Name:           vulkan-validation-layers
5b427f
Version:        1.3.204.0
5b427f
Release:        1%{?dist}
9d6905
Summary:        Vulkan validation layers
9d6905
9d6905
License:        ASL 2.0
9d6905
URL:            https://github.com/KhronosGroup/Vulkan-ValidationLayers
9d6905
Source0:        %url/archive/sdk-%{version}.tar.gz#/Vulkan-ValidationLayers-sdk-%{version}.tar.gz
9d6905
Patch0:         fix_shared.patch
9d6905
Patch1:         add-missing-export.patch
5b427f
Patch2:         try-fix-headers.patch
5b427f
Patch3:         fix-spirv-tools-shared.patch
9d6905
9d6905
BuildRequires:  gcc
9d6905
BuildRequires:  gcc-c++
9d6905
BuildRequires:  cmake3
9d6905
BuildRequires:  glslang-devel
9d6905
BuildRequires:  ninja-build
9d6905
BuildRequires:  python%{python3_pkgversion}-devel
9d6905
BuildRequires:  spirv-tools-devel
9d6905
BuildRequires:  spirv-headers-devel
9d6905
BuildRequires:  vulkan-loader-devel
9d6905
BuildRequires:  pkgconfig(wayland-client)
9d6905
BuildRequires:  pkgconfig(wayland-cursor)
9d6905
BuildRequires:  pkgconfig(wayland-server)
9d6905
BuildRequires:  pkgconfig(wayland-egl)
9d6905
BuildRequires:  pkgconfig(x11)
9d6905
BuildRequires:  pkgconfig(xrandr)
9d6905
BuildRequires:  pkgconfig(xcb)
9d6905
9d6905
%description
9d6905
Vulkan validation layers
9d6905
9d6905
%package        devel
9d6905
Summary:        Development files for %{name}
9d6905
Requires:       %{name}%{?_isa} = %{version}-%{release}
9d6905
Requires:       vulkan-headers
9d6905
9d6905
%description    devel
9d6905
The %{name}-devel package contains libraries and header files for
9d6905
developing applications that use %{name}.
9d6905
9d6905
%prep
9d6905
%autosetup -p1 -n Vulkan-ValidationLayers-sdk-%{version}
9d6905
9d6905
9d6905
%build
9d6905
# Decrease debuginfo verbosity to reduce memory consumption even more
9d6905
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
9d6905
%global optflags %(echo %{optflags} | sed 's/-O2 /-O1 /')
9d6905
9d6905
%cmake3 -DCMAKE_BUILD_TYPE=Release \
9d6905
        -DGLSLANG_INSTALL_DIR=%{_prefix} \
9d6905
        -DBUILD_LAYER_SUPPORT_FILES:BOOL=ON \
9d6905
        -DUSE_ROBIN_HOOD_HASHING:BOOL=OFF \
9d6905
        -DSPIRV_HEADERS_INSTALL_DIR=%{_includedir}/spirv \
9d6905
        -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/vulkan/
9d6905
%cmake_build
9d6905
9d6905
9d6905
%install
9d6905
%cmake_install
9d6905
9d6905
9d6905
%ldconfig_scriptlets
9d6905
9d6905
9d6905
%files
9d6905
%license LICENSE.txt
9d6905
%doc README.md CONTRIBUTING.md LAYER_CONFIGURATION.md
9d6905
%{_datadir}/vulkan/explicit_layer.d/*.json
9d6905
%{_libdir}/libVkLayer_*.so
9d6905
9d6905
%files devel
9d6905
%{_includedir}/vulkan/
9d6905
9d6905
%changelog
5b427f
* Fri Feb 25 2022 Dave Airlie <airlied@redhat.com> - 1.3.204.0-1
5b427f
- Update to latest 1.3.204.0
5b427f
9d6905
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.182.0-3
9d6905
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
9d6905
  Related: rhbz#1991688
9d6905
9d6905
* Sat Aug 07 2021 Dave Airlie <airlied@redhat.com> - 1.2.182.0-2
9d6905
- add missing GetEnvironment export
9d6905
9d6905
* Fri Jul 30 2021 Dave Airlie <airlied@redhat.com> - 1.2.182.0-1
9d6905
- Update to latest 1.2.182.0 sdk
9d6905
9d6905
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.162.0-2
9d6905
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
9d6905
9d6905
* Fri Jan 29 2021 Dave Airlie <airlied@redhat.com> - 1.2.162.0-1
9d6905
- Update to latest 1.2.162.0 release
9d6905
9d6905
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.154.0-3
9d6905
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9d6905
9d6905
* Thu Dec 17 2020 Adam Jackson <ajax@redhat.com> - 1.2.154.0-2
9d6905
- Add LAYER_CONFIGURATION.md to the docs
9d6905
9d6905
* Wed Nov 04 2020 Dave Airlie <airlied@redhat.com> - 1.2.154.0-1
9d6905
- Update to 1.2.154.0
9d6905
9d6905
* Wed Aug 05 2020 Dave Airlie <airlied@redhat.com> - 1.2.148.0-1
9d6905
- Update to 1.2.148.0
9d6905
9d6905
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.135.0-3
9d6905
- Second attempt - Rebuilt for
9d6905
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9d6905
9d6905
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.135.0-2
9d6905
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9d6905
9d6905
* Wed Apr 22 2020 Dave Airlie <airlied@redhat.com> - 1.2.135.0-1
9d6905
- Update validation layers to 1.2.135.0
9d6905
9d6905
* Wed Jan 29 2020 Dave Airlie <airlied@redhat.com> - 1.2.131.1-1
9d6905
- Update validation layers to 1.2.131.1
9d6905
9d6905
* Wed Nov 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-1
9d6905
- Update validation layers to 1.1.126.0
9d6905
9d6905
* Wed Jul 31 2019 Dave Airlie <airlied@redhat.com> - 1.1.114.0-1
9d6905
- Update validation layers to 1.1.114.0
9d6905
9d6905
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.108.0-2
9d6905
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9d6905
9d6905
* Tue Jun 25 2019 Dave Airlie <airlied@redhat.com> - 1.1.108.0-1
9d6905
- Update valdiation layers to 1.1.108.0
9d6905
9d6905
* Wed Mar 06 2019 Dave Airlie <airlied@redhat.com> - 1.1.101.0-1
9d6905
- Update valdiation layers to 1.1.101.0
9d6905
9d6905
* Wed Feb 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.97.0-1
9d6905
- Update validation layers to 1.1.97.0
9d6905
9d6905
* Wed Feb 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.92.0-1
9d6905
- Update validation layers to 1.1.92.0
9d6905
9d6905
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.82.0-2
9d6905
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9d6905
9d6905
* Tue Aug 07 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.82.0-1
9d6905
- Update to 1.1.82.0
9d6905
9d6905
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.77.0-4
9d6905
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9d6905
9d6905
* Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-3
9d6905
- Workaround i686 build issue
9d6905
9d6905
* Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-2
9d6905
- Exclude i686 due to 'virtual memory exhausted' FTBFS
9d6905
9d6905
* Sat Jun 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1
9d6905
- Initial package