!24 拆分itrustee_sdk-devel
From: @zhengxiaoxiaoGitee Reviewed-by: @houmingyong Signed-off-by: @houmingyong
This commit is contained in:
commit
2e195e4a17
@ -1,6 +1,6 @@
|
||||
Name: itrustee_sdk
|
||||
Version: 0.1.0
|
||||
Release: 7
|
||||
Release: 8
|
||||
Summary: Confidential computing framework for developing TA on itrustee OS
|
||||
ExclusiveArch: aarch64
|
||||
|
||||
@ -17,6 +17,12 @@ Provides: libteec_adaptor.so()(64bit)
|
||||
%description
|
||||
itrustee_sdk is a confidential computing framework for developing TA on itrustee OS
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description devel
|
||||
The %{name}-devel is package contains Header file for developing applications that
|
||||
us %{name}
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name} -p1
|
||||
@ -31,19 +37,26 @@ make
|
||||
%install
|
||||
install -d %{buildroot}/opt/
|
||||
install -d %{buildroot}/lib64/
|
||||
install -d %{buildroot}/%{_sysconfdir}/itrustee/cloud/
|
||||
install -d %{buildroot}/%{_sysconfdir}/secGear/cloud/
|
||||
make install DESTDIR=%{buildroot}/
|
||||
install -pm 644 build/signtools/cloud/rsa_public_key_cloud.pem %{buildroot}/%{_sysconfdir}/itrustee/cloud
|
||||
install -pm 644 build/signtools/cloud/rsa_public_key_cloud.pem %{buildroot}/%{_sysconfdir}/secGear/cloud
|
||||
|
||||
strip %{buildroot}/lib64/*.so
|
||||
|
||||
%files
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
/opt/itrustee_sdk
|
||||
%{_sysconfdir}/secGear/cloud/rsa_public_key_cloud.pem
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/lib64/libteec_adaptor.so
|
||||
%{_sysconfdir}/itrustee/cloud/rsa_public_key_cloud.pem
|
||||
|
||||
%changelog
|
||||
* Wed Aug 03 2022 zhengxiaoxiao<zhengxiaoxiao2@huawei.com> - 0.1.0-8
|
||||
- DESC: split itrustee_sdk into itrustee_sdk and itrustee_sdk-devel
|
||||
|
||||
* Wed Aug 03 2022 wangyu<wangyu283@huawei.com> - 0.1.0-7
|
||||
- DESC: support: no-copy shared memory
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user