Blame SPECS/vulkan-loader.spec

3f4927
Name:           vulkan-loader
c4cf67
Version:        1.3.239.0
c4cf67
Release:        1%{?dist}
3f4927
Summary:        Vulkan ICD desktop loader
3f4927
3f4927
License:        ASL 2.0
3f4927
URL:            https://github.com/KhronosGroup/Vulkan-Loader
3f4927
Source0:        %url/archive/sdk-%{version}.tar.gz#/Vulkan-Loader-sdk-%{version}.tar.gz       
3f4927
3f4927
# hard code adding notes to the one asm file compilation.
3f4927
Patch1: add-notes.patch
3f4927
3f4927
BuildRequires:  gcc
3f4927
BuildRequires:  gcc-c++
339400
BuildRequires:  cmake
3f4927
BuildRequires:  ninja-build
3f4927
BuildRequires:  python%{python3_pkgversion}-devel
c29043
BuildRequires:  vulkan-headers = %{version}
3f4927
BuildRequires:  pkgconfig(wayland-client)
3f4927
BuildRequires:  pkgconfig(wayland-cursor)
3f4927
BuildRequires:  pkgconfig(wayland-server)
3f4927
BuildRequires:  pkgconfig(wayland-egl)
3f4927
BuildRequires:  pkgconfig(x11)
3f4927
BuildRequires:  pkgconfig(xrandr)
3f4927
3f4927
Provides:       vulkan%{?_isa} = %{version}-%{release}
3f4927
Provides:       vulkan = %{version}-%{release}
3f4927
Obsoletes:      vulkan < %{version}-%{release}
3f4927
Provides:       vulkan-filesystem = %{version}-%{release}
3f4927
Obsoletes:      vulkan-filesystem < %{version}-%{release}
3f4927
3f4927
%if 0%{?fedora} <= 27
3f4927
%ifarch x86_64 i686 
3f4927
Requires:       mesa-vulkan-drivers%{?_isa}
3f4927
%endif
3f4927
%else
52a877
Recommends:     mesa-vulkan-drivers%{?_isa}
3f4927
%endif
3f4927
3f4927
%description
3f4927
This project provides the Khronos official Vulkan ICD desktop 
3f4927
loader for Windows, Linux, and MacOS.
3f4927
3f4927
%package        devel
3f4927
Summary:        Development files for %{name}
3f4927
Requires:       %{name}%{?_isa} = %{version}-%{release}
3f4927
Requires:       vulkan-headers
3f4927
Provides:       vulkan-devel%{?_isa} = %{version}-%{release}
3f4927
Provides:       vulkan-devel = %{version}-%{release}
3f4927
Obsoletes:      vulkan-devel < %{version}-%{release}
3f4927
3f4927
%description    devel
3f4927
The %{name}-devel package contains libraries and header files for
3f4927
developing applications that use %{name}.
3f4927
3f4927
3f4927
%prep
3f4927
%autosetup -n Vulkan-Loader-sdk-%{version} -p1
3f4927
3f4927
3f4927
%build
c29043
%cmake -GNinja -DCMAKE_BUILD_TYPE=Release .
3f4927
%ninja_build
3f4927
3f4927
3f4927
%install
3f4927
%ninja_install
3f4927
3f4927
# create the filesystem
3f4927
mkdir -p %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \
3f4927
%{buildroot}%{_datadir}/vulkan/{explicit,implicit}_layer.d/ \
3f4927
%{buildroot}{%{_sysconfdir},%{_datadir}}/vulkan/icd.d
3f4927
3f4927
3f4927
%ldconfig_scriptlets
3f4927
3f4927
3f4927
%files
3f4927
%license LICENSE.txt
3f4927
%doc README.md CONTRIBUTING.md
3f4927
%dir %{_sysconfdir}/vulkan/
3f4927
%dir %{_sysconfdir}/vulkan/explicit_layer.d/
3f4927
%dir %{_sysconfdir}/vulkan/icd.d/
3f4927
%dir %{_sysconfdir}/vulkan/implicit_layer.d/
3f4927
%dir %{_datadir}/vulkan/
3f4927
%dir %{_datadir}/vulkan/explicit_layer.d/
3f4927
%dir %{_datadir}/vulkan/icd.d/
3f4927
%dir %{_datadir}/vulkan/implicit_layer.d/
3f4927
%{_libdir}/*.so.*
3f4927
3f4927
%files devel
3f4927
%{_libdir}/pkgconfig/vulkan.pc
3f4927
%{_libdir}/*.so
3f4927
3f4927
3f4927
%changelog
c4cf67
* Tue Feb 14 2023 Dave Airlie <airlied@redhat.com> - 1.3.239.0-1
c4cf67
- Update to 1.3.239.0
c4cf67
52a877
* Wed Aug 24 2022 Dave Airlie <airlied@redhat.com> - 1.3.224.0-2
52a877
- Change to recommends
52a877
52a877
* Wed Aug 24 2022 Dave Airlie <airlied@redhat.com> - 1.3.224.0-1
52a877
- Update to 1.3.224.0
52a877
f91d3a
* Mon Jun 20 2022 Dave Airlie <airlied@redhat.com> - 1.3.216.0-1
f91d3a
- Update to 1.3.216.0
f91d3a
a00046
* Thu Feb 24 2022 Dave Airlie <airlied@redhat.com> - 1.3.204.0-2
69b3e2
- Fix aarch64 TEXTREL
69b3e2
a00046
* Mon Feb 21 2022 Dave Airlie <airlied@redhat.com> - 1.3.204.0-1
a00046
- Update to 1.3.204.0
a567c4
c29043
* Mon Feb 01 2021 Dave Airlie <airlied@redhat.com> - 1.2.162.0-1
c29043
- Update to 1.2.162.0
217640
140e7a
* Wed Aug 05 2020 Dave Airlie <airlied@redhat.com> - 1.2.148.0-1
140e7a
- Update to 1.2.148.0
555d7f
3f4927
* Wed Jan 29 2020 Dave Airlie <airlied@redhat.com> - 1.2.131.1-1
3f4927
- Update to 1.2.131.1
3f4927
3f4927
* Sat Dec 07 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-2
3f4927
- Rebuild for 8.2.0
3f4927
3f4927
* Tue Nov 12 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-1
3f4927
- Update to 1.1.126.0
3f4927
3f4927
* Thu Aug 08 2019 Dave Airlie <airlied@redhat.com> - 1.1.114.0-3
3f4927
- Add notes to avoid annobin gaps warning on i686
3f4927
3f4927
* Thu Aug 08 2019 Dave Airlie <airlied@redhat.com> - 1.1.114.0-2
3f4927
- Add support to asm files for -fcf-protection
3f4927
3f4927
* Mon Aug 05 2019 Dave Airlie <airlied@redhat.com> - 1.1.114.0-1
3f4927
- Update to 1.1.114.0
3f4927
3f4927
* Wed Mar 06 2019 Dave Airlie <airlied@redhat.com> - 1.1.101.0-0
3f4927
- Update to 1.1.101.0
3f4927
3f4927
* Tue Aug 07 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.82.0-1
3f4927
- Update to 1.1.82.0
3f4927
3f4927
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.77.0-5
3f4927
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3f4927
3f4927
* Wed Jun 27 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-4
3f4927
- Fix update path
3f4927
3f4927
* Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-3
3f4927
- Add conditional for mesa-vulkan-drivers requires
3f4927
3f4927
* Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-2
3f4927
- Improve description and summary
3f4927
- Set release
3f4927
3f4927
* Sat Jun 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1
3f4927
- Initial package