parent
450ca3197f
commit
0a948cbb89
@ -0,0 +1 @@
|
||||
/vkd3d-1.0.tar.xz
|
@ -0,0 +1 @@
|
||||
SHA512 (vkd3d-1.0.tar.xz) = 55712528688cdedc63049e168b371b470dbb8e31ddc36d8b23b0655f4a061726eb8556b9abf3cb887f6bd21379959aed9fab93ba0fd53813aec413ebec71d615
|
@ -0,0 +1,110 @@
|
||||
Name: vkd3d
|
||||
Version: 1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: D3D12 to Vulkan translation library
|
||||
|
||||
License: LGPLv2+
|
||||
URL: https://source.winehq.org/git/vkd3d.git
|
||||
Source0: https://dl.winehq.org/vkd3d/source/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: spirv-headers-devel
|
||||
BuildRequires: spirv-tools-devel
|
||||
BuildRequires: vulkan-devel
|
||||
BuildRequires: xcb-util-devel
|
||||
BuildRequires: xcb-util-keysyms-devel
|
||||
BuildRequires: xcb-util-wm-devel
|
||||
|
||||
%description
|
||||
The vkd3d project includes libraries, shaders, utilities, and demos for
|
||||
translating D3D12 to Vulkan.
|
||||
|
||||
|
||||
%package -n libvkd3d
|
||||
Summary: D3D12 to Vulkan translation library
|
||||
|
||||
|
||||
%description -n libvkd3d
|
||||
libvkd3d is the main component of the vkd3d project. It's a 3D graphics
|
||||
library built on top of Vulkan with an API very similar to Direct3D 12.
|
||||
|
||||
|
||||
%package -n libvkd3d-devel
|
||||
Summary: Development files for vkd3d
|
||||
Requires: libvkd3d%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
||||
%description -n libvkd3d-devel
|
||||
Development files for vkd3d
|
||||
|
||||
|
||||
%package -n libvkd3d-utils
|
||||
Summary: Utility library for vkd3d
|
||||
|
||||
|
||||
%description -n libvkd3d-utils
|
||||
libvkd3d-utils contains simple implementations of various functions which
|
||||
might be useful for source ports of Direct3D 12 applications.
|
||||
|
||||
|
||||
%package -n libvkd3d-utils-devel
|
||||
Summary: Development files for libvkd3d-utils
|
||||
Requires: libvkd3d-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: libvkd3d-utils%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
||||
%description -n libvkd3d-utils-devel
|
||||
Development files for libvkd3d-utils
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%configure --with-spirv-tools
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
#Remove libtool files and static libraries
|
||||
find %{buildroot} -regextype egrep -regex '.*\.a$|.*\.la$' -delete
|
||||
|
||||
|
||||
%files -n libvkd3d
|
||||
%doc AUTHORS INSTALL README
|
||||
%license COPYING LICENSE
|
||||
%{_libdir}/libvkd3d.so.1
|
||||
%{_libdir}/libvkd3d.so.1.0.0
|
||||
|
||||
|
||||
%files -n libvkd3d-devel
|
||||
%dir %{_includedir}/vkd3d
|
||||
%{_includedir}/vkd3d/vkd3d_d3d12.h
|
||||
%{_includedir}/vkd3d/vkd3d_d3dcommon.h
|
||||
%{_includedir}/vkd3d/vkd3d_dxgibase.h
|
||||
%{_includedir}/vkd3d/vkd3d_dxgiformat.h
|
||||
%{_includedir}/vkd3d/vkd3d.h
|
||||
%{_includedir}/vkd3d/vkd3d_windows.h
|
||||
%{_libdir}/libvkd3d.so
|
||||
%{_libdir}/pkgconfig/libvkd3d.pc
|
||||
|
||||
|
||||
%files -n libvkd3d-utils
|
||||
%{_libdir}/libvkd3d-utils.so.1
|
||||
%{_libdir}/libvkd3d-utils.so.1.0.0
|
||||
|
||||
|
||||
%files -n libvkd3d-utils-devel
|
||||
%{_includedir}/vkd3d/vkd3d_utils.h
|
||||
%{_libdir}/libvkd3d-utils.so
|
||||
%{_libdir}/pkgconfig/libvkd3d-utils.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed May 30 2018 - Michael Cronenworth <mike@cchtml.com> - 1.0-1
|
||||
- Initial release
|
||||
|
Loading…
Reference in new issue