代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/itrustee_sdk 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: itrustee_sdk
Version: 0.1.0
Release: 4
Summary: Confidential computing framework for developing TA on itrustee OS
ExclusiveArch: aarch64
Group: OS Security
License: Mulan PSL v2
URL: https://gitee.com/openeuler/itrustee_sdk
Source0: https://gitee.com/openeuler/itrustee_sdk/repository/archive/v%{version}.tar.gz
Patch0: 0001-add-Makefile-to-create-libteec_adaptor.so.patch
Provides: libteec_adaptor.so()(64bit)
%define debug_package %{nil}
%description
itrustee_sdk is a confidential computing framework for developing TA on itrustee OS
%prep
%autosetup -n %{name} -p1
%build
sed -i 's/fPIC/fPIC -g/g' Makefile
sed -i 's/\/opt\/itrustee_sdk/$(DESTDIR)\/opt\/itrustee_sdk/g' Makefile
sed -i 's/\/lib64/$(DESTDIR)\/lib64/g' Makefile
make
%install
install -d %{buildroot}/opt/
install -d %{buildroot}/lib64/
install -d %{buildroot}/%{_sysconfdir}/itrustee/cloud/
make install DESTDIR=%{buildroot}/
install -pm 644 build/signtools/cloud/rsa_public_key_cloud.pem %{buildroot}/%{_sysconfdir}/itrustee/cloud
strip %{buildroot}/lib64/*.so
%files
%defattr(-,root,root)
/opt/itrustee_sdk
/lib64/libteec_adaptor.so
%{_sysconfdir}/itrustee/cloud/rsa_public_key_cloud.pem
%changelog
* Thu Sep 9 2021 chenmaodong<chenmaodong@huawei.com> - 0.1.0-4
- DESC: install rsa public key to sysconfdir and fix some errors in spec
* Sat Sep 4 2021 zhangtao<zhangtao221g@huawei.com> - 0.1.0-3
- DESC: strip dynamic library
* Thu May 20 2021 houmingyong<houmingyong@huawei.com> - 0.1.0-2
- DESC: add libteec_adaptor.so()(64bit) as the provided symbol
* Sat May 8 2021 chenmaodong<chenmaodong@huawei.com> - 0.1.0-1
- DESC:init itrustee_sdk
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。