commit 450f0843c368f9ae8066139056c792d1ecfcefbc Author: Adrian Schröter Date: Thu Feb 1 16:57:27 2024 +0100 Sync from SUSE:ALP:Source:Standard:1.0 DirectX-Headers revision 6b0996859a16aacc32b325b8a3fe84ec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/DirectX-Headers-1.611.0.tar.gz b/DirectX-Headers-1.611.0.tar.gz new file mode 100644 index 0000000..bb54bc9 --- /dev/null +++ b/DirectX-Headers-1.611.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:edb8b52b1379f841df5d0d5e11dde08e0c3912508179fb3711f163382e88865c +size 423078 diff --git a/DirectX-Headers-rpmlintrc b/DirectX-Headers-rpmlintrc new file mode 100644 index 0000000..dd9d85c --- /dev/null +++ b/DirectX-Headers-rpmlintrc @@ -0,0 +1,3 @@ +# happens irrespective of LTO +addFilter("lto-no-text-in-archive .*"); +addFilter("devel-file-in-non-devel-package .*"); diff --git a/DirectX-Headers.changes b/DirectX-Headers.changes new file mode 100644 index 0000000..c724d50 --- /dev/null +++ b/DirectX-Headers.changes @@ -0,0 +1,143 @@ +------------------------------------------------------------------- +Tue Dec 5 15:26:41 UTC 2023 - Scott Bradnick + +- Update to 1.611.0: + * This release matches the content provided in the DirectX12 + Agility SDK and the 1.611.0 NuGet package. + - https://devblogs.microsoft.com/directx/directx12agility/ + - https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.611.0 + +------------------------------------------------------------------- +Fri Jun 16 08:56:56 UTC 2023 - Martin Pluskal + +- Install license +- Use -ffat-lto-objects for static libraries + +------------------------------------------------------------------- +Thu Apr 13 19:49:05 UTC 2023 - Scott Bradnick + +- Update to 1.610.0: + * This release matches the content provided in the DirectX12 + Agility SDK and the 1.610.0 NuGet package. + - https://devblogs.microsoft.com/directx/directx12agility/ + - https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.610.0 + +------------------------------------------------------------------- +Thu Mar 30 20:17:57 UTC 2023 - Scott Bradnick + +- Update to 1.608.2: + * This release matches the content provided in the DirectX12 + Agility SDK and the 1.608.2 NuGet package. + - https://devblogs.microsoft.com/directx/directx12agility/ + - https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.608.2 + +------------------------------------------------------------------- +Mon Nov 21 16:04:47 UTC 2022 - Scott Bradnick + +- Update to 1.608.0: + * This release matches the content provided in the DirectX12 + Agility SDK and the 1.608.0 NuGet package. + +------------------------------------------------------------------- +Tue Aug 30 23:51:37 UTC 2022 - Scott Bradnick + +- Update to 1.606.4: + * Update D3DX12.H to support new ABI for MinGW (#73) + * dxguids: Add new GUIDs from the last several releases + +------------------------------------------------------------------- +Tue Aug 16 18:42:14 UTC 2022 - Callum Farmer + +- Update to 1.606.3: + * Support Shader Model 6.7 + +------------------------------------------------------------------- +Wed May 25 16:20:53 UTC 2022 - Callum Farmer + +- Clean spec file + * Fix description + * Use %autosetup + * Use meson macros + * Use fdupes for duplicate files + * Use a better URL + +------------------------------------------------------------------- +Wed May 25 13:28:44 UTC 2022 - Stefan Dirsch + +- added missing %changelog section to specfile + +------------------------------------------------------------------- +Wed May 25 12:25:12 UTC 2022 - Stefan Dirsch + +- build exclusively on %{ix86} x86_64, since DirectX ia only + relevant on these platforms + +------------------------------------------------------------------- +Wed May 25 12:14:37 UTC 2022 - Stefan Dirsch + +- fixed 32bit build + +------------------------------------------------------------------- +Thu May 12 15:36:35 UTC 2022 - Scott Bradnick + +- Renamed project/file references from 'directx-headers' to + 'DirectX-Headers' (as is upstream). + +------------------------------------------------------------------- +Thu Apr 28 20:21:30 UTC 2022 - Scott Bradnick + +- Update to upstream version 1.600.10 + +------------------------------------------------------------------- +Thu Nov 11 19:36:30 UTC 2021 - Scott Bradnick + +* Prepping for inclusion in X11:XOrg project: + - General cleanup of .spec file + - Adjusting to use proper naming of rpmlintrc. + - Pre-0.57.0 version of 'meson install' does not support + '--destdir', using ENV var for all but TW. + +------------------------------------------------------------------- +Wed Aug 25 22:47:50 UTC 2021 - Scott Bradnick + +- Adding rpmlintrc for addFilter 'lto-no-text-in-archive'. + +------------------------------------------------------------------- +Wed Aug 25 21:45:20 UTC 2021 - Scott Bradnick + +- Fixing file conflict for /usr/lib64/pkgconfig. + +------------------------------------------------------------------- +Wed Aug 25 21:37:49 UTC 2021 - Scott Bradnick + +- Apparently pkgconf doesn't like /usr/local by default. + +------------------------------------------------------------------- +Wed Aug 25 21:25:34 UTC 2021 - Scott Bradnick + +- Replacing hardcoded path in 'rm .../libDirectX-Guids.a' ... + +------------------------------------------------------------------- +Wed Aug 25 21:18:11 UTC 2021 - Scott Bradnick + +- Seems to use /usr/local for generated .pc file vs. /usr + +------------------------------------------------------------------- +Wed Aug 25 20:15:52 UTC 2021 - Scott Bradnick + +- Taking out 'libDirectX-Guids.a' and trying again. + +------------------------------------------------------------------- +Wed Aug 25 20:03:16 UTC 2021 - Scott Bradnick + +- Trying to get 'libDirectX-Guids.a' added to resulting .rpm file. + +------------------------------------------------------------------- +Wed Aug 25 15:50:16 UTC 2021 - Scott Bradnick + +- Some changes to get missing files added. + +------------------------------------------------------------------- +Mon Aug 23 22:19:05 UTC 2021 - Scott Bradnick + +- Initial package version as 'directx-headers'. diff --git a/DirectX-Headers.spec b/DirectX-Headers.spec new file mode 100644 index 0000000..b577220 --- /dev/null +++ b/DirectX-Headers.spec @@ -0,0 +1,60 @@ +# +# spec file for package DirectX-Headers +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: DirectX-Headers +Version: 1.611.0 +Release: 0 +Summary: DirectX Headers for Mesa +License: MIT +URL: https://github.com/microsoft/DirectX-Headers +# osc service runall download_files +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Source1: %{name}-rpmlintrc +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: meson +ExclusiveArch: %{ix86} x86_64 + +%description +This package contains the official Direct3D 12 headers. +These headers are made available under the MIT license rather than the traditional Windows SDK license. +Additionally, this package hosts several helpers for using these headers. +Make sure that you visit the DirectX Landing Page for more resources for DirectX developers. + +%prep +%autosetup + +%build +%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects +%meson -Dbuild-test=false +%meson_build + +%install +%meson_install +%fdupes -s %{buildroot} + +%files +%license LICENSE +%{_includedir}/directx +%{_includedir}/dxguids +%{_includedir}/wsl +%{_libdir}/pkgconfig/DirectX-Headers.pc +%{_libdir}/libDirectX-Guids.a +%{_libdir}/libd3dx12-format-properties.a + +%changelog