diff options
author | Xuelian <xuelian.bai@samsung.com> | 2018-04-18 19:12:00 +0800 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2018-12-06 15:38:39 +0900 |
commit | 22be6a96a275eb12f16a077649050e7d3d1c317d (patch) | |
tree | c07579ee9ae20cdf0f3c4764f8b63f944e72dd6e | |
parent | bbf63435c37aafac5d1cdfc287401d87cd3ca364 (diff) | |
download | SPIRV-Headers-submit/tizen/20181206.120505.tar.gz SPIRV-Headers-submit/tizen/20181206.120505.tar.bz2 SPIRV-Headers-submit/tizen/20181206.120505.zip |
Add spec file and manifect 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_5.0/20181206.121948submit/tizen_5.0/20181206.101457submit/tizen_5.0/20181206.072441submit/tizen/20181206.120505submit/tizen/20181206.101350submit/tizen/20181206.072130accepted/tizen/unified/20181207.061453accepted/tizen/6.0/unified/hotfix/20201103.045419accepted/tizen/6.0/unified/20201030.103835accepted/tizen/5.5/unified/wearable/hotfix/20201027.105412accepted/tizen/5.5/unified/mobile/hotfix/20201027.072845accepted/tizen/5.5/unified/20191031.010330accepted/tizen/5.0/unified/20181207.061444tizen_6.0_hotfixtizen_6.0tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5tizen_5.0accepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedaccepted/tizen_5.0_unified
Change-Id: I6652f57937a7440ab437f9ee8f88d60fe9687ad9
-rw-r--r-- | packaging/spirv-headers.manifest | 5 | ||||
-rw-r--r-- | packaging/spirv-headers.spec | 57 |
2 files changed, 62 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..701fe2e --- /dev/null +++ b/packaging/spirv-headers.spec @@ -0,0 +1,57 @@ +Name: spirv-headers +Version: 1.2 +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 .. +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/* + + |