]> git.pld-linux.org Git - packages/Vulkan-Headers.git/commitdiff
- updated to sdk 1.2.135.0 auto/th/Vulkan-Headers-1.2.135.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 5 Jul 2020 14:46:47 +0000 (16:46 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 5 Jul 2020 14:46:47 +0000 (16:46 +0200)
Vulkan-Headers.spec

index df73c9b17eff3eba660b8e062be21692bbc1415c..ba1a469e0492b119601580eb6d9496b9ea4761fe 100644 (file)
@@ -1,15 +1,14 @@
-
-%define        api_version     1.2.133
-
 Summary:       Vulkan API headers and registry
 Summary(pl.UTF-8):     Pliki nagłówkowe i rejestr API Vulkan
 Name:          Vulkan-Headers
-Version:       %{api_version}
+# note: prefer "sdk-" tags for better quality level
+Version:       1.2.135.0
 Release:       1
 License:       Apache v2.0, parts MIT-like
 Group:         Development
-Source0:       https://github.com/KhronosGroup/Vulkan-Headers/archive/v%{version}/Vulkan-Headers-%{version}.tar.gz
-# Source0-md5: 2eb65eb649843e1ddf83575785c5785c
+#Source0Download: https://github.com/KhronosGroup/Vulkan-Headers/releases
+Source0:       https://github.com/KhronosGroup/Vulkan-Headers/archive/sdk-%{version}/Vulkan-Headers-sdk-%{version}.tar.gz
+# Source0-md5: fb9bd831f305f927d496d5619131614e
 URL:           https://github.com/KhronosGroup/Vulkan-Headers/
 BuildRequires: cmake >= 3.10.2
 Conflicts:     vulkan-devel < 1.1.107
@@ -22,23 +21,18 @@ Header files and registry for Vulkan API.
 Pliki nagłówkowe i rejestr API Vulkan.
 
 %prep
-%setup -qn Vulkan-Headers-%{version}
+%setup -qn Vulkan-Headers-sdk-%{version}
 
 %build
 install -d build
 cd build
 
-# .pc file creation expect CMAKE_INSTALL_LIBDIR to be relative (to CMAKE_INSTALL_PREFIX)
-%cmake .. \
-       -DCMAKE_INSTALL_LIBDIR=%{_lib}
+%cmake ..
 
 %{__make}
 
-cd ..
-
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_includedir}/vulkan
 
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
This page took 0.183027 seconds and 4 git commands to generate.