Blame tpm2-tools.spec

Yunying Sun 122395
Name: tpm2-tools
Yunying Sun 122395
Version: 1.1.0 
Yunying Sun cbe3cc
Release: 6%{?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 122395
Source0: https://github.com/01org/tpm2.0-tools/archive/v%{version}.tar.gz#/%{pkg_prefix}-%{version}.tar.gz
Yunying Sun 122395
Yunying Sun 122395
BuildRequires: gcc
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 cbe3cc
Requires: tpm2-tss%{?_isa} = 1.0-3%{?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 122395
%make_build
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 122395
Yunying Sun 122395
%changelog
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