From ddc2cb866e9fb18ee4868287a13f6f0c5adf3ef0 Mon Sep 17 00:00:00 2001 From: houmingyong Date: Mon, 14 Mar 2022 12:44:46 +0800 Subject: [PATCH] split itrustee_sdk into itrustee_sdk and itrustee_sdk-devel --- itrustee_sdk.spec | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/itrustee_sdk.spec b/itrustee_sdk.spec index 3733990..392d0bb 100644 --- a/itrustee_sdk.spec +++ b/itrustee_sdk.spec @@ -1,6 +1,6 @@ Name: itrustee_sdk Version: 0.1.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Confidential computing framework for developing TA on itrustee OS ExclusiveArch: aarch64 @@ -15,6 +15,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 @@ -29,16 +35,25 @@ make %install install -d %{buildroot}/opt/ install -d %{buildroot}/lib64/ +install -d %{buildroot}/%{_sysconfdir}/secGear/cloud/ make install DESTDIR=%{buildroot}/ +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 %changelog +* Mon Mar 14 2022 houmingyong - 0.1.0-4 +- split itrustee_sdk into itrustee_sdk and itrustee_sdk-devel * Sat Sep 4 2021 zhangtao - 0.1.0-3 - strip dynamic library * Thu May 20 2021 houmingyong - 0.1.0-2 -- Gitee