[12440] | 1 | %bcond_with bootstrap |
---|
| 2 | |
---|
| 3 | Name: vulkan-loader |
---|
| 4 | Version: 1.2.135.0 |
---|
| 5 | Release: 2%{?_dist_release} |
---|
| 6 | Summary: Vulkan ICD desktop loader |
---|
| 7 | Vendor: Project Vine |
---|
| 8 | Distribution: Vine Linux |
---|
| 9 | |
---|
| 10 | License: ASL 2.0 |
---|
| 11 | URL: https://github.com/KhronosGroup/Vulkan-Loader |
---|
| 12 | Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-Loader-sdk-%{version}.tar.gz |
---|
| 13 | |
---|
| 14 | BuildRequires: gcc |
---|
| 15 | BuildRequires: gcc-c++ |
---|
| 16 | BuildRequires: cmake |
---|
| 17 | BuildRequires: ninja |
---|
| 18 | BuildRequires: python3-devel |
---|
| 19 | BuildRequires: vulkan-headers = %{version} |
---|
| 20 | #BuildRequires: pkgconfig(wayland-client) |
---|
| 21 | #BuildRequires: pkgconfig(wayland-cursor) |
---|
| 22 | #BuildRequires: pkgconfig(wayland-server) |
---|
| 23 | #BuildRequires: pkgconfig(wayland-egl) |
---|
| 24 | BuildRequires: pkgconfig(x11) |
---|
| 25 | BuildRequires: pkgconfig(xrandr) |
---|
| 26 | |
---|
| 27 | Provides: vulkan%{?_isa} = %{version}-%{release} |
---|
| 28 | Provides: vulkan = %{version}-%{release} |
---|
| 29 | Obsoletes: vulkan < %{version}-%{release} |
---|
| 30 | Provides: vulkan-filesystem = %{version}-%{release} |
---|
| 31 | Obsoletes: vulkan-filesystem < %{version}-%{release} |
---|
| 32 | |
---|
| 33 | %if !%{with bootstrap} |
---|
| 34 | Requires: mesa-vulkan-drivers%{?_isa} |
---|
| 35 | %endif |
---|
| 36 | |
---|
| 37 | %description |
---|
| 38 | This project provides the Khronos official Vulkan ICD desktop |
---|
| 39 | loader for Windows, Linux, and MacOS. |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %package devel |
---|
| 43 | Summary: Development files for %{name} |
---|
| 44 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 45 | Requires: vulkan-headers |
---|
| 46 | Provides: vulkan-devel%{?_isa} = %{version}-%{release} |
---|
| 47 | Provides: vulkan-devel = %{version}-%{release} |
---|
| 48 | Obsoletes: vulkan-devel < %{version}-%{release} |
---|
| 49 | |
---|
| 50 | %description devel |
---|
| 51 | The %{name}-devel package contains libraries and header files for |
---|
| 52 | developing applications that use %{name}. |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %prep |
---|
| 56 | %autosetup -n Vulkan-Loader-sdk-%{version} |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %build |
---|
| 60 | %cmake \ |
---|
| 61 | -GNinja \ |
---|
| 62 | -DCMAKE_BUILD_TYPE=Release \ |
---|
| 63 | -DBUILD_WSI_WAYLAND_SUPPORT=off \ |
---|
| 64 | . |
---|
| 65 | %ninja_build |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %install |
---|
| 69 | %ninja_install |
---|
| 70 | |
---|
| 71 | # create the filesystem |
---|
| 72 | mkdir -p %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \ |
---|
| 73 | %{buildroot}%{_datadir}/vulkan/{explicit,implicit}_layer.d/ \ |
---|
| 74 | %{buildroot}{%{_sysconfdir},%{_datadir}}/vulkan/icd.d |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | %post -p /sbin/ldconfig |
---|
| 78 | %postun -p /sbin/ldconfig |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %files |
---|
| 82 | %license LICENSE.txt |
---|
| 83 | %doc README.md CONTRIBUTING.md |
---|
| 84 | %dir %{_sysconfdir}/vulkan/ |
---|
| 85 | %dir %{_sysconfdir}/vulkan/explicit_layer.d/ |
---|
| 86 | %dir %{_sysconfdir}/vulkan/icd.d/ |
---|
| 87 | %dir %{_sysconfdir}/vulkan/implicit_layer.d/ |
---|
| 88 | %dir %{_datadir}/vulkan/ |
---|
| 89 | %dir %{_datadir}/vulkan/explicit_layer.d/ |
---|
| 90 | %dir %{_datadir}/vulkan/icd.d/ |
---|
| 91 | %dir %{_datadir}/vulkan/implicit_layer.d/ |
---|
| 92 | %{_libdir}/*.so.* |
---|
| 93 | |
---|
| 94 | %files devel |
---|
| 95 | %{_libdir}/pkgconfig/vulkan.pc |
---|
| 96 | %{_libdir}/*.so |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | %changelog |
---|
| 100 | * Wed Jul 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.135.0-2 |
---|
| 101 | - initial build for Vine Linux. |
---|
| 102 | |
---|
| 103 | * Wed Apr 22 2020 Dave Airlie <airlied@redhat.com> - 1.2.135.0-1 |
---|
| 104 | - Update to 1.2.135.0 |
---|
| 105 | |
---|
| 106 | * Wed Jan 29 2020 Dave Airlie <airlied@redhat.com> - 1.2.131.1-1 |
---|
| 107 | - Update to 1.2.131.1 |
---|
| 108 | |
---|
| 109 | * Tue Nov 12 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-1 |
---|
| 110 | - Update to 1.1.126.0 |
---|
| 111 | |
---|
| 112 | * Wed Jul 31 2019 Dave Airlie <airlied@redhat.com> - 1.1.114.0-1 |
---|
| 113 | - Update to 1.1.114.0 |
---|
| 114 | |
---|
| 115 | * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.108.0-1 |
---|
| 116 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
---|
| 117 | |
---|
| 118 | * Tue Jun 25 2019 Dave Airlie <airlied@redhat.com> - 1.1.108.0-0 |
---|
| 119 | - Update to 1.1.108.0 |
---|
| 120 | |
---|
| 121 | * Wed Mar 06 2019 Dave Airlie <airlied@redhat.com> - 1.1.101.0-0 |
---|
| 122 | - Update to 1.1.101.0 |
---|
| 123 | |
---|
| 124 | * Wed Feb 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.97.0-0 |
---|
| 125 | - Update to 1.1.97.0 |
---|
| 126 | |
---|
| 127 | * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.92.0-2 |
---|
| 128 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
| 129 | |
---|
| 130 | * Mon Dec 03 2018 Dave Airlie <airlied@redhat.com> - 1.1.92.0-1 |
---|
| 131 | - Update to 1.1.92.0 |
---|
| 132 | |
---|
| 133 | * Mon Nov 19 2018 Dave Airlie <airlied@redhat.com> - 1.1.85.0-1 |
---|
| 134 | - Update to 1.1.85.0 |
---|
| 135 | |
---|
| 136 | * Tue Aug 07 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.82.0-1 |
---|
| 137 | - Update to 1.1.82.0 |
---|
| 138 | |
---|
| 139 | * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.77.0-5 |
---|
| 140 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
| 141 | |
---|
| 142 | * Wed Jun 27 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-4 |
---|
| 143 | - Fix update path |
---|
| 144 | |
---|
| 145 | * Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-3 |
---|
| 146 | - Add conditional for mesa-vulkan-drivers requires |
---|
| 147 | |
---|
| 148 | * Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-2 |
---|
| 149 | - Improve description and summary |
---|
| 150 | - Set release |
---|
| 151 | |
---|
| 152 | * Sat Jun 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1 |
---|
| 153 | - Initial package |
---|