SHA256
1
0
forked from pool/tpm2-0-tss
Marcus Meissner 2016-03-24 09:49:46 +00:00 committed by Git OBS Bridge
parent 6855b9ad5c
commit 680423cc57

View File

@ -19,7 +19,7 @@
Name: tpm2-0-tss
Version: 0.98
Release: 0
Summary: TSS (TCG Software Stack) access daemon for a TPM chip
Summary: TSS (TCG Software Stack) access library for TPM 2.0 chips
License: BSD-3-Clause
Group: Productivity/Security
Url: https://github.com/01org/TPM2.0-TSS
@ -38,33 +38,23 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
The tpm2-0-tss package provides a TPM 2.0 TSS implementation.
%package devel
Summary: TSS (TCG Software Stack) access daemon for a TPM chip
Summary: Development headers for the TSS (TCG Software Stack) access library for TPM 2.0 chips
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libtss2 = %{version}
%description devel
The trousers package provides a TSS implementation through the help of
a user-space daemon, the tcsd, and a library Trousers aims to be
compliant to the 1.1b and 1.2 TSS specifications as available from the
Trusted Computing website http://www.trustedcomputinggroup.org/.
The package needs the /dev/tpm device file to be present on your
system. It is a character device file major 10 minor 224, 0600 tss:tss.
This package provides the development files for the libtss2 library
for accessing TPM 2.0 chips.
%package -n libtss2
Summary: TSS (TCG Software Stack) access daemon for a TPM chip
Summary: TSS (TCG Software Stack) access library for TPM 2.0 chip
Group: Productivity/Security
Requires: trousers
%description -n libtss2
The trousers package provides a TSS implementation through the help of
a user-space daemon, the tcsd, and a library Trousers aims to be
compliant to the 1.1b and 1.2 TSS specifications as available from the
Trusted Computing website http://www.trustedcomputinggroup.org/.
The package needs the /dev/tpm device file to be present on your
system. It is a character device file major 10 minor 224, 0600 tss:tss.
This package provides the library to access the TSS (TCG Software Stack) for
accessing TPM 2.0 chips.
%prep
%setup -q
@ -78,25 +68,13 @@ make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread
%make_install
rm %{buildroot}/%{_libdir}/lib*.la
%pre
%service_add_pre tcsd.service
%post
%service_add_post tcsd.service
%postun
%service_del_postun tcsd.service
%preun
%service_del_preun tcsd.service
%post -n libtss2 -p /sbin/ldconfig
%postun -n libtss2 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc *.md ChangeLog LICENSE
%doc *.md ChangeLog LICENSE *.png
/usr/sbin/resourcemgr
%files devel