add sealing key lib
This commit is contained in:
parent
f71114da4e
commit
1633e66308
Binary file not shown.
BIN
virtCCA_sdk-v0.1.1.tar.gz
Normal file
BIN
virtCCA_sdk-v0.1.1.tar.gz
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
Name: virtCCA_sdk
|
||||
Version: 0.1.0
|
||||
Version: 0.1.1
|
||||
Release: 1
|
||||
ExclusiveArch: aarch64
|
||||
Summary: %{name} is a SDK for developing virtCCA remote attestation and key derivation.
|
||||
@ -17,7 +17,7 @@ Requires: openssl-libs
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: openssl-libs
|
||||
Requires: virtCCA_sdk openssl-libs
|
||||
|
||||
%description devel
|
||||
%{name}-devel is a SDK for developing virtCCA remote attestation and key derivation.
|
||||
@ -34,27 +34,38 @@ cd ../sdk
|
||||
cmake -S . -B build
|
||||
cmake --build build
|
||||
|
||||
cd ../../sealing_key/sdk
|
||||
cmake -S . -B build
|
||||
cmake --build build
|
||||
|
||||
%install
|
||||
install -d %{buildroot}/%{_bindir}
|
||||
install -pm 755 attestation/rim_ref/output/gen_rim_ref %{buildroot}/%{_bindir}
|
||||
|
||||
install -d %{buildroot}/%{_libdir}
|
||||
install -pm 644 attestation/sdk/build/libvccaattestation.a %{buildroot}/%{_libdir}
|
||||
install -pm 644 sealing_key/sdk/build/libsealingkey.so %{buildroot}/%{_libdir}
|
||||
|
||||
install -d %{buildroot}/%{_includedir}
|
||||
install -pm 644 attestation/sdk/include/attestation.h %{buildroot}/%{_includedir}
|
||||
install -pm 644 sealing_key/sdk/inc/sealing_key.h %{buildroot}/%{_includedir}
|
||||
|
||||
%files
|
||||
%license License/LICENSE
|
||||
%license License/Third_Party_Open_Source_Software_Notice.md
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/gen_rim_ref
|
||||
%{_libdir}/libsealingkey.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/attestation.h
|
||||
%{_includedir}/sealing_key.h
|
||||
%{_libdir}/libvccaattestation.a
|
||||
|
||||
%changelog
|
||||
* Fri May 31 2024 lishengjie<lishengjie12@huawei.com> - 0.1.1-1
|
||||
- DESC:Add sealing key lib
|
||||
|
||||
* Tue May 28 2024 lishengjie<lishengjie12@huawei.com> - 0.1.0-1
|
||||
- DESC:init virtCCA_sdk
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user