⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tpm-tools.spec

📁 Linux下关于TPM的一些检测小工具
💻 SPEC
字号:
Name:           tpm-toolsVersion:        1.2.4Release:        1Summary:        Management tools for the TPM hardwareGroup:          Applications/SystemLicense:        CPLURL:            http://www.sf.net/projects/trousersSource0:        %{name}-%{version}.tar.gzBuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)BuildRequires:  autoconf automake libtool trousers-devel opencryptoki-devel openssl-develRequires:       trousers%descriptiontpm-tools is a group of tools to manage and utilize the Trusted ComputingGroup's TPM hardware. TPM hardware can create, store and use RSA keyssecurely (without ever being exposed in memory), verify a platform'ssoftware state using cryptographic hashes and more.%package pkcs11Summary:	Data management tools that use a PKCS#11 interface to the TPMGroup:		Applications/ProductivityRequires:	tpm-tools = %{version}-%{release}, opencryptoki >= 2.2.4%description pkcs11tpm-tools-pkcs11 is a group of tools that uses the TPM PKCS#11 tokendeveloped in the opencryptoki project.  All data contained in thePKCS#11 data store is protected by the TPM (keys, certificates, etc.).You can import keys and certificates, list out the objects in the datastore, and protect data.%package develSummary:	Files to use the library routines supplied with tpm-toolsGroup:		Development/LibrariesRequires:	tpm-tools = %{version}-%{release} %description develtpm-tools-devel is a package that contains the libraries and headersnecessary for developing tpm-tools applications.%prep%setup -q%buildautoreconf --force --install%configure --disable-staticmake%installrm -rf $RPM_BUILD_ROOTmake install DESTDIR=$RPM_BUILD_ROOTrm -f $RPM_BUILD_ROOT/%{_libdir}/libtpm_unseal.la%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root,-)%doc LICENSE README%attr(755, root, root) %{_bindir}/tpm_*%attr(755, root, root) %{_sbindir}/tpm_*%attr(755, root, root) %{_libdir}/libtpm_unseal.so.0.0.1%{_libdir}/libtpm_unseal.so.0%{_mandir}/man1/tpm_*%{_mandir}/man8/tpm_*%files pkcs11%defattr(-,root,root,-)%attr(755, root, root) %{_bindir}/tpmtoken_*%{_mandir}/man1/tpmtoken_*%files devel%defattr(-,root,root,-)%{_libdir}/libtpm_unseal.so%{_includedir}/tpm_tools/*.h%{_mandir}/man3/tpmUnseal*%post -p /sbin/ldconfig%postun -p /sbin/ldconfig

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -