Accepting request 458493 from home:jengelh:branches:security
- Remove --with-pic which is only for static libs. - Fix an improper Requires line. - Split libtcti* from libsapi0; these are independentlty developable units. OBS-URL: https://build.opensuse.org/request/show/458493 OBS-URL: https://build.opensuse.org/package/show/security/tpm2-0-tss?expand=0&rev=32
This commit is contained in:
parent
c220cfe8e2
commit
68951397a5
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 16 13:35:44 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Remove --with-pic which is only for static libs.
|
||||||
|
- Fix an improper Requires line.
|
||||||
|
- Split libtcti* from libsapi0; these are independentlty
|
||||||
|
developable units.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 8 13:43:55 UTC 2017 - meissner@suse.com
|
Wed Feb 8 13:43:55 UTC 2017 - meissner@suse.com
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Name: tpm2-0-tss
|
Name: tpm2-0-tss
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: TSS (TCG Software Stack) access library for TPM 2.0 chips
|
Summary: Intel's TCG Software Stack access library for TPM 2.0 chips
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
Url: https://github.com/01org/TPM2.0-TSS
|
Url: https://github.com/01org/TPM2.0-TSS
|
||||||
@ -39,17 +39,19 @@ 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: Development headers for the TSS (TCG Software Stack) access library for TPM 2.0 chips
|
Summary: Development headers for the Intel TSS 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: libtsapi0 = %{version}
|
Requires: libsapi0 = %{version}
|
||||||
|
Requires: libtcti-device0 = %{version}
|
||||||
|
Requires: libtcti-socket0 = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides the development files for the libsapi library
|
This package provides the development files for the libsapi library
|
||||||
for accessing TPM 2.0 chips.
|
for accessing TPM 2.0 chips.
|
||||||
|
|
||||||
%package -n libsapi0
|
%package -n libsapi0
|
||||||
Summary: TSS (TCG Software Stack) access library for TPM 2.0 chip
|
Summary: TPM2 System API library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: trousers
|
Requires: trousers
|
||||||
# Non-SLPP package name from earlier
|
# Non-SLPP package name from earlier
|
||||||
@ -60,13 +62,29 @@ Provides: libtss2 = %version-%release
|
|||||||
This package provides the library to access the TSS (TCG Software Stack) for
|
This package provides the library to access the TSS (TCG Software Stack) for
|
||||||
accessing TPM 2.0 chips.
|
accessing TPM 2.0 chips.
|
||||||
|
|
||||||
|
%package -n libtcti-device0
|
||||||
|
Summary: TCTI library for communicating with a TPM device node
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libtcti-device0
|
||||||
|
TPM Command Transmission Interface library for communicating with a
|
||||||
|
TPM device node.
|
||||||
|
|
||||||
|
%package -n libtcti-socket0
|
||||||
|
Summary: TCTI library for communicating with a TPM over a socket
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libtcti-socket0
|
||||||
|
TPM Command Transmission Interface library for communicating with a
|
||||||
|
TPM over a socket.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n TPM2.0-TSS-%{version}
|
%setup -q -n TPM2.0-TSS-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
bash bootstrap
|
bash bootstrap
|
||||||
%configure --disable-static --with-pic
|
%configure --disable-static
|
||||||
make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread
|
make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -78,6 +96,10 @@ ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcresourcemgr
|
|||||||
|
|
||||||
%post -n libsapi0 -p /sbin/ldconfig
|
%post -n libsapi0 -p /sbin/ldconfig
|
||||||
%postun -n libsapi0 -p /sbin/ldconfig
|
%postun -n libsapi0 -p /sbin/ldconfig
|
||||||
|
%post -n libtcti-device0 -p /sbin/ldconfig
|
||||||
|
%postun -n libtcti-device0 -p /sbin/ldconfig
|
||||||
|
%post -n libtcti-socket0 -p /sbin/ldconfig
|
||||||
|
%postun -n libtcti-socket0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre resourcemgr.service
|
%service_add_pre resourcemgr.service
|
||||||
@ -109,8 +131,14 @@ ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcresourcemgr
|
|||||||
|
|
||||||
%files -n libsapi0
|
%files -n libsapi0
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/%{_libdir}/libsapi.so.*
|
%{_libdir}/libsapi.so.*
|
||||||
/%{_libdir}/libtcti-device.so.*
|
|
||||||
/%{_libdir}/libtcti-socket.so.*
|
%files -n libtcti-device0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libtcti-device.so.*
|
||||||
|
|
||||||
|
%files -n libtcti-socket0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libtcti-socket.so.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user