tpm2-tss/tpm2-tss.spec

124 lines
3.5 KiB
RPMSpec
Raw Normal View History

Name: tpm2-tss
Version: 3.0.2
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 \
--with-udevrulesdir=%{_udevrulesdir}
%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
%{_udevrulesdir}/tpm-udev.rules
%{_mandir}/man5/fapi-config.5*
%{_mandir}/man5/fapi-profile.5*
%files -n libtss2
%defattr(-,root,root)
%{_libdir}/libtss2-*.so.*
%doc LICENSE
%files -n libtss2-devel
%defattr(-,root,root)
%dir %{_includedir}/tss2
%{_includedir}/tss2/tss2_*.h
%{_libdir}/libtss2-*.a
%{_libdir}/libtss2-*.la
%{_libdir}/libtss2-*.so
%{_libdir}/pkgconfig/tss2-*.pc
%{_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
* Fri Nov 20 2020 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
- automatic version update by autodist
* Thu Sep 24 2020 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
- automatic version update by autodist
* Sat Aug 22 2020 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic version update by autodist
* Wed May 13 2020 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic version update by autodist
* Wed Apr 15 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-1mamba
- package created using the webbuild interface