diff options
author | Xuelian <xuelian.bai@samsung.com> | 2018-04-18 19:12:00 +0800 |
---|---|---|
committer | Xuelian Bai <xuelian.bai@samsung.com> | 2022-03-07 16:07:12 +0800 |
commit | d7e76884d26d459eb7b120bcf9e809708ef17921 (patch) | |
tree | e43d1b84f7dad22b157883555e3da467ba705189 | |
parent | b42ba6d92faf6b4938e6f22ddd186dbdacc98d78 (diff) | |
download | SPIRV-Headers-tizen_7.0.tar.gz SPIRV-Headers-tizen_7.0.tar.bz2 SPIRV-Headers-tizen_7.0.zip |
Add spec file and manifect filetizen_7.0_m2_releasesubmit/tizen/20220613.104856submit/tizen/20220609.091423submit/tizen/20220609.070600submit/tizen/20220607.045230submit/tizen/20220509.032328submit/tizen/20220506.015933accepted/tizen/unified/20220610.134816accepted/tizen/7.0/unified/hotfix/20221116.110548accepted/tizen/7.0/unified/20221110.061446tizen_7.0_hotfixtizen_7.0accepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unified
Change-Id: I6652f57937a7440ab437f9ee8f88d60fe9687ad9
-rw-r--r-- | packaging/spirv-headers.manifest | 5 | ||||
-rw-r--r-- | packaging/spirv-headers.spec | 58 |
2 files changed, 63 insertions, 0 deletions
diff --git a/packaging/spirv-headers.manifest b/packaging/spirv-headers.manifest new file mode 100644 index 0000000..75b0fa5 --- /dev/null +++ b/packaging/spirv-headers.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/spirv-headers.spec b/packaging/spirv-headers.spec new file mode 100644 index 0000000..78f84ab --- /dev/null +++ b/packaging/spirv-headers.spec @@ -0,0 +1,58 @@ +Name: spirv-headers +Version: 1.5.4 +Release: 0 +Summary: Khronos SPIRV Headers +Group: Graphics & UI Framework/GL +License: MIT +Source: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest + +BuildRequires: cmake +BuildRequires: pkg-config +BuildRequires: libtool + +%define BUILD_TYPE Debug + +%description +Khronos SPIRV Headers + +%package devel +Summary: Khronos SPIRV Headers +Group: System/Libraries + +%description devel +Khronos SPIRV Headers + +%prep +%setup -q + +%build +cp %{SOURCE1001} . + +# build SPIRV headers +mkdir build +cd build +cmake .. +cmake --build . +cd .. + +%install +rm -rf %{buildroot} +# release pkg +mkdir -p %{buildroot}%{_includedir}/ +cp -Rf include/spirv %{buildroot}%{_includedir}/ + +# devel pkg +cp -rf include/* %{buildroot}%{_includedir}/ + +%files +%manifest %{name}.manifest +%license LICENSE +%defattr(-,root,root,-) +%{_includedir}/spirv/* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/spirv/* + + |