|
|
cbdbd9 |
Name: vulkan-loader
|
|
|
cbdbd9 |
Version: 1.1.82.0
|
|
|
cbdbd9 |
Release: 1%{?dist}
|
|
|
cbdbd9 |
Summary: Vulkan ICD desktop loader
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
License: ASL 2.0
|
|
|
cbdbd9 |
URL: https://github.com/KhronosGroup/Vulkan-Loader
|
|
|
cbdbd9 |
Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-Loader-sdk-%{version}.tar.gz
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
BuildRequires: gcc
|
|
|
cbdbd9 |
BuildRequires: gcc-c++
|
|
|
cbdbd9 |
BuildRequires: cmake3
|
|
|
cbdbd9 |
BuildRequires: ninja-build
|
|
|
cbdbd9 |
BuildRequires: python%{python3_pkgversion}
|
|
|
cbdbd9 |
BuildRequires: %{_bindir}/python3
|
|
|
cbdbd9 |
BuildRequires: vulkan-headers = %{version}
|
|
|
cbdbd9 |
BuildRequires: pkgconfig(wayland-client)
|
|
|
cbdbd9 |
BuildRequires: pkgconfig(wayland-cursor)
|
|
|
cbdbd9 |
BuildRequires: pkgconfig(wayland-server)
|
|
|
cbdbd9 |
BuildRequires: pkgconfig(wayland-egl)
|
|
|
cbdbd9 |
BuildRequires: pkgconfig(x11)
|
|
|
cbdbd9 |
BuildRequires: pkgconfig(xrandr)
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
Provides: vulkan%{?_isa} = %{version}-%{release}
|
|
|
cbdbd9 |
Provides: vulkan = %{version}-%{release}
|
|
|
cbdbd9 |
Obsoletes: vulkan < %{version}-%{release}
|
|
|
cbdbd9 |
Provides: vulkan-filesystem = %{version}-%{release}
|
|
|
cbdbd9 |
Obsoletes: vulkan-filesystem < %{version}-%{release}
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
%if 0%{?fedora} <= 27
|
|
|
cbdbd9 |
%ifarch x86_64 i686
|
|
|
cbdbd9 |
Requires: mesa-vulkan-drivers%{?_isa}
|
|
|
cbdbd9 |
%endif
|
|
|
cbdbd9 |
%else
|
|
|
cbdbd9 |
Requires: mesa-vulkan-drivers%{?_isa}
|
|
|
cbdbd9 |
%endif
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
%description
|
|
|
cbdbd9 |
This project provides the Khronos official Vulkan ICD desktop
|
|
|
cbdbd9 |
loader for Windows, Linux, and MacOS.
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
%package devel
|
|
|
cbdbd9 |
Summary: Development files for %{name}
|
|
|
cbdbd9 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
cbdbd9 |
Requires: vulkan-headers
|
|
|
cbdbd9 |
Provides: vulkan-devel%{?_isa} = %{version}-%{release}
|
|
|
cbdbd9 |
Provides: vulkan-devel = %{version}-%{release}
|
|
|
cbdbd9 |
Obsoletes: vulkan-devel < %{version}-%{release}
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
%description devel
|
|
|
cbdbd9 |
The %{name}-devel package contains libraries and header files for
|
|
|
cbdbd9 |
developing applications that use %{name}.
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
%prep
|
|
|
cbdbd9 |
%autosetup -n Vulkan-Loader-sdk-%{version}
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
%build
|
|
|
cbdbd9 |
%cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release .
|
|
|
cbdbd9 |
%ninja_build
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
%install
|
|
|
cbdbd9 |
%ninja_install
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
# create the filesystem
|
|
|
cbdbd9 |
mkdir -p %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \
|
|
|
cbdbd9 |
%{buildroot}%{_datadir}/vulkan/{explicit,implicit}_layer.d/ \
|
|
|
cbdbd9 |
%{buildroot}{%{_sysconfdir},%{_datadir}}/vulkan/icd.d
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
%ldconfig_scriptlets
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
%files
|
|
|
cbdbd9 |
%license LICENSE.txt COPYRIGHT.txt
|
|
|
cbdbd9 |
%doc README.md CONTRIBUTING.md
|
|
|
cbdbd9 |
%dir %{_sysconfdir}/vulkan/
|
|
|
cbdbd9 |
%dir %{_sysconfdir}/vulkan/explicit_layer.d/
|
|
|
cbdbd9 |
%dir %{_sysconfdir}/vulkan/icd.d/
|
|
|
cbdbd9 |
%dir %{_sysconfdir}/vulkan/implicit_layer.d/
|
|
|
cbdbd9 |
%dir %{_datadir}/vulkan/
|
|
|
cbdbd9 |
%dir %{_datadir}/vulkan/explicit_layer.d/
|
|
|
cbdbd9 |
%dir %{_datadir}/vulkan/icd.d/
|
|
|
cbdbd9 |
%dir %{_datadir}/vulkan/implicit_layer.d/
|
|
|
cbdbd9 |
%{_libdir}/*.so.*
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
%files devel
|
|
|
cbdbd9 |
%{_libdir}/pkgconfig/vulkan.pc
|
|
|
cbdbd9 |
%{_libdir}/*.so
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
%changelog
|
|
|
cbdbd9 |
* Tue Aug 07 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.82.0-1
|
|
|
cbdbd9 |
- Update to 1.1.82.0
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.77.0-5
|
|
|
cbdbd9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
* Wed Jun 27 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-4
|
|
|
cbdbd9 |
- Fix update path
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
* Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-3
|
|
|
cbdbd9 |
- Add conditional for mesa-vulkan-drivers requires
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
* Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-2
|
|
|
cbdbd9 |
- Improve description and summary
|
|
|
cbdbd9 |
- Set release
|
|
|
cbdbd9 |
|
|
|
cbdbd9 |
* Sat Jun 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1
|
|
|
cbdbd9 |
- Initial package
|