diff options
author | SooChan Lim <sc1.lim@samsung.com> | 2018-11-30 14:27:50 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2018-11-30 20:39:12 +0900 |
commit | e6277e45776c5a175afcba83e92d9a2e40676dc1 (patch) | |
tree | 097c32055ba4938c5ab7a61b80805b4df68a91bf | |
parent | 9bbdd552f0fd62741aa1f1e02ab3eafc45cf3c1e (diff) | |
download | Vulkan-Tools-accepted/tizen_5.5_unified_mobile_hotfix.tar.gz Vulkan-Tools-accepted/tizen_5.5_unified_mobile_hotfix.tar.bz2 Vulkan-Tools-accepted/tizen_5.5_unified_mobile_hotfix.zip |
add the spec filetizen_6.0.m2_releasetizen_5.5.m2_releasesubmit/tizen_6.0_hotfix/20201103.115104submit/tizen_6.0_hotfix/20201102.192904submit/tizen_6.0/20201029.205504submit/tizen_5.5_wearable_hotfix/20201026.184308submit/tizen_5.5_mobile_hotfix/20201026.185108submit/tizen_5.5/20191031.000006submit/tizen/20181228.024305submit/tizen/20181227.054638accepted/tizen/unified/20181228.115150accepted/tizen/6.0/unified/hotfix/20201103.045912accepted/tizen/5.5/unified/wearable/hotfix/20201027.104240accepted/tizen/5.5/unified/mobile/hotfix/20201027.071609accepted/tizen/5.5/unified/20191031.004813tizen_6.0_hotfixtizen_6.0tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5devel_packageaccepted/tizen_6.0_unified_hotfixaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unified
-rw-r--r-- | packaging/vulkan-tools.manifest | 5 | ||||
-rw-r--r-- | packaging/vulkan-tools.spec | 50 |
2 files changed, 55 insertions, 0 deletions
diff --git a/packaging/vulkan-tools.manifest b/packaging/vulkan-tools.manifest new file mode 100644 index 00000000..97e8c313 --- /dev/null +++ b/packaging/vulkan-tools.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/vulkan-tools.spec b/packaging/vulkan-tools.spec new file mode 100644 index 00000000..badcd920 --- /dev/null +++ b/packaging/vulkan-tools.spec @@ -0,0 +1,50 @@ +Name: vulkan-tools +Version: 1.1.92 +Release: 0 +Summary: Vulkan tools +Group: Graphics & UI Framework/GL +License: Apache-2.0 +Source: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest + +BuildRequires: cmake +BuildRequires: pkg-config +BuildRequires: libtool +BuildRequires: python3 +BuildRequires: glslang +BuildRequires: vulkan-loader-devel +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-cursor) +BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(wayland-egl) + +%define BUILD_TYPE Debug + +%description +This project provides the Khronos Vulkan Tools. + +%prep +%setup -q + +%build +cp %{SOURCE1001} . +export CFLAGS="$CFLAGS -w" +cmake -DCMAKE_BUILD_TYPE=%{BUILD_TYPE} -DGLSLANG_INSTALL_DIR=%{_bindir} \ + -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF -DBUILD_WSI_WAYLAND_SUPPORT=ON \ + -DCUBE_WSI_SELECTION=WAYLAND \ + -DCMAKE_INSTALL_LIBDIR=%{_libdir} -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \ + -DCMAKE_INSTALL_DATADIR=%{_datadir} -DCMAKE_INSTALL_BINDIR=%{_bindir} +make + +%install +rm -rf %{buildroot} +%make_install + +%remove_docs + +%files +%manifest %{name}.manifest +%license LICENSE.txt +%defattr(-,root,root,-) +%{_bindir}/* + |