spirv-headers-vl.spec 3.8 KB

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