123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- %bcond_with bootstrap
- Name: vulkan-loader
- Version: 1.2.135.0
- Release: 2%{?_dist_release}
- Summary: Vulkan ICD desktop loader
- Vendor: Project Vine
- Distribution: Vine Linux
- License: ASL 2.0
- URL: https://github.com/KhronosGroup/Vulkan-Loader
- Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-Loader-sdk-%{version}.tar.gz
- BuildRequires: gcc
- BuildRequires: gcc-c++
- BuildRequires: cmake
- BuildRequires: ninja
- BuildRequires: python3-devel
- BuildRequires: vulkan-headers = %{version}
- #BuildRequires: pkgconfig(wayland-client)
- #BuildRequires: pkgconfig(wayland-cursor)
- #BuildRequires: pkgconfig(wayland-server)
- #BuildRequires: pkgconfig(wayland-egl)
- BuildRequires: pkgconfig(x11)
- BuildRequires: pkgconfig(xrandr)
- Provides: vulkan%{?_isa} = %{version}-%{release}
- Provides: vulkan = %{version}-%{release}
- Obsoletes: vulkan < %{version}-%{release}
- Provides: vulkan-filesystem = %{version}-%{release}
- Obsoletes: vulkan-filesystem < %{version}-%{release}
- %if !%{with bootstrap}
- Requires: mesa-vulkan-drivers%{?_isa}
- %endif
- %description
- This project provides the Khronos official Vulkan ICD desktop
- loader for Windows, Linux, and MacOS.
- %package devel
- Summary: Development files for %{name}
- Requires: %{name}%{?_isa} = %{version}-%{release}
- Requires: vulkan-headers
- Provides: vulkan-devel%{?_isa} = %{version}-%{release}
- Provides: vulkan-devel = %{version}-%{release}
- Obsoletes: vulkan-devel < %{version}-%{release}
- %description devel
- The %{name}-devel package contains libraries and header files for
- developing applications that use %{name}.
- %prep
- %autosetup -n Vulkan-Loader-sdk-%{version}
- %build
- %cmake \
- -GNinja \
- -DCMAKE_BUILD_TYPE=Release \
- -DBUILD_WSI_WAYLAND_SUPPORT=off \
- .
- %ninja_build
- %install
- %ninja_install
- # create the filesystem
- mkdir -p %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \
- %{buildroot}%{_datadir}/vulkan/{explicit,implicit}_layer.d/ \
- %{buildroot}{%{_sysconfdir},%{_datadir}}/vulkan/icd.d
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %license LICENSE.txt
- %doc README.md CONTRIBUTING.md
- %dir %{_sysconfdir}/vulkan/
- %dir %{_sysconfdir}/vulkan/explicit_layer.d/
- %dir %{_sysconfdir}/vulkan/icd.d/
- %dir %{_sysconfdir}/vulkan/implicit_layer.d/
- %dir %{_datadir}/vulkan/
- %dir %{_datadir}/vulkan/explicit_layer.d/
- %dir %{_datadir}/vulkan/icd.d/
- %dir %{_datadir}/vulkan/implicit_layer.d/
- %{_libdir}/*.so.*
- %files devel
- %{_libdir}/pkgconfig/vulkan.pc
- %{_libdir}/*.so
- %changelog
- * Wed Jul 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.135.0-2
- - initial build for Vine Linux.
- * Wed Apr 22 2020 Dave Airlie <airlied@redhat.com> - 1.2.135.0-1
- - Update to 1.2.135.0
- * Wed Jan 29 2020 Dave Airlie <airlied@redhat.com> - 1.2.131.1-1
- - Update to 1.2.131.1
- * Tue Nov 12 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-1
- - Update to 1.1.126.0
- * Wed Jul 31 2019 Dave Airlie <airlied@redhat.com> - 1.1.114.0-1
- - Update to 1.1.114.0
- * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.108.0-1
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- * Tue Jun 25 2019 Dave Airlie <airlied@redhat.com> - 1.1.108.0-0
- - Update to 1.1.108.0
- * Wed Mar 06 2019 Dave Airlie <airlied@redhat.com> - 1.1.101.0-0
- - Update to 1.1.101.0
- * Wed Feb 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.97.0-0
- - Update to 1.1.97.0
- * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.92.0-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- * Mon Dec 03 2018 Dave Airlie <airlied@redhat.com> - 1.1.92.0-1
- - Update to 1.1.92.0
- * Mon Nov 19 2018 Dave Airlie <airlied@redhat.com> - 1.1.85.0-1
- - Update to 1.1.85.0
- * Tue Aug 07 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.82.0-1
- - Update to 1.1.82.0
- * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.77.0-5
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- * Wed Jun 27 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-4
- - Fix update path
- * Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-3
- - Add conditional for mesa-vulkan-drivers requires
- * Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-2
- - Improve description and summary
- - Set release
- * Sat Jun 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1
- - Initial package
|