forked from pool/tpm2-0-tss
This commit is contained in:
parent
84a46c674b
commit
c220cfe8e2
@ -1 +1 @@
|
|||||||
libtss2-0
|
libsapi0
|
||||||
|
@ -42,13 +42,13 @@ The tpm2-0-tss package provides a TPM 2.0 TSS implementation.
|
|||||||
Summary: Development headers for the TSS (TCG Software Stack) access library for TPM 2.0 chips
|
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-0 = %{version}
|
Requires: libtsapi0 = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides the development files for the libtss2 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 libtss2-0
|
%package -n libsapi0
|
||||||
Summary: TSS (TCG Software Stack) access library for TPM 2.0 chip
|
Summary: TSS (TCG Software Stack) access library for TPM 2.0 chip
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: trousers
|
Requires: trousers
|
||||||
@ -56,7 +56,7 @@ Requires: trousers
|
|||||||
Obsoletes: libtss2 < %version-%release
|
Obsoletes: libtss2 < %version-%release
|
||||||
Provides: libtss2 = %version-%release
|
Provides: libtss2 = %version-%release
|
||||||
|
|
||||||
%description -n libtss2-0
|
%description -n libsapi0
|
||||||
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.
|
||||||
|
|
||||||
@ -76,8 +76,8 @@ install -D -m 0644 contrib/resourcemgr.service %{buildroot}/%{_unitdir}/resource
|
|||||||
sed -e 's#usr/local/sbin/#usr/sbin#;' -i %{buildroot}/%{_unitdir}/resourcemgr.service
|
sed -e 's#usr/local/sbin/#usr/sbin#;' -i %{buildroot}/%{_unitdir}/resourcemgr.service
|
||||||
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcresourcemgr
|
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcresourcemgr
|
||||||
|
|
||||||
%post -n libtss2-0 -p /sbin/ldconfig
|
%post -n libsapi0 -p /sbin/ldconfig
|
||||||
%postun -n libtss2-0 -p /sbin/ldconfig
|
%postun -n libsapi0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre resourcemgr.service
|
%service_add_pre resourcemgr.service
|
||||||
@ -93,7 +93,7 @@ ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcresourcemgr
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc *.md LICENSE *.png
|
%doc *.md LICENSE
|
||||||
%{_sbindir}/resourcemgr
|
%{_sbindir}/resourcemgr
|
||||||
/%{_unitdir}/resourcemgr.service
|
/%{_unitdir}/resourcemgr.service
|
||||||
%{_sbindir}/rcresourcemgr
|
%{_sbindir}/rcresourcemgr
|
||||||
@ -101,15 +101,16 @@ ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcresourcemgr
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/tcti
|
%{_includedir}/tcti
|
||||||
%{_includedir}/tss2
|
%{_includedir}/sapi
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
##only available in static form
|
##only available in static form
|
||||||
#%{_libdir}/libtddl.a
|
#%{_libdir}/libtddl.a
|
||||||
|
|
||||||
%files -n libtss2-0
|
%files -n libsapi0
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/%{_libdir}/libtss2.so.*
|
/%{_libdir}/libsapi.so.*
|
||||||
/%{_libdir}/libtctidevice.so.*
|
/%{_libdir}/libtcti-device.so.*
|
||||||
/%{_libdir}/libtctisocket.so.*
|
/%{_libdir}/libtcti-socket.so.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user