Compare commits

..

No commits in common. "rawhide" and "f34" have entirely different histories.

3 changed files with 12 additions and 184 deletions

4
.gitignore vendored
View file

@ -1,2 +1,2 @@
/vkd3d-*.tar.xz
/vkd3d-*.tar.xz.sign
/vkd3d-1.2.tar.xz
/vkd3d-1.2.tar.xz.sign

View file

@ -1,2 +1,2 @@
SHA512 (vkd3d-1.19.tar.xz) = 97502ee4340648feaf19919710310db5fe87909bb4e71150987595cd7fa85031d7eadfd5cb09285d2a41dd8a0e4664813631b636e4ccd561f4ed818ce9bc8682
SHA512 (vkd3d-1.19.tar.xz.sign) = 219373021f2e21665e4aebfad87a8d08f33b7f880898ae088e2b7e573837970f9eaea40ffd7c9a93efef9790bd211bc2c86bc7d4234fdae6d1f646f2e81dbd50
SHA512 (vkd3d-1.2.tar.xz) = ca9d5b11e7770747b78b61f43196b45b7bda8d2dd4f1d76da915f895a04dc28c20499e1e433f5ce17416964fe0f37cdc907e7aa540ec9105afbc8a100094f3e7
SHA512 (vkd3d-1.2.tar.xz.sign) = b2ff3bea8965f8e0d3f2f6c6e3aa9f0c6ef7b4c500e6a762fd9acb2f2f19d0294faf76f30c1c6f262da3acb96e9cd5faa227d067667d763f1fc9dc22b0aa60c3

View file

