Name: tpm-tools Summary: Management tools for the TPM hardware Version: 1.3.9 Release: 6%{?dist} License: CPL Group: Applications/System URL: http://trousers.sourceforge.net Source0: http://downloads.sourceforge.net/trousers/%{name}-%{version}.tar.gz # upstream commit 9472ae7d72 Patch0001: Fix-missing-linkage-with-openssl.patch Patch0002: 0002-Fix-build-with-OpenSSL-1.1-due-to-RSA-being-an-opaqu.patch Patch0003: 0003-Allocate-OpenSSL-cipher-contexts-for-seal-unseal.patch # patches 4 & 5 submitted upstream by SUSE Patch0004: 0001-tpm_version-avoid-outputting-NULL-bytes-from-tpmVend.patch Patch0005: 0001-tpm_version-avoid-outputting-undefined-data-on-stder.patch # submitted upstream to trousers-tech mailing list Patch0006: 0001-man-manpage-cleanup.patch Patch0007: 0001-tpm-tools-fix-outdated-function-signature-in-tpmUnse.patch Patch0008: 0001-man-fix-header-tpmUnsealFile.patch BuildRequires: trousers-devel openssl-devel opencryptoki-devel # Working with upstream to fix this, but in the mean time we need this BuildRequires: automake autoconf %description tpm-tools is a group of tools to manage and utilize the Trusted Computing Group's TPM hardware. TPM hardware can create, store and use RSA keys securely (without ever being exposed in memory), verify a platform's software state using cryptographic hashes and more. %package pkcs11 Summary: Management tools using PKCS#11 for the TPM hardware Group: Applications/System # opencryptoki is dlopen'd, the Requires won't get picked up automatically Requires: opencryptoki-libs%{?_isa} %description pkcs11 tpm-tools-pkcs11 is a group of tools that use the TPM PKCS#11 token. All data contained in the PKCS#11 data store is protected by the TPM (keys, certificates, etc.). You can import keys and certificates, list out the objects in the data store, and protect data. %package devel Summary: Files to use the library routines supplied with tpm-tools Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel tpm-tools-devel is a package that contains the libraries and headers necessary for developing tpm-tools applications. %prep %autosetup -p1 -c %{name}-%{version} autoreconf %build %configure --disable-static --disable-rpath --disable-silent-rules %make_build %install %make_install INSTALL="install -p" rm -f $RPM_BUILD_ROOT/%{_libdir}/libtpm_unseal.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %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.?.?.? %{_libdir}/libtpm_unseal.so.? %{_mandir}/man1/tpm_* %{_mandir}/man8/tpm_* %files pkcs11 %doc LICENSE %defattr(-,root,root,-) %attr(755, root, root) %{_bindir}/tpmtoken_* %{_mandir}/man1/tpmtoken_* %files devel %defattr(-,root,root,-) %{_libdir}/libtpm_unseal.so %{_includedir}/tpm_tools/ %{_mandir}/man3/tpmUnseal* %changelog * Thu Aug 01 2019 Jerry Snitselaar - 1.3.9-6 - Fix include example in tpmUnsealFile manpage. Resolves: rhbz#1666317 * Sun Jan 27 2019 Jerry Snitselaar - 1.3.9-5 - manpage cleanup Resolves: rhbz#1517359 rhbz#948906 rhbz#1666317 * Sun Jan 27 2019 Jerry Snitselaar - 1.3.9-4 - add autoreconf back to prep Resolves: rhbz#1654985 * Wed Jan 16 2019 Jerry Snitselaar - 1.3.9-3 - Fix garbage being printed in tpm_version output - backport spec file cleanups Resolves: rhbz#1654985 * Thu May 04 2017 Jerry Snitselaar - 1.3.9-2 - Fix missing linkage - Allocate and free cipher context (bz 1447827) * Thu Mar 30 2017 Jerry Snitselaar - 1.3.9-1 Resolves: rhbz#1384447 Rebase tpm-tools to latest version * Fri Jan 24 2014 Daniel Mach - 1.3.8-6 - Mass rebuild 2014-01-24 * Fri Dec 27 2013 Daniel Mach - 1.3.8-5 - Mass rebuild 2013-12-27 * Fri Feb 15 2013 Fedora Release Engineering - 1.3.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 1.3.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jul 3 2012 Peter Robinson - 1.3.8-2 - Cleanup spec and modernise spec * Fri Jun 22 2012 Steve Grubb 1.3.8-1 - New upstream release * Sat Jan 14 2012 Fedora Release Engineering - 1.3.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Sep 19 2011 Steve Grubb 1.3.7-1 - New upstream release * Fri Jun 24 2011 Steve Grubb 1.3.5-5 - Remove -Werror from compile flags (#716046) * Wed Feb 09 2011 Fedora Release Engineering - 1.3.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Jul 08 2010 Michal Schmidt - 1.3.5-3 - Add the LICENSE file to the -pkcs11 subpackage too, as it may be installed independently. - Remove useless macros. * Sun Feb 14 2010 Michal Schmidt - 1.3.5-2 - Fix for DSO linking change. * Mon Feb 01 2010 Steve Grubb 1.3.5-1 - New upstream bug fix release * Fri Jan 29 2010 Steve Grubb 1.3.4-2 - Remove rpaths * Wed Oct 21 2009 Michal Schmidt - 1.3.4-1 - Upstream release 1.3.4: - adds SRK password support on unsealing - LICENSE is back. - Remove no longer needed patch: tpm-tools-1.3.3-check-fwrite-success.patch * Fri Aug 21 2009 Tomas Mraz - 1.3.3-2 - rebuilt with new openssl * Fri Aug 07 2009 Michal Schmidt 1.3.3-1 - New upstream release 1.3.3. - No longer needed patch, dropped: tpm-tools-conditionally-build-tpmtoken-manpages-Makefile.in.patch - Use global instead of define for macros. - Remove rpaths. - LICENSE file is suddenly missing in upstream tarball. - Added patch to allow compilation: tpm-tools-1.3.3-check-fwrite-success.patch * Wed Jul 29 2009 Michal Schmidt 1.3.1-10 - Split the pkcs11 utilities into a subpackage. * Wed Jul 29 2009 Michal Schmidt 1.3.1-9 - Enable pkcs11 support (tpmtoken_* utilities). * Sun Jul 26 2009 Fedora Release Engineering - 1.3.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 1.3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Jan 18 2009 Tomas Mraz - 1.3.1-6 - rebuild with new openssl * Tue Feb 19 2008 Fedora Release Engineering - 1.3.1-5 - Autorebuild for GCC 4.3 * Tue Dec 18 2007 Kent Yoder - 1.3.1-4 - Updated for comments in RHIT#394941 comment #6 * Fri Dec 14 2007 Kent Yoder - 1.3.1-3 - Updated to own the includedir/tpm_tools directory, removed requirement on trousers and ldconfig in post/postun * Thu Dec 13 2007 Kent Yoder - 1.3.1-2 - Updated for Fedora package submission guidelines * Fri Nov 16 2007 Kent Yoder - 1.3.1 - Updates to configure * Fri Oct 05 2007 Kent Yoder - 1.2.5.1 - Updated build section to use smp_mflags