1 Star 0 Fork 14

lyn/itrustee_sdk

forked from src-openEuler/itrustee_sdk 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
itrustee_sdk.spec 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lyn1001/itrustee_sdk.git
git@gitee.com:lyn1001/itrustee_sdk.git
lyn1001
itrustee_sdk
itrustee_sdk
master

搜索帮助