@ -1,24 +1,16 @@
Name: vkd3d
Version: 1.19
Version: 1.2
Release: 2%{?dist}
Summary: D3D12 to Vulkan translation library
# Automatically converted from old format: LGPLv2+ - review is highly recommended.
License: LicenseRef-Callaway-LGPLv2+
License: LGPLv2+
URL: https://source.winehq.org/git/vkd3d.git
Source0: https://dl.winehq.org/vkd3d/source/%{name}-%{version}.tar.xz
Source1: https://dl.winehq.org/vkd3d/source/%{name}-%{version}.tar.xz.sign
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: make
BuildRequires: bison
BuildRequires: flex
BuildRequires: make
BuildRequires: gcc
BuildRequires: libxcb-devel
BuildRequires: perl-JSON
BuildRequires: perl-open
BuildRequires: spirv-headers-devel
BuildRequires: spirv-tools-devel
BuildRequires: vulkan-loader-devel
@ -26,26 +18,12 @@ BuildRequires: xcb-util-devel
BuildRequires: xcb-util-keysyms-devel
BuildRequires: xcb-util-wm-devel
BuildRequires: mingw32-filesystem >= 95
BuildRequires: mingw32-gcc
BuildRequires: mingw32-spirv-headers
BuildRequires: mingw32-spirv-tools
BuildRequires: mingw32-vulkan-headers
BuildRequires: mingw32-vulkan-loader
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc
BuildRequires: mingw64-spirv-headers
BuildRequires: mingw64-spirv-tools
BuildRequires: mingw64-vulkan-headers
BuildRequires: mingw64-vulkan-loader
# Wine does not build on aarch64 due to clang requires
# vulkan is not available in RHEL 7+ for aarch64 either
%if 0%{?rhel} >= 7
ExclusiveArch: %{ix86} x86_64 %{arm}
ExclusiveArch: %{ix86} x86_64 %{arm}
%else
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64
%endif
%description
@ -116,53 +94,20 @@ Requires: libvkd3d-utils%{?_isa} = %{version}-%{release}
Development files for libvkd3d-utils
%package -n mingw32-%{name}
Summary: %{summary}
BuildArch: noarch
%description -n mingw32-%{name}
%{summary}.
%package -n mingw64-%{name}
Summary: %{summary}
BuildArch: noarch
%description -n mingw64-%{name}
%{summary}.
%{?mingw_debug_package}
%prep
%autosetup -p1
mkdir ../mingw-build
cp -rp . ../mingw-build
%setup -q
%build
%configure
%configure --with-spirv-tools
%make_build
pushd ../mingw-build
export SONAME_LIBVULKAN=lvulkan-1
%mingw_configure
%mingw_make %{?_smp_mflags}
popd
%install
%make_install
pushd ../mingw-build
%mingw_make_install
%mingw_debug_install_post
popd
#Remove libtool files and static libraries
find %{buildroot} -regextype egrep -regex '.*\.a$|.*\.la$' ! -iname '*.dll.a' -delete
find %{buildroot} -regextype egrep -regex '.*\.a$|.*\.la$' -delete
%files -n libvkd3d
@ -177,12 +122,7 @@ find %{buildroot} -regextype egrep -regex '.*\.a$|.*\.la$' ! -iname '*.dll.a' -d
%{_includedir}/vkd3d/vkd3d.h
%{_includedir}/vkd3d/vkd3d_d3d12.h
%{_includedir}/vkd3d/vkd3d_d3d12sdklayers.h
%{_includedir}/vkd3d/vkd3d_d3d9types.h
%{_includedir}/vkd3d/vkd3d_d3dcommon.h
%{_includedir}/vkd3d/vkd3d_d3dcompiler.h
%{_includedir}/vkd3d/vkd3d_d3dcompiler_types.h
%{_includedir}/vkd3d/vkd3d_d3dx9shader.h
%{_includedir}/vkd3d/vkd3d_d3d12shader.h
%{_includedir}/vkd3d/vkd3d_dxgibase.h
%{_includedir}/vkd3d/vkd3d_dxgiformat.h
%{_includedir}/vkd3d/vkd3d_types.h
@ -193,7 +133,6 @@ find %{buildroot} -regextype egrep -regex '.*\.a$|.*\.la$' ! -iname '*.dll.a' -d
%files -n vkd3d-compiler
%{_bindir}/vkd3d-compiler
%{_bindir}/vkd3d-dxbc
%files -n libvkd3d-shader
@ -219,118 +158,7 @@ find %{buildroot} -regextype egrep -regex '.*\.a$|.*\.la$' ! -iname '*.dll.a' -d
%{_libdir}/pkgconfig/libvkd3d-utils.pc
%files -n mingw32-%{name}
%license COPYING LICENSE
%{mingw32_bindir}/libvkd3d-1.dll
%{mingw32_bindir}/libvkd3d-shader-1.dll
%{mingw32_bindir}/libvkd3d-utils-1.dll
%{mingw32_includedir}/%{name}/
%{mingw32_bindir}/vkd3d-compiler.exe
%{mingw32_bindir}/vkd3d-dxbc.exe
%{mingw32_libdir}/pkgconfig/libvkd3d.pc
%{mingw32_libdir}/pkgconfig/libvkd3d-shader.pc
%{mingw32_libdir}/pkgconfig/libvkd3d-utils.pc
%{mingw32_libdir}/libvkd3d.dll.a
%{mingw32_libdir}/libvkd3d-shader.dll.a
%{mingw32_libdir}/libvkd3d-utils.dll.a
%files -n mingw64-%{name}
%license COPYING LICENSE
%{mingw64_bindir}/libvkd3d-1.dll
%{mingw64_bindir}/libvkd3d-shader-1.dll
%{mingw64_bindir}/libvkd3d-utils-1.dll
%{mingw64_bindir}/vkd3d-compiler.exe
%{mingw64_bindir}/vkd3d-dxbc.exe
%{mingw64_includedir}/%{name}/
%{mingw64_libdir}/pkgconfig/libvkd3d.pc
%{mingw64_libdir}/pkgconfig/libvkd3d-shader.pc
%{mingw64_libdir}/pkgconfig/libvkd3d-utils.pc
%{mingw64_libdir}/libvkd3d.dll.a
%{mingw64_libdir}/libvkd3d-shader.dll.a
%{mingw64_libdir}/libvkd3d-utils.dll.a
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sun Apr 26 2026 Zephyr Lykos <fedora@mochaa.ws> - 1.19-1
- new version
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Aug 29 2025 - Michael Cronenworth <mike@cchtml.com> - 1.17-1
- version update
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Dec 06 2024 - Michael Cronenworth <mike@cchtml.com> - 1.14-1
- version update
* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 1.12-2
- convert license to SPDX
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Mar 28 2024 - Michael Cronenworth <mike@cchtml.com> - 1.11-1
- version update
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jan 18 2024 - Michael Cronenworth <mike@cchtml.com> - 1.10-1
- version update
* Mon Dec 18 2023 Florian Weimer <fweimer@redhat.com> - 1.9-2
- Fix C compatibility issue in configure script, run autoconf
* Sun Oct 01 2023 - Michael Cronenworth <mike@cchtml.com> - 1.9-1
- version update
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jul 10 2023 - Michael Cronenworth <mike@cchtml.com> - 1.8-1
- version update
* Sat Apr 01 2023 - Michael Cronenworth <mike@cchtml.com> - 1.7-1
- version update
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jan 12 2023 - Michael Cronenworth <mike@cchtml.com> - 1.6-1
- version update
* Mon Oct 24 2022 - Michael Cronenworth <mike@cchtml.com> - 1.5-1
- version update
* Thu Aug 25 2022 - Michael Cronenworth <mike@cchtml.com> - 1.4-3
- Include MinGW debuginfo packages
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jun 25 2022 - Michael Cronenworth <mike@cchtml.com> - 1.4-1
- version update
- Initial MinGW package
* Fri Mar 11 2022 - Michael Cronenworth <mike@cchtml.com> - 1.3-1
- version update
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild