|
|
03cf90 |
Name: tpm2-tss
|
|
|
7d3be4 |
Version: 1.4.0
|
|
|
b41ec9 |
Release: 3%{?dist}
|
|
|
03cf90 |
Summary: TPM2.0 Software Stack
|
|
|
03cf90 |
|
|
|
03cf90 |
# The entire source code is under BSD except implementation.h and tpmb.h which
|
|
|
03cf90 |
# is under TCGL(Trusted Computing Group License).
|
|
|
03cf90 |
License: BSD and TCGL
|
|
|
7d3be4 |
URL: https://github.com/tpm2-software/tpm2-tss
|
|
|
7d3be4 |
Source0: https://github.com/tpm2-software/tpm2-tss/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
7d3be4 |
Source1: 60-tpm-udev.rules
|
|
|
064f5b |
|
|
|
7d3be4 |
Patch0: autoconf-fixup.patch
|
|
|
03cf90 |
|
|
|
03cf90 |
BuildRequires: gcc
|
|
|
03cf90 |
BuildRequires: gcc-c++
|
|
|
064f5b |
BuildRequires: autoconf-archive
|
|
|
03cf90 |
BuildRequires: libtool
|
|
|
03cf90 |
BuildRequires: pkgconfig
|
|
|
064f5b |
|
|
|
064f5b |
Obsoletes: %{name}-utils <= 1.1.0-1
|
|
|
7d3be4 |
# udev rules moved from tpm2-abrmd package
|
|
|
7d3be4 |
Conflicts: tpm2-abrmd%{?_isa} <= 1.1.0-8%{?dist}
|
|
|
03cf90 |
|
|
|
03cf90 |
# this package does not support big endian arch so far,
|
|
|
03cf90 |
# and has been verified only on Intel platforms.
|
|
|
03cf90 |
ExclusiveArch: %{ix86} x86_64
|
|
|
03cf90 |
|
|
|
03cf90 |
%description
|
|
|
03cf90 |
tpm2-tss is a software stack supporting Trusted Platform Module(TPM) 2.0 system
|
|
|
03cf90 |
APIs. It sits between TPM driver and applications, providing TPM2.0 specified
|
|
|
03cf90 |
APIs for applications to access TPM module through kernel TPM drivers.
|
|
|
03cf90 |
|
|
|
03cf90 |
%prep
|
|
|
064f5b |
%autosetup -p1 -n %{name}-%{version}
|
|
|
03cf90 |
./bootstrap
|
|
|
03cf90 |
|
|
|
03cf90 |
|
|
|
03cf90 |
%build
|
|
|
7d3be4 |
%configure --disable-static --disable-silent-rules
|
|
|
03cf90 |
%make_build
|
|
|
03cf90 |
|
|
|
03cf90 |
%install
|
|
|
03cf90 |
%make_install
|
|
|
03cf90 |
find %{buildroot}%{_libdir} -type f -name \*.la -delete
|
|
|
03cf90 |
|
|
|
7d3be4 |
mkdir -p %{buildroot}%{_udevrulesdir}
|
|
|
7d3be4 |
install -m 0644 -D -t %{buildroot}/%{_udevrulesdir}/ %{SOURCE1}
|
|
|
7d3be4 |
|
|
|
03cf90 |
%clean
|
|
|
03cf90 |
rm -rf %{buildroot}
|
|
|
03cf90 |
|
|
|
03cf90 |
%files
|
|
|
7d3be4 |
%doc README.md CHANGELOG.md
|
|
|
03cf90 |
%license LICENSE
|
|
|
03cf90 |
%{_libdir}/libsapi.so.*
|
|
|
03cf90 |
%{_libdir}/libtcti-device.so.*
|
|
|
03cf90 |
%{_libdir}/libtcti-socket.so.*
|
|
|
7d3be4 |
%{_udevrulesdir}/60-tpm-udev.rules
|
|
|
03cf90 |
|
|
|
03cf90 |
%package devel
|
|
|
03cf90 |
Summary: Headers and libraries for building apps that use tpm2-tss
|
|
|
03cf90 |
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
03cf90 |
|
|
|
03cf90 |
%description devel
|
|
|
03cf90 |
This package contains headers and libraries required to build applications that
|
|
|
03cf90 |
use tpm2-tss.
|
|
|
03cf90 |
|
|
|
03cf90 |
%files devel
|
|
|
03cf90 |
%{_includedir}/sapi/
|
|
|
03cf90 |
%{_includedir}/tcti/
|
|
|
03cf90 |
%{_libdir}/libsapi.so
|
|
|
03cf90 |
%{_libdir}/libtcti-device.so
|
|
|
03cf90 |
%{_libdir}/libtcti-socket.so
|
|
|
03cf90 |
%{_libdir}/pkgconfig/sapi.pc
|
|
|
03cf90 |
%{_libdir}/pkgconfig/tcti-device.pc
|
|
|
03cf90 |
%{_libdir}/pkgconfig/tcti-socket.pc
|
|
|
064f5b |
%{_mandir}/man3/Init*Tcti.3.gz
|
|
|
064f5b |
%{_mandir}/man7/tcti-*.7.gz
|
|
|
03cf90 |
|
|
|
064f5b |
%post -p /sbin/ldconfig
|
|
|
03cf90 |
|
|
|
064f5b |
%postun -p /sbin/ldconfig
|
|
|
03cf90 |
|
|
|
03cf90 |
%changelog
|
|
|
b41ec9 |
* Tue Mar 12 2019 Jerry Snitselaar <jsnitsel@redhat.com> - 1.4.0-3
|
|
|
b41ec9 |
- Fix udev rules
|
|
|
b41ec9 |
resolves: rhbz#1641137
|
|
|
b41ec9 |
|
|
|
7d3be4 |
* Thu Sep 06 2018 Jerry Snitselaar <jsnitsel@redhat.com> - 1.4.0-2
|
|
|
7d3be4 |
- Add conflict for older tpm2-abrmd versions due to udev rules move.
|
|
|
7d3be4 |
resolves: rhbz#1626069
|
|
|
7d3be4 |
|
|
|
7d3be4 |
* Fri Jun 15 2018 Jerry Snitselaar <jsnitsel@redhat.com> - 1.4.0-1
|
|
|
7d3be4 |
- Rebase to 1.4.0 release
|
|
|
7d3be4 |
resolves: rhbz#1515116
|
|
|
7d3be4 |
|
|
|
064f5b |
* Thu Dec 14 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 1.3.0-2
|
|
|
064f5b |
- Fix package version in autoconf
|
|
|
064f5b |
resolves: rhbz#1463097
|
|
|
064f5b |
|
|
|
064f5b |
* Wed Dec 13 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 1.3.0-1
|
|
|
064f5b |
- Rebase to 1.3.0 release
|
|
|
064f5b |
resolves: rhbz#1463097
|
|
|
064f5b |
|
|
|
064f5b |
* Thu Aug 31 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 1.1.0-1
|
|
|
064f5b |
- Rebase to 1.1.0
|
|
|
064f5b |
resolves: rhbz#1463097
|
|
|
064f5b |
|
|
|
03cf90 |
* Wed Jun 07 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 1.0-5
|
|
|
03cf90 |
- Add manpage for resourcemgr
|
|
|
03cf90 |
resolves: rhbz#1459635
|
|
|
03cf90 |
|
|
|
03cf90 |
* Mon Apr 03 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 1.0-4
|
|
|
03cf90 |
- Clean up potential null deref
|
|
|
03cf90 |
- Clean up memory leaks
|
|
|
03cf90 |
- Inrease release version to 4
|
|
|
03cf90 |
|
|
|
03cf90 |
* Fri Mar 10 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 1.0-3
|
|
|
03cf90 |
- Add systemd unit for resourcemgr
|
|
|
03cf90 |
- Add utils subpackage
|
|
|
03cf90 |
- Add Makefile.am patch to install test programs
|
|
|
03cf90 |
- Add patch to swap out AX_PTHREAD for different check
|
|
|
03cf90 |
- Increase release version to 3
|
|
|
03cf90 |
resolves: rhbz#1275027 - Add TPM 2.0 System API (SAPI) library
|
|
|
03cf90 |
|
|
|
03cf90 |
* Mon Dec 12 2016 Sun Yunying <yunying.sun@intel.com> - 1.0-2
|
|
|
03cf90 |
- Remove global macro pkg_version to avoid duplicate of version
|
|
|
03cf90 |
- Use ExclusiveArch instead of ExcludeArch
|
|
|
03cf90 |
- Use less wildcard in %files section to be more specific
|
|
|
03cf90 |
- Add trailing slash at end of added directory in %file section
|
|
|
03cf90 |
- Remove autoconf/automake/pkgconfig(cmocka) from BuildRequires
|
|
|
03cf90 |
- Increase release version to 2
|
|
|
03cf90 |
|
|
|
03cf90 |
* Fri Dec 2 2016 Sun Yunying <yunying.sun@intel.com> - 1.0-1
|
|
|
03cf90 |
- Initial version of the package
|