add the spec file accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_6.0_unified_hotfix devel_package tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/5.5/unified/20191031.004813 accepted/tizen/5.5/unified/mobile/hotfix/20201027.071609 accepted/tizen/5.5/unified/wearable/hotfix/20201027.104240 accepted/tizen/6.0/unified/hotfix/20201103.045912 accepted/tizen/unified/20181228.115150 submit/tizen/20181227.054638 submit/tizen/20181228.024305 submit/tizen_5.5/20191031.000006 submit/tizen_5.5_mobile_hotfix/20201026.185108 submit/tizen_5.5_wearable_hotfix/20201026.184308 submit/tizen_6.0/20201029.205504 submit/tizen_6.0_hotfix/20201102.192904 submit/tizen_6.0_hotfix/20201103.115104 tizen_5.5.m2_release tizen_6.0.m2_release
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 30 Nov 2018 05:27:50 +0000 (14:27 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 30 Nov 2018 11:39:12 +0000 (20:39 +0900)
packaging/vulkan-tools.manifest [new file with mode: 0644]
packaging/vulkan-tools.spec [new file with mode: 0644]

diff --git a/packaging/vulkan-tools.manifest b/packaging/vulkan-tools.manifest
new file mode 100644 (file)
index 0000000..97e8c31
--- /dev/null
@@ -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 (file)
index 0000000..badcd92
--- /dev/null
@@ -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}/*
+