|
Yunying Sun |
c51662 |
Name: tpm2-tss
|
|
Javier Martinez Canillas |
f27ddf |
Version: 1.3.0
|
|
Javier Martinez Canillas |
0c0c82 |
Release: 3%{?dist}
|
|
Yunying Sun |
c51662 |
Summary: TPM2.0 Software Stack
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
# The entire source code is under BSD except implementation.h and tpmb.h which
|
|
Yunying Sun |
c51662 |
# is under TCGL(Trusted Computing Group License).
|
|
Yunying Sun |
c51662 |
License: BSD and TCGL
|
|
Javier Martinez Canillas |
f27ddf |
URL: https://github.com/intel/tpm2-tss
|
|
Javier Martinez Canillas |
4eb5a0 |
Source0: https://github.com/intel/tpm2-tss/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
BuildRequires: gcc
|
|
Yunying Sun |
c51662 |
BuildRequires: gcc-c++
|
|
Yunying Sun |
c51662 |
BuildRequires: autoconf-archive
|
|
Yunying Sun |
c51662 |
BuildRequires: libtool
|
|
Yunying Sun |
c51662 |
BuildRequires: pkgconfig
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
%description
|
|
Yunying Sun |
c51662 |
tpm2-tss is a software stack supporting Trusted Platform Module(TPM) 2.0 system
|
|
Yunying Sun |
c51662 |
APIs. It sits between TPM driver and applications, providing TPM2.0 specified
|
|
Yunying Sun |
c51662 |
APIs for applications to access TPM module through kernel TPM drivers.
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
%prep
|
|
Javier Martinez Canillas |
4eb5a0 |
%autosetup -n %{name}-%{version}
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
%build
|
|
Javier Martinez Canillas |
f27ddf |
%configure --disable-static --disable-silent-rules
|
|
Yunying Sun |
c51662 |
%make_build
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
%install
|
|
Yunying Sun |
c51662 |
%make_install
|
|
Yunying Sun |
c51662 |
find %{buildroot}%{_libdir} -type f -name \*.la -delete
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
%files
|
|
Yunying Sun |
c51662 |
%license LICENSE
|
|
Yunying Sun |
c51662 |
%{_libdir}/libsapi.so.*
|
|
Yunying Sun |
c51662 |
%{_libdir}/libtcti-device.so.*
|
|
Yunying Sun |
c51662 |
%{_libdir}/libtcti-socket.so.*
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
%package devel
|
|
Yunying Sun |
c51662 |
Summary: Headers and libraries for building apps that use tpm2-tss
|
|
Yunying Sun |
c51662 |
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
%description devel
|
|
Yunying Sun |
c51662 |
This package contains headers and libraries required to build applications that
|
|
Yunying Sun |
c51662 |
use tpm2-tss.
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
%files devel
|
|
Yunying Sun |
c51662 |
%{_includedir}/sapi/
|
|
Yunying Sun |
c51662 |
%{_includedir}/tcti/
|
|
Yunying Sun |
c51662 |
%{_libdir}/libsapi.so
|
|
Yunying Sun |
c51662 |
%{_libdir}/libtcti-device.so
|
|
Yunying Sun |
c51662 |
%{_libdir}/libtcti-socket.so
|
|
Yunying Sun |
c51662 |
%{_libdir}/pkgconfig/sapi.pc
|
|
Yunying Sun |
c51662 |
%{_libdir}/pkgconfig/tcti-device.pc
|
|
Yunying Sun |
c51662 |
%{_libdir}/pkgconfig/tcti-socket.pc
|
|
Javier Martinez Canillas |
9eff27 |
%{_mandir}/man3/Init*Tcti.3.gz
|
|
Javier Martinez Canillas |
9eff27 |
%{_mandir}/man7/tcti-*.7.gz
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
%post -p /sbin/ldconfig
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
%postun -p /sbin/ldconfig
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
%changelog
|
|
Javier Martinez Canillas |
0c0c82 |
* Wed Feb 21 2018 Javier Martinez Canillas <javierm@redhat.com> - 1.3.0-3
|
|
Javier Martinez Canillas |
f61696 |
- Remove ExclusiveArch: %%{ix86} x86_64 directive
|
|
Javier Martinez Canillas |
0c0c82 |
|
|
Igor Gnatenko |
f770b5 |
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.0-2
|
|
Igor Gnatenko |
f770b5 |
- Escape macros in %%changelog
|
|
Igor Gnatenko |
f770b5 |
|
|
Javier Martinez Canillas |
4eb5a0 |
* Fri Dec 08 2017 Javier Martinez Canillas <javierm@redhat.com> - 1.3.0-1
|
|
Javier Martinez Canillas |
4eb5a0 |
- Update to 1.3.0 release
|
|
Javier Martinez Canillas |
4eb5a0 |
|
|
Javier Martinez Canillas |
f27ddf |
* Wed Nov 29 2017 Javier Martinez Canillas <javierm@redhat.com> - 1.3.0-0.1.rc2
|
|
Javier Martinez Canillas |
f27ddf |
- Update to 1.3.0 release candidate 2 (RHBZ#1508870)
|
|
Javier Martinez Canillas |
f27ddf |
- Remove global pkg_prefix since now the upstream repo and package names match
|
|
Javier Martinez Canillas |
f27ddf |
- Update URLs to point to the new project location
|
|
Javier Martinez Canillas |
f27ddf |
- Remove -Wno-int-in-bool-context compiler flag since now upstream takes care
|
|
Igor Gnatenko |
f770b5 |
- Remove %%doc directive since README.md and CHANGELOG.md are not in the tarball
|
|
Javier Martinez Canillas |
f27ddf |
- Add patch to include a LICENSE since the generated tarball does not have it
|
|
Javier Martinez Canillas |
f27ddf |
|
|
Javier Martinez Canillas |
9eff27 |
* Mon Aug 28 2017 Javier Martinez Canillas <javierm@redhat.com> - 1.2.0-1
|
|
Javier Martinez Canillas |
9eff27 |
- Update to 1.2.0 release
|
|
Javier Martinez Canillas |
9eff27 |
- Use tpm2-tss instead of TPM2.0-TSS as prefix since project name changed
|
|
Javier Martinez Canillas |
9eff27 |
- Fix SPEC file access mode
|
|
Igor Gnatenko |
f770b5 |
- Include new man pages in %%files directive
|
|
Javier Martinez Canillas |
9eff27 |
|
|
Javier Martinez Canillas |
763ff1 |
* Fri Aug 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 1.1.0-3
|
|
Javier Martinez Canillas |
763ff1 |
- Remove unneeded source tarballs (RHBZ#1482828)
|
|
Javier Martinez Canillas |
763ff1 |
|
|
Fedora Release Engineering |
fe63e0 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
Fedora Release Engineering |
fe63e0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
Fedora Release Engineering |
fe63e0 |
|
|
Yunying Sun |
e60c57 |
* Wed Jul 26 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-1
|
|
Yunying Sun |
e60c57 |
- Update to 1.1.0 release
|
|
Yunying Sun |
e60c57 |
|
|
Fedora Release Engineering |
ba9e00 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-3
|
|
Fedora Release Engineering |
ba9e00 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
Fedora Release Engineering |
ba9e00 |
|
|
Yunying Sun |
c51662 |
* Mon Dec 12 2016 Sun Yunying <yunying.sun@intel.com> - 1.0-2
|
|
Yunying Sun |
c51662 |
- Remove global macro pkg_version to avoid duplicate of version
|
|
Yunying Sun |
c51662 |
- Use ExclusiveArch instead of ExcludeArch
|
|
Igor Gnatenko |
f770b5 |
- Use less wildcard in %%files section to be more specific
|
|
Igor Gnatenko |
f770b5 |
- Add trailing slash at end of added directory in %%file section
|
|
Yunying Sun |
c51662 |
- Remove autoconf/automake/pkgconfig(cmocka) from BuildRequires
|
|
Yunying Sun |
c51662 |
- Increase release version to 2
|
|
Yunying Sun |
c51662 |
|
|
Yunying Sun |
c51662 |
* Fri Dec 2 2016 Sun Yunying <yunying.sun@intel.com> - 1.0-1
|
|
Yunying Sun |
c51662 |
- Initial version of the package
|