1223953
Name: tpm2-tools
b012a78
Version: 3.0.5
a3b2c1f
Release: 1%{?dist}
1223953
Summary: A TPM2.0 testing tool build upon TPM2.0-TSS
1223953
1223953
License: BSD
a3b2c1f
URL:     https://github.com/tpm2-software/tpm2-tools
a3b2c1f
Source0: https://github.com/tpm2-software/tpm2-tools/releases/download/%{version}/%{name}-%{version}.tar.gz
908b330
1223953
BuildRequires: gcc-c++
1223953
BuildRequires: libtool
b3574b6
BuildRequires: pandoc
1223953
BuildRequires: autoconf-archive
1223953
BuildRequires: pkgconfig(cmocka)
1223953
BuildRequires: pkgconfig(libcurl)
1223953
BuildRequires: pkgconfig(openssl)
ce2e194
# tpm2-tss-devel provides sapi/tcti-device/tcti-socket
1223953
BuildRequires: pkgconfig(sapi)
1223953
BuildRequires: pkgconfig(tcti-device)
1223953
BuildRequires: pkgconfig(tcti-socket)
16c073d
BuildRequires: pkgconfig(tcti-tabrmd)
1223953
1223953
# tpm2-tools is heavily depending on TPM2.0-TSS project, matched tss is required
d57864f
Requires: tpm2-tss%{?_isa} >= 1.3.0-1%{?dist}
b3574b6
b3574b6
# tpm2-tools project changed the install path for binaries and man page section
b3574b6
Obsoletes: tpm2-tools <= 2.1.1-2
1223953
1223953
%description
1223953
tpm2-tools is a batch of testing tools for tpm2.0. It is based on tpm2-tss.
1223953
1223953
%prep
d57864f
%autosetup -p1 -n %{name}-%{version}
1223953
1223953
%build
1223953
%configure --prefix=/usr --disable-static --disable-silent-rules
f4ab801
%make_build
1223953
1223953
%install
1223953
%make_install
1223953
1223953
%files
b3574b6
%doc README.md CHANGELOG.md
1223953
%license LICENSE
b3574b6
%{_bindir}/tpm2_*
b3574b6
%{_mandir}/man1/tpm2_*.1.gz
1223953
1223953
%changelog
b012a78
* Mon Aug 13 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.5-1
b012a78
- Update to 3.0.5 release
b012a78
a3b2c1f
* Mon Apr 30 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.4-1
a3b2c1f
- Update URLs to point to the new project location
a3b2c1f
- Update to 3.0.4 release
a3b2c1f
ed6f21a
* Wed Feb 21 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.3-3
ed6f21a
- Remove ExclusiveArch: x86_64 directive
ed6f21a
c22b931
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2
c22b931
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c22b931
31faa1c
* Tue Jan 16 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.3-1
31faa1c
- Update to 3.0.3 release
31faa1c
7e83462
* Mon Dec 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0.2-1
7e83462
- Update to 3.0.2 release
7e83462
be9299b
* Tue Dec 12 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0.1-1
be9299b
- Update to 3.0.1 release (RHBZ#1512743)
be9299b
- Download the generated tarball provided instead of the source code tarball
be9299b
d57864f
* Fri Dec 08 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0-1
d57864f
- Update to 3.0 release
d57864f
b3574b6
* Wed Nov 29 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0-0.1.rc1
b3574b6
- Update to 3.0 release candidate 1
b3574b6
- Update URLs to point to the new project location
b3574b6
- Make the package to obsolete version 2.1.1
b3574b6
565cd7e
* Wed Nov 01 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.1-1
565cd7e
- Rename remaining tpm2.0-tools prefixes to tpm2-tools
565cd7e
- Remove global pkg_prefix since now the upstream repo and package names match
565cd7e
- Remove downstream patches since now these are in the latest upstream release
565cd7e
- Update to 2.1.1 release (RHBZ#1504438)
565cd7e
3d13526
* Thu Oct 19 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 2.1.0-7
3d13526
- Clean up potential memleak (RHBZ#1503959)
3d13526
16c073d
* Thu Oct 05 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.0-6
16c073d
- Add tpm2-abrmd-devel BuildRequires so tools have abrmd support (RHBZ#1498909)
16c073d
2cf8f7b
* Fri Aug 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.0-5
2cf8f7b
- Remove unneeded source tarballs (RHBZ#1482830)
2cf8f7b
835e95e
* Tue Aug 15 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-4
835e95e
- Add patch to fix build error when openssl-devel is installed(RHBZ#1481236)
835e95e
2b1bdf9
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
2b1bdf9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2b1bdf9
908b330
* Mon Jul 31 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-2
908b330
- Add patch to fix gcc7 complaining about implicit-fallthrough cases
908b330
5316d66
* Fri Jul 28 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-1
5316d66
- Update to latest upstream release 2.1.0
5316d66
b855021
* Fri Jul 28 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-9
b855021
- Update Requires dependency so that tpm2-tss update won't break tpm2-tools
b855021
c5c20ac
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
c5c20ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c5c20ac
e32e4e4
* Wed May 10 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-7
e32e4e4
- Only update release version to make fedpkg build works for f26
e32e4e4
cbe3cc3
* Wed Mar 1 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-6
cbe3cc3
- Update tpm2-tss version to 1.0-3 to fix broken dependency on f26
cbe3cc3
c20e98e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
c20e98e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c20e98e
f09093a
* Fri Jan 20 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-4
f09093a
- Dependency check failed for Requires again, here to fix this
f09093a
- Update release version and changelog
f09093a
ce2e194
* Thu Jan 19 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-3
ce2e194
- Change spec file permission to 644 to avoid rpmlint complain
ce2e194
- Update Requires to fix dependency check error reported in Bodhi
ce2e194
- Remove tpm2-tss-devel version in BuildRequires comment
ce2e194
- Update release version and changelog
ce2e194
1223953
* Wed Dec 21 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-2
1223953
- Remove pkg_version to avoid dupliate use of version
1223953
- Remove redundant BuildRequires for autoconf/automake/pkgconfig
1223953
- Add comments for BuildRequires of sapi/tcti-device/tcti-socket
1223953
- Use ExclusiveArch instead of ExcludeArch
1223953
- Requires tpm2-tss version updated to 1.0-2
1223953
- Updated release version and changelog
1223953
1223953
* Fri Dec 2 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-1
1223953
- Initial version of the package