Initial import
This commit is contained in:
parent
3a66c57b0d
commit
831258f1e2
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/Vulkan-Loader-sdk-1.1.77.0.tar.gz
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (Vulkan-Loader-sdk-1.1.77.0.tar.gz) = 547b79ad5d1a14cce32ea97e9f7c67ae3d01871a75d8cb61ddf4eccb76aca865f5e89859d3a44b53e8de7e4677b79fe339fa484cc1a881ee1c332b8c2fe06d19
|
85
vulkan-loader.spec
Normal file
85
vulkan-loader.spec
Normal file
@ -0,0 +1,85 @@
|
||||
Name: vulkan-loader
|
||||
Version: 1.1.77.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Vulkan loader
|
||||
|
||||
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: cmake3
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: python%{python3_pkgversion}
|
||||
BuildRequires: vulkan-headers
|
||||
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}
|
||||
Obsoletes: vulkan < %{version}-%{release}
|
||||
Provides: vulkan-filesystem = %{version}-%{release}
|
||||
Obsoletes: vulkan-filesystem < %{version}-%{release}
|
||||
|
||||
Requires: mesa-vulkan-drivers%{?_isa}
|
||||
|
||||
%description
|
||||
Vulkan loader
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: vulkan-headers
|
||||
Provides: vulkan-devel%{?_isa} = %{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
|
||||
%cmake3 -GNinja .
|
||||
%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
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE.txt COPYRIGHT.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
|
||||
%{_includedir}/vulkan
|
||||
%{_libdir}/pkgconfig/vulkan.pc
|
||||
%{_libdir}/*.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Jun 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1
|
||||
- Initial package
|
Loading…
Reference in New Issue
Block a user