diff options
author | SooChan Lim <sc1.lim@samsung.com> | 2018-11-30 18:57:44 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2018-12-06 15:31:04 +0900 |
commit | db6c5971dbacc6ef54cb581d2980ad7142799143 (patch) | |
tree | 5ac46d5f6d9e3489269b14143afb4eae8e95a8fc | |
parent | dda8f7b02ff505fc90a1adc38b53b2483be16a8b (diff) | |
download | SPIRV-Tools-accepted/tizen_5.0_unified.tar.gz SPIRV-Tools-accepted/tizen_5.0_unified.tar.bz2 SPIRV-Tools-accepted/tizen_5.0_unified.zip |
modify the spectizen_5.5.m2_releasesubmit/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.061456accepted/tizen/5.5/unified/wearable/hotfix/20201027.104255accepted/tizen/5.5/unified/mobile/hotfix/20201027.072559accepted/tizen/5.5/unified/20191031.005840accepted/tizen/5.0/unified/20181207.061447tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5tizen_5.0accepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedaccepted/tizen_5.0_unified
-rw-r--r-- | packaging/spirv-tools.spec | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/packaging/spirv-tools.spec b/packaging/spirv-tools.spec index b7f1eee4..9be949b8 100644 --- a/packaging/spirv-tools.spec +++ b/packaging/spirv-tools.spec @@ -1,5 +1,5 @@ Name: spirv-tools -Version: 0.1 +Version: 2018.6 Release: 0 Summary: Khronos SPIRV Tools Group: Graphics & UI Framework/GL @@ -12,7 +12,7 @@ BuildRequires: pkg-config BuildRequires: libtool BuildRequires: python BuildRequires: python-xml -BuildRequires: spirv-headers +BuildRequires: spirv-headers-devel %define BUILD_TYPE Debug @@ -33,32 +33,28 @@ Khronos SPIRV Tools cp %{SOURCE1001} . # build SPIRV tools -mkdir build -cd build -cmake ../ +cmake -DCMAKE_BUILD_TYPE=%{BUILD_TYPE} \ + -DCMAKE_INSTALL_LIBDIR=%{_libdir} -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \ + -DCMAKE_INSTALL_DATADIR=%{_datadir} -DCMAKE_INSTALL_BINDIR=%{_bindir} make %install rm -rf %{buildroot} -# release pkg -mkdir -p %{buildroot}%{_libdir}/pkgconfig -cd build +%make_install +mkdir -p %{buildroot}%{_libdir} cp -a source/libSPIRV* %{buildroot}%{_libdir}/ cp -a source/opt/libSPIRV* %{buildroot}%{_libdir}/ cp -a source/link/libSPIRV* %{buildroot}%{_libdir}/ -cp -f SPIRV-Tools.pc %{buildroot}%{_libdir}/pkgconfig/SPIRV-Tools.pc -cp -f SPIRV-Tools-shared.pc %{buildroot}%{_libdir}/pkgconfig/SPIRV-Tools-shared.pc -cd .. - -# devel pkg -mkdir -p %{buildroot}%{_includedir} -cp -a include/spirv-tools %{buildroot}%{_includedir} %files %manifest %{name}.manifest %license LICENSE %defattr(-,root,root,-) %{_libdir}/libSPIRV* +%{_libdir}/libSPIRV-Tools-link.a +%{_libdir}/libSPIRV-Tools-opt.a +%{_libdir}/libSPIRV-Tools.a +%{_bindir}/* %files devel %defattr(-,root,root,-) |