vulkan-loader-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. %bcond_with bootstrap
  2. Name: vulkan-loader
  3. Summary: Vulkan ICD desktop loader
  4. Version: 1.2.170.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/sdk-%{version}.tar.gz#/Vulkan-Loader-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-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}/*.so
  75. %changelog
  76. * Sun Mar 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.170.0-1
  77. - new upstream release.
  78. - dropped ldconfig scriptlets.
  79. - added wayland support.
  80. * Wed Jul 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.135.0-2
  81. - initial build for Vine Linux.
  82. * Wed Apr 22 2020 Dave Airlie <airlied@redhat.com> - 1.2.135.0-1
  83. - Update to 1.2.135.0
  84. * Wed Jan 29 2020 Dave Airlie <airlied@redhat.com> - 1.2.131.1-1
  85. - Update to 1.2.131.1
  86. * Tue Nov 12 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-1
  87. - Update to 1.1.126.0
  88. * Wed Jul 31 2019 Dave Airlie <airlied@redhat.com> - 1.1.114.0-1
  89. - Update to 1.1.114.0
  90. * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.108.0-1
  91. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  92. * Tue Jun 25 2019 Dave Airlie <airlied@redhat.com> - 1.1.108.0-0
  93. - Update to 1.1.108.0
  94. * Wed Mar 06 2019 Dave Airlie <airlied@redhat.com> - 1.1.101.0-0
  95. - Update to 1.1.101.0
  96. * Wed Feb 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.97.0-0
  97. - Update to 1.1.97.0
  98. * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.92.0-2
  99. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  100. * Mon Dec 03 2018 Dave Airlie <airlied@redhat.com> - 1.1.92.0-1
  101. - Update to 1.1.92.0
  102. * Mon Nov 19 2018 Dave Airlie <airlied@redhat.com> - 1.1.85.0-1
  103. - Update to 1.1.85.0
  104. * Tue Aug 07 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.82.0-1
  105. - Update to 1.1.82.0
  106. * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.77.0-5
  107. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  108. * Wed Jun 27 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-4
  109. - Fix update path
  110. * Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-3
  111. - Add conditional for mesa-vulkan-drivers requires
  112. * Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-2
  113. - Improve description and summary
  114. - Set release
  115. * Sat Jun 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1
  116. - Initial package