2017-01-19 02:14:07 +00:00
|
|
|
Name: tpm2-tools
|
2017-11-01 21:40:42 +00:00
|
|
|
Version: 2.1.1
|
|
|
|
Release: 1%{?dist}
|
2017-01-19 02:14:07 +00:00
|
|
|
Summary: A TPM2.0 testing tool build upon TPM2.0-TSS
|
|
|
|
|
|
|
|
License: BSD
|
2017-11-01 21:40:42 +00:00
|
|
|
URL: https://github.com/01org/tpm2-tools
|
|
|
|
Source0: https://github.com/01org/tpm2-tools/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2017-07-31 07:36:29 +00:00
|
|
|
|
2017-01-19 02:14:07 +00:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: autoconf-archive
|
|
|
|
BuildRequires: pkgconfig(cmocka)
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
2017-01-19 07:47:37 +00:00
|
|
|
# tpm2-tss-devel provides sapi/tcti-device/tcti-socket
|
2017-01-19 02:14:07 +00:00
|
|
|
BuildRequires: pkgconfig(sapi)
|
|
|
|
BuildRequires: pkgconfig(tcti-device)
|
|
|
|
BuildRequires: pkgconfig(tcti-socket)
|
2017-10-05 13:36:41 +00:00
|
|
|
BuildRequires: pkgconfig(tcti-tabrmd)
|
2017-01-19 02:14:07 +00:00
|
|
|
|
|
|
|
# this package does not support big endian arch so far,
|
|
|
|
# and has been verified only on Intel platforms.
|
|
|
|
ExclusiveArch: %{ix86} x86_64
|
|
|
|
|
|
|
|
# tpm2-tools is heavily depending on TPM2.0-TSS project, matched tss is required
|
2017-07-28 03:02:11 +00:00
|
|
|
Requires: tpm2-tss%{?_isa} >= 1.1.0-1%{?dist}
|
2017-01-19 02:14:07 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
tpm2-tools is a batch of testing tools for tpm2.0. It is based on tpm2-tss.
|
|
|
|
|
|
|
|
%prep
|
2017-11-01 21:40:42 +00:00
|
|
|
%autosetup -p1 -n %{name}-%{version}
|
2017-01-19 02:14:07 +00:00
|
|
|
./bootstrap
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --prefix=/usr --disable-static --disable-silent-rules
|
2017-07-28 08:46:17 +00:00
|
|
|
%make_build
|
2017-01-19 02:14:07 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README.md CHANGELOG
|
|
|
|
%license LICENSE
|
|
|
|
%{_sbindir}/tpm2_*
|
2017-07-28 03:02:11 +00:00
|
|
|
%{_mandir}/man8/tpm2_*.8.gz
|
2017-01-19 02:14:07 +00:00
|
|
|
|
|
|
|
%changelog
|
2017-11-01 21:40:42 +00:00
|
|
|
* Wed Nov 01 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.1-1
|
|
|
|
- Rename remaining tpm2.0-tools prefixes to tpm2-tools
|
|
|
|
- Remove global pkg_prefix since now the upstream repo and package names match
|
|
|
|
- Remove downstream patches since now these are in the latest upstream release
|
|
|
|
- Update to 2.1.1 release (RHBZ#1504438)
|
|
|
|
|
2017-10-19 07:34:52 +00:00
|
|
|
* Thu Oct 19 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 2.1.0-7
|
|
|
|
- Clean up potential memleak (RHBZ#1503959)
|
|
|
|
|
2017-10-05 13:36:41 +00:00
|
|
|
* Thu Oct 05 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.0-6
|
|
|
|
- Add tpm2-abrmd-devel BuildRequires so tools have abrmd support (RHBZ#1498909)
|
|
|
|
|
2017-08-18 07:46:51 +00:00
|
|
|
* Fri Aug 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.0-5
|
|
|
|
- Remove unneeded source tarballs (RHBZ#1482830)
|
|
|
|
|
2017-08-15 07:00:16 +00:00
|
|
|
* Tue Aug 15 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-4
|
|
|
|
- Add patch to fix build error when openssl-devel is installed(RHBZ#1481236)
|
|
|
|
|
2017-08-03 09:33:48 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-31 07:36:29 +00:00
|
|
|
* Mon Jul 31 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-2
|
|
|
|
- Add patch to fix gcc7 complaining about implicit-fallthrough cases
|
|
|
|
|
2017-07-28 03:02:11 +00:00
|
|
|
* Fri Jul 28 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-1
|
|
|
|
- Update to latest upstream release 2.1.0
|
|
|
|
|
2017-07-28 02:43:53 +00:00
|
|
|
* Fri Jul 28 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-9
|
|
|
|
- Update Requires dependency so that tpm2-tss update won't break tpm2-tools
|
|
|
|
|
2017-07-27 20:29:24 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-05-10 06:27:53 +00:00
|
|
|
* Wed May 10 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-7
|
|
|
|
- Only update release version to make fedpkg build works for f26
|
|
|
|
|
2017-03-01 08:20:57 +00:00
|
|
|
* Wed Mar 1 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-6
|
|
|
|
- Update tpm2-tss version to 1.0-3 to fix broken dependency on f26
|
|
|
|
|
2017-02-11 16:11:31 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-20 06:13:23 +00:00
|
|
|
* Fri Jan 20 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-4
|
|
|
|
- Dependency check failed for Requires again, here to fix this
|
|
|
|
- Update release version and changelog
|
|
|
|
|
2017-01-19 07:47:37 +00:00
|
|
|
* Thu Jan 19 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-3
|
|
|
|
- Change spec file permission to 644 to avoid rpmlint complain
|
|
|
|
- Update Requires to fix dependency check error reported in Bodhi
|
|
|
|
- Remove tpm2-tss-devel version in BuildRequires comment
|
|
|
|
- Update release version and changelog
|
|
|
|
|
2017-01-19 02:14:07 +00:00
|
|
|
* Wed Dec 21 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-2
|
|
|
|
- Remove pkg_version to avoid dupliate use of version
|
|
|
|
- Remove redundant BuildRequires for autoconf/automake/pkgconfig
|
|
|
|
- Add comments for BuildRequires of sapi/tcti-device/tcti-socket
|
|
|
|
- Use ExclusiveArch instead of ExcludeArch
|
|
|
|
- Requires tpm2-tss version updated to 1.0-2
|
|
|
|
- Updated release version and changelog
|
|
|
|
|
|
|
|
* Fri Dec 2 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-1
|
|
|
|
- Initial version of the package
|