1Name: tpm-tools 2Version: 1.2.4 3Release: 1 4Summary: Management tools for the TPM hardware 5 6Group: Applications/System 7License: CPL 8URL: http://www.sf.net/projects/trousers 9Source0: %{name}-%{version}.tar.gz 10BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 11 12BuildRequires: autoconf automake libtool trousers-devel openssl-devel perl 13Requires: trousers 14 15%description 16tpm-tools is a group of tools to manage and utilize the Trusted Computing 17Group's TPM hardware. TPM hardware can create, store and use RSA keys 18securely (without ever being exposed in memory), verify a platform's 19software state using cryptographic hashes and more. 20 21%package devel 22Summary: Files to use the library routines supplied with tpm-tools 23Group: Development/Libraries 24Requires: tpm-tools = %{version}-%{release} 25 26%description devel 27tpm-tools-devel is a package that contains the libraries and headers 28necessary for developing tpm-tools applications. 29 30 31%prep 32%setup -q 33 34 35%build 36autoreconf --force --install 37%configure --disable-static --disable-pkcs11-support 38make 39 40 41%install 42rm -rf $RPM_BUILD_ROOT 43make install DESTDIR=$RPM_BUILD_ROOT 44rm -f $RPM_BUILD_ROOT/%{_libdir}/libtpm_unseal.la 45 46 47%clean 48rm -rf $RPM_BUILD_ROOT 49 50 51%files 52%defattr(-,root,root,-) 53%doc LICENSE README 54%attr(755, root, root) %{_bindir}/tpm_* 55%attr(755, root, root) %{_sbindir}/tpm_* 56%attr(755, root, root) %{_libdir}/libtpm_unseal.so.0.0.1 57%{_libdir}/libtpm_unseal.so.0 58%{_mandir}/man1/tpm_* 59%{_mandir}/man8/tpm_* 60 61%files devel 62%defattr(-,root,root,-) 63%{_libdir}/libtpm_unseal.so 64%{_includedir}/tpm_tools/*.h 65%{_mandir}/man3/tpmUnseal* 66 67 68%post -p /sbin/ldconfig 69 70 71%postun -p /sbin/ldconfig 72