|
|
|
@ -3,22 +3,15 @@
|
|
|
|
|
%global pkgname vulkan-headers
|
|
|
|
|
%global srcname Vulkan-Headers
|
|
|
|
|
|
|
|
|
|
#global commit 634e3658d6fa8f95f9062a3a7831d5567baf0eb3
|
|
|
|
|
#global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
Name: mingw-%{pkgname}
|
|
|
|
|
Version: 1.3.211.0
|
|
|
|
|
Version: 1.3.216
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: MinGW Windows %{pkgname}
|
|
|
|
|
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
URL: https://github.com/KhronosGroup/%{srcname}
|
|
|
|
|
%if 0%{?commit:1}
|
|
|
|
|
Source0: https://github.com/KhronosGroup/%{srcname}/archive/%{commit}/%{srcname}-%{shortcommit}.tar.gz
|
|
|
|
|
%else
|
|
|
|
|
Source0: https://github.com/KhronosGroup/%{srcname}/archive/sdk-%{version}/%{srcname}-%{version}.tar.gz
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
@ -32,7 +25,6 @@ MinGW Windows %{pkgname}
|
|
|
|
|
|
|
|
|
|
%package -n mingw32-%{pkgname}
|
|
|
|
|
Summary: MinGW Windows %{pkgname}
|
|
|
|
|
Obsoletes: mingw32-vulkan
|
|
|
|
|
|
|
|
|
|
%description -n mingw32-%{pkgname}
|
|
|
|
|
MinGW Windows %{pkgname}.
|
|
|
|
@ -40,19 +32,13 @@ MinGW Windows %{pkgname}.
|
|
|
|
|
|
|
|
|
|
%package -n mingw64-%{pkgname}
|
|
|
|
|
Summary: MinGW Windows %{pkgname}
|
|
|
|
|
Obsoletes: mingw64-vulkan
|
|
|
|
|
|
|
|
|
|
%description -n mingw64-%{pkgname}
|
|
|
|
|
MinGW Windows %{pkgname}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%if 0%{?commit:1}
|
|
|
|
|
%autosetup -p1 -n %{srcname}-%{commit}
|
|
|
|
|
%else
|
|
|
|
|
%autosetup -p1 -n %{srcname}-sdk-%{version}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -78,6 +64,9 @@ MinGW Windows %{pkgname}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jun 28 2022 Sandro Mani <manisandro@gmail.com> - 1.3.216-1
|
|
|
|
|
- Update to 1.3.216
|
|
|
|
|
|
|
|
|
|
* Wed Apr 27 2022 Sandro Mani <manisandro@gmail.com> - 1.3.211.0-1
|
|
|
|
|
- Update to 1.3.211.0
|
|
|
|
|
|
|
|
|
|