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