[12440] | 1 | #global commit 2ad0492fb00919d99500f1da74abf5ad3c870e4e |
---|
| 2 | #global shortcommit %(c=%{commit}; echo ${c:0:7}) |
---|
| 3 | #global commit_date 20200414 |
---|
| 4 | #global gitrel .%{commit_date}.git%{shortcommit} |
---|
| 5 | |
---|
| 6 | Name: spirv-headers |
---|
| 7 | Summary: Header files from the SPIR-V registry |
---|
| 8 | Version: 1.5.3 |
---|
| 9 | Release: 1%{?gitrel}%{?_dist_release} |
---|
| 10 | Vendor: Project Vine |
---|
| 11 | Distribution: Vine Linux |
---|
| 12 | |
---|
| 13 | License: MIT |
---|
| 14 | URL: https://github.com/KhronosGroup |
---|
| 15 | %if 0%{?commit_date} |
---|
| 16 | Source0: %url/SPIRV-Headers/archive/%{commit}/%{name}-%{commit}.tar.gz |
---|
| 17 | %else |
---|
| 18 | Source0: %url/SPIRV-Headers/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz |
---|
| 19 | %endif |
---|
| 20 | |
---|
| 21 | BuildArch: noarch |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | %{summary} |
---|
| 25 | |
---|
| 26 | This includes: |
---|
| 27 | |
---|
| 28 | * Header files for various languages. |
---|
| 29 | * JSON files describing the grammar for the SPIR-V core instruction |
---|
| 30 | set, and for the GLSL.std.450 extended instruction set. |
---|
| 31 | * The XML registry file |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %package devel |
---|
| 35 | Summary: Development files for %{name} |
---|
| 36 | |
---|
| 37 | %description devel |
---|
| 38 | %{summary} |
---|
| 39 | |
---|
| 40 | This includes: |
---|
| 41 | |
---|
| 42 | * Header files for various languages. |
---|
| 43 | * JSON files describing the grammar for the SPIR-V core instruction |
---|
| 44 | set, and for the GLSL.std.450 extended instruction set. |
---|
| 45 | * The XML registry fil |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %prep |
---|
| 49 | %if 0%{?commit_date} |
---|
| 50 | %autosetup -n SPIRV-Headers-%{commit} |
---|
| 51 | %else |
---|
| 52 | %autosetup -n SPIRV-Headers-%{version} |
---|
| 53 | %endif |
---|
| 54 | chmod a-x include/spirv/1.2/spirv.py |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %build |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %install |
---|
| 61 | mkdir -p %buildroot%{_includedir}/ |
---|
| 62 | mv include/* %buildroot%{_includedir}/ |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | %files devel |
---|
| 66 | %license LICENSE |
---|
| 67 | %doc README.md |
---|
| 68 | %{_includedir}/spirv/ |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | %changelog |
---|
| 72 | * Wed Jul 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.5.3-1 |
---|
| 73 | - initial build for Vine Linux. |
---|
| 74 | - new upstream release. |
---|
| 75 | |
---|
| 76 | * Wed Apr 22 2020 Dave Airlie <airlied@redhat.com> - 1.5.1-3 |
---|
| 77 | - Update to latest spirv headers |
---|
| 78 | |
---|
| 79 | * Wed Jan 29 2020 Dave Airlie <airlied@redhat.com> - 1.5.1-2 |
---|
| 80 | - Update to latest spirv headers |
---|
| 81 | |
---|
| 82 | * Tue Nov 12 2019 Dave Airlie <airlied@redhat.com> - 1.5.1-1 |
---|
| 83 | - Latest git snapshot building vulkan |
---|
| 84 | |
---|
| 85 | * Thu Aug 01 2019 Dave Airlie <airlied@redhat.com> - 1.4.2-0.1 |
---|
| 86 | - Latest git snapshot for building vulkan. |
---|
| 87 | |
---|
| 88 | * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2 |
---|
| 89 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
---|
| 90 | |
---|
| 91 | * Mon Jun 10 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.4.1-1 |
---|
| 92 | - Release 1.4.1 |
---|
| 93 | |
---|
| 94 | * Thu Mar 07 2019 Dave Airlie <airlied@redhat.com> - 1.2-0.12.20190307.git03a0815 |
---|
| 95 | - Update to latest version |
---|
| 96 | |
---|
| 97 | * Mon Feb 04 2019 Dave Airlie <airlied@redhat.com> - 1.2-0.11.20190125.git8bea0a2 |
---|
| 98 | - Update to latest version |
---|
| 99 | |
---|
| 100 | * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.10.20180703.gitff684ff |
---|
| 101 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
| 102 | |
---|
| 103 | * Sat Oct 20 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.2-0.9.20180703.gitff684ff |
---|
| 104 | - Revert last commit |
---|
| 105 | |
---|
| 106 | * Sat Oct 20 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.2-0.8.20180919.gitd5b2e12 |
---|
| 107 | - Update for SPIRV-Tools-2018.5 |
---|
| 108 | |
---|
| 109 | * Mon Jul 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.2-0.7.20180703.gitff684ff |
---|
| 110 | - Update for SPIRV-Tools-2018.4 |
---|
| 111 | |
---|
| 112 | * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.6.20180405.git12f8de9 |
---|
| 113 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
| 114 | |
---|
| 115 | * Tue Apr 24 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.2-0.5.20180405.git12f8de9 |
---|
| 116 | - Update for vulkan 1.0.73.0 |
---|
| 117 | |
---|
| 118 | * Fri Feb 09 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.2-0.4.20180201.gitce30920 |
---|
| 119 | - Update for vulkan 1.0.68.0 |
---|
| 120 | |
---|
| 121 | * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.3.20171015.git0610978 |
---|
| 122 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
| 123 | |
---|
| 124 | * Mon Jan 22 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.2-0.2.20171015.git0610978 |
---|
| 125 | - fix rpmlint error |
---|
| 126 | |
---|
| 127 | * Thu Jul 13 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.2-0.1.20171015.git0610978 |
---|
| 128 | - First build |
---|
| 129 | |
---|