1 Star 0 Fork 24

wangchen/tpm2-tools

forked from src-openEuler/tpm2-tools 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tpm2-tools.spec 1.76 KB
一键复制 编辑 原始数据 按行查看 历史
guoxiaoqi 提交于 2020-03-19 20:07 +08:00 . add BuildRequires: libgcrypt-devel gdb
Name: tpm2-tools
Version: 3.1.1
Release: 7
Summary: A TPM2.0 testing tool based on TPM2.0-TSS
License: BSD
URL: https://github.com/tpm2-software/tpm2-tools
Source0: https://github.com/tpm2-software/tpm2-tools/releases/download/%{version}/%{name}-%{version}.tar.gz
Patch1: Revert-objectattrs-clear-before-or-ing-in-values.patch
BuildRequires: gcc-c++ libtool autoconf-archive pkgconfig(cmocka) pkgconfig(libcurl) pkgconfig(openssl)
BuildRequires: pkgconfig(tss2-mu) pkgconfig(tss2-sys) pkgconfig(tss2-esys) git libgcrypt
BuildRequires: libgcrypt-devel gdb
Requires: tpm2-tss >= 2.0.0-2
Obsoletes: tpm2-tools <= 2.1.1-2
%description
The package contains the code for the TPM (Trusted Platform Module) 2.0
tools based on tpm2-tss.
The tpm2-tools projects aims to deliver both low-level and aggregate
command line tools that provide access to a tpm2.0 compatible device.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%build
%configure --prefix=/usr --disable-static --disable-silent-rules
make %{?_smp_mflags} V=1
%install
rm -rf %{buildroot}
%make_install
%check
make check
%pre
%preun
%post
%postun
%files
%defattr(-,root,root)
%license LICENSE
%{_bindir}/*
%files help
%doc README.md CHANGELOG.md
%{_mandir}/*/*
%changelog
* Thu Mar 19 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.1.1-7
- add BuildRequires: libgcrypt-devel gdb
* Wed Jan 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.1.1-6
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: add BuildRequires
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.1.1-5
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: revise spec file with new rules
* Wed Aug 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.1.1-4
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wangchen2020/tpm2-tools.git
git@gitee.com:wangchen2020/tpm2-tools.git
wangchen2020
tpm2-tools
tpm2-tools
master

搜索帮助