Blame SPECS/tpm2-tools.spec

22cd47
Name: tpm2-tools
22cd47
Version: 3.1.1
22cd47
Release: 4%{?dist}
22cd47
Summary: A TPM2.0 testing tool build upon TPM2.0-TSS
22cd47
22cd47
License: BSD
22cd47
URL:     https://github.com/tpm2-software/tpm2-tools
22cd47
Source0: https://github.com/tpm2-software/tpm2-tools/releases/download/%{version}/%{name}-%{version}.tar.gz
22cd47
22cd47
Patch0: Revert-objectattrs-clear-before-or-ing-in-values.patch
22cd47
Patch1: lib-tpm2_options-restore-TCTI-configuration-environm.patch
22cd47
Patch2: tpm2_getcap-restore-tool-output-to-print-properties-.patch
22cd47
22cd47
BuildRequires: gcc-c++
22cd47
BuildRequires: libtool
22cd47
BuildRequires: autoconf-archive
22cd47
BuildRequires: pkgconfig(cmocka)
22cd47
BuildRequires: pkgconfig(libcurl)
22cd47
BuildRequires: pkgconfig(openssl)
22cd47
# tpm2-tss-devel provides tss2-mu/sys/esys package config
22cd47
BuildRequires: pkgconfig(tss2-mu)
22cd47
BuildRequires: pkgconfig(tss2-sys)
22cd47
BuildRequires: pkgconfig(tss2-esys)
22cd47
22cd47
# tpm2-tools is heavily depending on TPM2.0-TSS project, matched tss is required
22cd47
Requires: tpm2-tss%{?_isa} >= 2.0.0-2%{?dist}
22cd47
22cd47
# tpm2-tools project changed the install path for binaries and man page section
22cd47
Obsoletes: tpm2-tools <= 2.1.1-2
22cd47
22cd47
%description
22cd47
tpm2-tools is a batch of testing tools for tpm2.0. It is based on tpm2-tss.
22cd47
22cd47
%prep
22cd47
%autosetup -p1 -n %{name}-%{version}
22cd47
22cd47
%build
22cd47
%configure --prefix=/usr --disable-static --disable-silent-rules
22cd47
%make_build
22cd47
22cd47
%install
22cd47
%make_install
22cd47
22cd47
%files
22cd47
%doc README.md CHANGELOG.md
22cd47
%license LICENSE
22cd47
%{_bindir}/tpm2_*
22cd47
%{_mandir}/man1/tpm2_*.1.gz
22cd47
22cd47
%changelog
22cd47
* Thu Nov 08 2018 Jerry Snitselaar <jsnitsel@redhat.com> - 3.1.1-4
22cd47
- lib/tpm2_options: restore TCTI configuration environment variables
22cd47
- tpm2_getcap: restore tool output to print properties with TPM_PT prefix
22cd47
resolves: rhbz#1648001
22cd47
22cd47
* Sat Jul 14 2018 Javier Martinez Canillas <javierm@redhat.com> - - 3.1.1-3
22cd47
- Revert backward incompatible change that removes default object attributes
22cd47
22cd47
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-2
22cd47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
22cd47
22cd47
* Thu Jul 12 2018 Yunying Sun <yunying.sun@intel.com> - 3.1.1-1
22cd47
- Update to 3.1.1 release
22cd47
22cd47
* Thu Jul 5 2018 Yunying Sun <yunying.sun@intel.com> - 3.1.0-1
22cd47
- Update Requires version of tpm2-tss to 2.0.0
22cd47
- Remove BuildRequires for tcti-abrmd since it is optional
22cd47
- Remove BuildRequires for tcti-{device,mssim} as it is now dynamically loaded
22cd47
- Update to 3.1.0 release
22cd47
22cd47
* Mon Apr 30 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.4-1
22cd47
- Update URLs to point to the new project location
22cd47
- Update to 3.0.4 release
22cd47
22cd47
* Wed Feb 21 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.3-3
22cd47
- Remove ExclusiveArch: x86_64 directive
22cd47
22cd47
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2
22cd47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
22cd47
22cd47
* Tue Jan 16 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.3-1
22cd47
- Update to 3.0.3 release
22cd47
22cd47
* Mon Dec 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0.2-1
22cd47
- Update to 3.0.2 release
22cd47
22cd47
* Tue Dec 12 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0.1-1
22cd47
- Update to 3.0.1 release (RHBZ#1512743)
22cd47
- Download the generated tarball provided instead of the source code tarball
22cd47
22cd47
* Fri Dec 08 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0-1
22cd47
- Update to 3.0 release
22cd47
22cd47
* Wed Nov 29 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0-0.1.rc1
22cd47
- Update to 3.0 release candidate 1
22cd47
- Update URLs to point to the new project location
22cd47
- Make the package to obsolete version 2.1.1
22cd47
22cd47
* Wed Nov 01 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.1-1
22cd47
- Rename remaining tpm2.0-tools prefixes to tpm2-tools
22cd47
- Remove global pkg_prefix since now the upstream repo and package names match
22cd47
- Remove downstream patches since now these are in the latest upstream release
22cd47
- Update to 2.1.1 release (RHBZ#1504438)
22cd47
22cd47
* Thu Oct 19 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 2.1.0-7
22cd47
- Clean up potential memleak (RHBZ#1503959)
22cd47
22cd47
* Thu Oct 05 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.0-6
22cd47
- Add tpm2-abrmd-devel BuildRequires so tools have abrmd support (RHBZ#1498909)
22cd47
22cd47
* Fri Aug 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.0-5
22cd47
- Remove unneeded source tarballs (RHBZ#1482830)
22cd47
22cd47
* Tue Aug 15 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-4
22cd47
- Add patch to fix build error when openssl-devel is installed(RHBZ#1481236)
22cd47
22cd47
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
22cd47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
22cd47
22cd47
* Mon Jul 31 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-2
22cd47
- Add patch to fix gcc7 complaining about implicit-fallthrough cases
22cd47
22cd47
* Fri Jul 28 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-1
22cd47
- Update to latest upstream release 2.1.0
22cd47
22cd47
* Fri Jul 28 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-9
22cd47
- Update Requires dependency so that tpm2-tss update won't break tpm2-tools
22cd47
22cd47
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
22cd47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
22cd47
22cd47
* Wed May 10 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-7
22cd47
- Only update release version to make fedpkg build works for f26
22cd47
22cd47
* Wed Mar 1 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-6
22cd47
- Update tpm2-tss version to 1.0-3 to fix broken dependency on f26
22cd47
22cd47
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
22cd47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
22cd47
22cd47
* Fri Jan 20 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-4
22cd47
- Dependency check failed for Requires again, here to fix this
22cd47
- Update release version and changelog
22cd47
22cd47
* Thu Jan 19 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-3
22cd47
- Change spec file permission to 644 to avoid rpmlint complain
22cd47
- Update Requires to fix dependency check error reported in Bodhi
22cd47
- Remove tpm2-tss-devel version in BuildRequires comment
22cd47
- Update release version and changelog
22cd47
22cd47
* Wed Dec 21 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-2
22cd47
- Remove pkg_version to avoid dupliate use of version
22cd47
- Remove redundant BuildRequires for autoconf/automake/pkgconfig
22cd47
- Add comments for BuildRequires of sapi/tcti-device/tcti-socket
22cd47
- Use ExclusiveArch instead of ExcludeArch
22cd47
- Requires tpm2-tss version updated to 1.0-2
22cd47
- Updated release version and changelog
22cd47
22cd47
* Fri Dec 2 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-1
22cd47
- Initial version of the package