vulkan-loader-vl.spec 4.7 KB

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