Blame tpm2-tools.spec

Yunying Sun 122395
Name: tpm2-tools
Yunying Sun 5316d6
Version: 2.1.0 
Yunying Sun 5316d6
Release: 1%{?dist}
Yunying Sun 122395
Summary: A TPM2.0 testing tool build upon TPM2.0-TSS
Yunying Sun 122395
Yunying Sun 122395
%global pkg_prefix tpm2.0-tools
Yunying Sun 122395
Yunying Sun 122395
License: BSD
Yunying Sun 122395
URL:     https://github.com/01org/tpm2.0-tools
Yunying Sun 5316d6
Source0: https://github.com/01org/tpm2.0-tools/archive/%{version}.tar.gz#/%{pkg_prefix}-%{version}.tar.gz
Yunying Sun 122395
Yunying Sun 122395
BuildRequires: gcc-c++
Yunying Sun 122395
BuildRequires: libtool
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)
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
Yunying Sun 5316d6
Requires: tpm2-tss%{?_isa} >= 1.1.0-1%{?dist} 
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
Yunying Sun 122395
%autosetup -n %{pkg_prefix}-%{version}
Yunying Sun 122395
./bootstrap
Yunying Sun 122395
Yunying Sun 122395
%build
Yunying Sun 122395
%configure --prefix=/usr --disable-static --disable-silent-rules
Yunying Sun 7af011
%make_build -Wimplicit-fallthrough=0
Yunying Sun 122395
Yunying Sun 122395
%install
Yunying Sun 122395
%make_install
Yunying Sun 122395
Yunying Sun 122395
%files
Yunying Sun 122395
%doc README.md CHANGELOG 
Yunying Sun 122395
%license LICENSE
Yunying Sun 122395
%{_sbindir}/tpm2_*
Yunying Sun 5316d6
%{_mandir}/man8/tpm2_*.8.gz
Yunying Sun 122395
Yunying Sun 122395
%changelog
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