add licenses and thirdparty opensource notice
This commit is contained in:
parent
6a63d49c69
commit
45ab866772
10
secGear.spec
10
secGear.spec
@ -1,6 +1,6 @@
|
|||||||
Name: secGear
|
Name: secGear
|
||||||
Version: 0.1.0
|
Version: 0.1.0
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
Summary: secGear is an SDK to develop confidential computing apps based on hardware enclave features
|
Summary: secGear is an SDK to develop confidential computing apps based on hardware enclave features
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64
|
||||||
|
|
||||||
@ -70,6 +70,8 @@ make
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
|
install -d %{buildroot}/%{_datarootdir}/licenses/secGear
|
||||||
|
install -pm 644 License/Third_Party_Open_Source_Software_Notice.md %{buildroot}/%{_datarootdir}/licenses/secGear
|
||||||
install -d %{buildroot}/%{_includedir}/secGear
|
install -d %{buildroot}/%{_includedir}/secGear
|
||||||
#install -pm 644 inc/host_inc/* %{buildroot}/%{_includedir}/secGear/host_inc
|
#install -pm 644 inc/host_inc/* %{buildroot}/%{_includedir}/secGear/host_inc
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
@ -94,6 +96,8 @@ rm `find . -name secgear_seal_data` -rf
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%license License/LICENSE
|
||||||
|
%license License/Third_Party_Open_Source_Software_Notice.md
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/%{_lib}/libsecgear_tee.a
|
/%{_lib}/libsecgear_tee.a
|
||||||
/%{_lib}/libsecgear.so
|
/%{_lib}/libsecgear.so
|
||||||
@ -111,6 +115,7 @@ popd
|
|||||||
|
|
||||||
%files sim
|
%files sim
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%license License/LICENSE
|
||||||
/%{_lib}/libsecgearsim.so
|
/%{_lib}/libsecgearsim.so
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
/%{_lib}/libsgxsim_0.so
|
/%{_lib}/libsgxsim_0.so
|
||||||
@ -119,6 +124,9 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 13 2021 wanghongzhe<wanghongzhe@huawei.com> - 0.1.0-11
|
||||||
|
- DESC: add licenses and thirdparty opensource notice
|
||||||
|
|
||||||
* Sat Mar 20 2021 zhangguangzhi<zhangguangzhi3@huawei.com> - 0.1.0-10
|
* Sat Mar 20 2021 zhangguangzhi<zhangguangzhi3@huawei.com> - 0.1.0-10
|
||||||
- DESC: backport patch
|
- DESC: backport patch
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user