Blame tpm2-tools.spec

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