!24 [sync] PR-22: update package version to 2.0.0

From: @openeuler-sync-bot 
Reviewed-by: @gwei3 
Signed-off-by: @gwei3
This commit is contained in:
openeuler-ci-bot 2023-05-23 03:34:07 +00:00 committed by Gitee
commit dd61c329ac
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 73 additions and 6 deletions

Binary file not shown.

BIN
kunpengsecl-v2.0.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,10 +1,10 @@
%global name kunpengsecl %global name kunpengsecl
%global version 1.1.2 %global version 2.0.0
%undefine _missing_build_ids_terminate_build %undefine _missing_build_ids_terminate_build
Name: %{name} Name: %{name}
Version: %{version} Version: %{version}
Release: 2%{?dist} Release: 1%{?dist}
Summary: A remote attestation security software components running on Kunpeng processors. Summary: A remote attestation security software components running on Kunpeng processors.
Summary(zh_CN): 一款运行于鲲鹏处理器上的远程证明安全软件组件 Summary(zh_CN): 一款运行于鲲鹏处理器上的远程证明安全软件组件
License: MulanPSL-2.0 License: MulanPSL-2.0
@ -12,22 +12,31 @@ URL: https://gitee.com/openeuler/kunpengsecl
Source0: %{name}-v%{version}.tar.gz Source0: %{name}-v%{version}.tar.gz
Source1: vendor.tar.gz Source1: vendor.tar.gz
BuildRequires: gettext make golang BuildRequires: gettext make golang
BuildRequires: protobuf-compiler compat-openssl11-devel BuildRequires: protobuf-compiler openssl-devel
BuildRequires: cjson-devel
Requires: compat-openssl11 %ifarch aarch64
Packager: WangLi, Wucaijun, gwei3 BuildRequires: itrustee_sdk-devel
%endif
Packager: leezhenxiang, WangLi, Wucaijun, gwei3
%description %description
This is %{name} project, including rac, ras and rahub packages. This is %{name} project, including rac, ras, rahub, qcaserver, attester and tas packages.
%package rac %package rac
Summary: the rac package. Summary: the rac package.
Requires: openssl
%ifarch aarch64
Requires: itrustee_sdk
%endif
%description rac %description rac
This is the rac rpm package, which is used to install the client of the program. This is the rac rpm package, which is used to install the client of the program.
%package ras %package ras
Summary: the ras package. Summary: the ras package.
Requires: %{name}-attester
%description ras %description ras
This is the ras rpm package, which is used to install the server of the program. This is the ras rpm package, which is used to install the server of the program.
@ -38,6 +47,27 @@ Summary: the rahub package.
%description rahub %description rahub
This is the rahub rpm package, which is used to cascade clients. This is the rahub rpm package, which is used to cascade clients.
%package qcaserver
Summary: the qcaserver package.
%description qcaserver
This is the qcaserver rpm package, which is used to invoke libqca.
%package attester
Summary: the attester package.
Requires: cjson
Requires: openssl
%description attester
This is the attester rpm package, which is used to verify ta reports.
%package tas
Summary: the tas package.
Requires: %{name}-attester
%description tas
This is the tas rpm package, which is used to sign ak cert.
%prep %prep
%setup -q -c -a 1 %setup -q -c -a 1
@ -67,6 +97,9 @@ make install DESTDIR=%{buildroot}
%{_docdir}/attestation/rac/README.md %{_docdir}/attestation/rac/README.md
%{_docdir}/attestation/rac/README.en.md %{_docdir}/attestation/rac/README.en.md
%{_docdir}/attestation/rac/LICENSE %{_docdir}/attestation/rac/LICENSE
%ifarch aarch64
%{_libdir}/libkta.so
%endif
%files ras %files ras
%{_bindir}/ras %{_bindir}/ras
@ -89,7 +122,41 @@ make install DESTDIR=%{buildroot}
%{_docdir}/attestation/rahub/README.en.md %{_docdir}/attestation/rahub/README.en.md
%{_docdir}/attestation/rahub/LICENSE %{_docdir}/attestation/rahub/LICENSE
%files qcaserver
%{_bindir}/qcaserver
%{_sysconfdir}/attestation/qcaserver/config.yaml
%{_datadir}/attestation/qcaserver/prepare-qcaconf-env.sh
%{_docdir}/attestation/qcaserver/README.md
%{_docdir}/attestation/qcaserver/README.en.md
%{_docdir}/attestation/qcaserver/LICENSE
%{_datadir}/attestation/qcaserver/libqca.so
%{_datadir}/attestation/qcaserver/libteec.so
%files attester
%{_bindir}/attester
%{_sysconfdir}/attestation/attester/config.yaml
%{_datadir}/attestation/attester/prepare-attesterconf-env.sh
%{_docdir}/attestation/attester/README.md
%{_docdir}/attestation/attester/README.en.md
%{_docdir}/attestation/attester/LICENSE
%{_libdir}/libteeverifier.so
%files tas
%{_bindir}/tas
%{_bindir}/*.pem
%{_sysconfdir}/attestation/tas/config.yaml
%{_datadir}/attestation/tas/prepare-tasconf-env.sh
%{_docdir}/attestation/tas/README.md
%{_docdir}/attestation/tas/README.en.md
%{_docdir}/attestation/tas/LICENSE
%changelog %changelog
* Thu Mar 23 2023 leezhenxiang <1172294056@qq.com> - 2.0.0-1
- update to 2.0.0
- add qcaserver, attester, and tas packages
- add BuildRequires itrustee_sdk-devel, cjson-devel and Requires itrustee_sdk, cjson
- modify makefile to adapt to different architectures
- specify the build requires in rac and attester package
* Fri Feb 10 2023 gwei3 <11015100@qq.com> - 1.1.2-2 * Fri Feb 10 2023 gwei3 <11015100@qq.com> - 1.1.2-2
- update BuildRequires & Requires to replace openssl* with compat-openssl11* to adapt to latest Mainline - update BuildRequires & Requires to replace openssl* with compat-openssl11* to adapt to latest Mainline
- remove redundent clean label in spec file - remove redundent clean label in spec file

Binary file not shown.