package created using the webbuild interface [release 2.4.0-1mamba;Wed Apr 15 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 18:36:07 +01:00
parent e86c30f5a7
commit 6724b0c647
2 changed files with 145 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# tpm2-tss
OSS implementation of the TCG TPM2 Software Stack (TSS2).

143
tpm2-tss.spec Normal file
View File

@ -0,0 +1,143 @@
Name: tpm2-tss
Version: 2.4.0
Release: 1mamba
Summary: OSS implementation of the TCG TPM2 Software Stack (TSS2)
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://tpm2-software.github.io
## GITSOURCE https://github.com/tpm2-software/tpm2-tss.git 2.4.0
Source: https://github.com/tpm2-software/tpm2-tss.git/%{version}/tpm2-tss-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libbrotli-devel
BuildRequires: libcares-devel
BuildRequires: libcurl-devel
BuildRequires: libe2fs-devel
BuildRequires: libgss-devel
BuildRequires: libicu-devel
BuildRequires: libjson-c-devel
BuildRequires: libkrb5-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libpsl-devel
BuildRequires: librtmp-devel
BuildRequires: libsasl2-devel
BuildRequires: libssh2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: libtss2 = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
OSS implementation of the TCG TPM2 Software Stack (TSS2).
%package -n libtss2
Group: System/Libraries
Summary: OSS implementation of the TCG TPM2 Software Stack (TSS2)
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n libtss2
OSS implementation of the TCG TPM2 Software Stack (TSS2).
This package contains shared libraries for %{name}.
%package -n libtss2-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: libtss2 = %{?epoch:%epoch:}%{version}-%{release}
%description -n libtss2-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
./bootstrap
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libtss2 -p /sbin/ldconfig
%postun -n libtss2 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_sysconfdir}/sysusers.d/tpm2-tss.conf
%{_sysconfdir}/tmpfiles.d/tpm2-tss-fapi.conf
%{_sysconfdir}/tpm2-tss/fapi-config.json
%{_sysconfdir}/tpm2-tss/fapi-profiles/P_ECCP256SHA256.json
%{_sysconfdir}/tpm2-tss/fapi-profiles/P_RSA2048SHA256.json
%files -n libtss2
%defattr(-,root,root)
%{_libdir}/libtss2-esys.so.*
%{_libdir}/libtss2-fapi.so.*
%{_libdir}/libtss2-mu.so.*
%{_libdir}/libtss2-rc.so.*
%{_libdir}/libtss2-sys.so.*
%{_libdir}/libtss2-tcti-device.so.*
%{_libdir}/libtss2-tcti-mssim.so.*
%{_libdir}/libtss2-tctildr.so.*
%doc LICENSE
%files -n libtss2-devel
%defattr(-,root,root)
%dir %{_includedir}/tss2
%{_includedir}/tss2/tss2_*.h
%{_libdir}/libtss2-esys.a
%{_libdir}/libtss2-esys.la
%{_libdir}/libtss2-esys.so
%{_libdir}/libtss2-fapi.a
%{_libdir}/libtss2-fapi.la
%{_libdir}/libtss2-fapi.so
%{_libdir}/libtss2-mu.a
%{_libdir}/libtss2-mu.la
%{_libdir}/libtss2-mu.so
%{_libdir}/libtss2-rc.a
%{_libdir}/libtss2-rc.la
%{_libdir}/libtss2-rc.so
%{_libdir}/libtss2-sys.a
%{_libdir}/libtss2-sys.la
%{_libdir}/libtss2-sys.so
%{_libdir}/libtss2-tcti-device.a
%{_libdir}/libtss2-tcti-device.la
%{_libdir}/libtss2-tcti-device.so
%{_libdir}/libtss2-tcti-mssim.a
%{_libdir}/libtss2-tcti-mssim.la
%{_libdir}/libtss2-tcti-mssim.so
%{_libdir}/libtss2-tctildr.a
%{_libdir}/libtss2-tctildr.la
%{_libdir}/libtss2-tctildr.so
%{_libdir}/pkgconfig/tss2-esys.pc
%{_libdir}/pkgconfig/tss2-fapi.pc
%{_libdir}/pkgconfig/tss2-mu.pc
%{_libdir}/pkgconfig/tss2-rc.pc
%{_libdir}/pkgconfig/tss2-sys.pc
%{_libdir}/pkgconfig/tss2-tcti-device.pc
%{_libdir}/pkgconfig/tss2-tcti-mssim.pc
%{_libdir}/pkgconfig/tss2-tctildr.pc
%{_libdir}/udev/rules.d/tpm-udev.rules
%{_mandir}/man3/ESYS_*.3*
%{_mandir}/man3/Esys_*.3*
%{_mandir}/man3/FapiTestgroup.3*
%{_mandir}/man3/Fapi_*.3*
%{_mandir}/man3/Tss2_*.3*
%{_mandir}/man7/tss2-*.7*
%doc README.md
%changelog
* Wed Apr 15 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-1mamba
- package created using the webbuild interface