!27 split itrustee_sdk into itrustee_sdk and itrustee_sdk-devel

From: @zhengxiaoxiaoGitee 
Reviewed-by: @houmingyong 
Signed-off-by: @houmingyong
This commit is contained in:
openeuler-ci-bot 2022-10-18 12:01:36 +00:00 committed by Gitee
commit e556893a00
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: itrustee_sdk Name: itrustee_sdk
Version: 0.1.0 Version: 0.1.0
Release: 5 Release: 6
Summary: Confidential computing framework for developing TA on itrustee OS Summary: Confidential computing framework for developing TA on itrustee OS
ExclusiveArch: aarch64 ExclusiveArch: aarch64
@ -16,6 +16,12 @@ Provides: libteec_adaptor.so()(64bit)
%description %description
itrustee_sdk is a confidential computing framework for developing TA on itrustee OS 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 %prep
%autosetup -n %{name} -p1 %autosetup -n %{name} -p1
@ -30,16 +36,25 @@ make
%install %install
install -d %{buildroot}/opt/ install -d %{buildroot}/opt/
install -d %{buildroot}/lib64/ install -d %{buildroot}/lib64/
install -d %{buildroot}/%{_sysconfdir}/secGear/cloud/
make install DESTDIR=%{buildroot}/ make install DESTDIR=%{buildroot}/
install -pm 644 build/signtools/cloud/rsa_public_key_cloud.pem %{buildroot}/%{_sysconfdir}/secGear/cloud
strip %{buildroot}/lib64/*.so strip %{buildroot}/lib64/*.so
%files %files devel
%defattr(-,root,root) %defattr(-,root,root)
/opt/itrustee_sdk /opt/itrustee_sdk
%{_sysconfdir}/secGear/cloud/rsa_public_key_cloud.pem
%files
%defattr(-,root,root)
/lib64/libteec_adaptor.so /lib64/libteec_adaptor.so
%changelog %changelog
* Tue Oct 18 2022 zhengxiaoxiao <zhengxiaoxiao2@huawei.com> - 0.1.0-6
- split itrustee_sdk into itrustee_sdk and itrustee_sdk-devel
* Mon Jun 27 2022 gaoyusong <gaoyusong2@huawei.com> - 0.1.0-5 * Mon Jun 27 2022 gaoyusong <gaoyusong2@huawei.com> - 0.1.0-5
- add ftrapv, strip, and FS as the compiling flags - add ftrapv, strip, and FS as the compiling flags