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 Name: tpm2-0-tss
Version: 0.98 Version: 0.98
Release: 0 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 License: BSD-3-Clause
Group: Productivity/Security Group: Productivity/Security
Url: https://github.com/01org/TPM2.0-TSS 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. The tpm2-0-tss package provides a TPM 2.0 TSS implementation.
%package devel %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++ Group: Development/Libraries/C and C++
Requires: glibc-devel Requires: glibc-devel
Requires: libtss2 = %{version} Requires: libtss2 = %{version}
%description devel %description devel
The trousers package provides a TSS implementation through the help of This package provides the development files for the libtss2 library
a user-space daemon, the tcsd, and a library Trousers aims to be for accessing TPM 2.0 chips.
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.
%package -n libtss2 %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 Group: Productivity/Security
Requires: trousers Requires: trousers
%description -n libtss2 %description -n libtss2
The trousers package provides a TSS implementation through the help of This package provides the library to access the TSS (TCG Software Stack) for
a user-space daemon, the tcsd, and a library Trousers aims to be accessing TPM 2.0 chips.
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.
%prep %prep
%setup -q %setup -q
@ -78,25 +68,13 @@ make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread
%make_install %make_install
rm %{buildroot}/%{_libdir}/lib*.la 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 %post -n libtss2 -p /sbin/ldconfig
%postun -n libtss2 -p /sbin/ldconfig %postun -n libtss2 -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc *.md ChangeLog LICENSE %doc *.md ChangeLog LICENSE *.png
/usr/sbin/resourcemgr /usr/sbin/resourcemgr
%files devel %files devel