File eltt2.spec of Package eltt2
#
# spec file for package eltt2
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: eltt2
Version: 1.1~git20200616.5efe7e4
Release: 0
Summary: Infineon Embedded Linux TPM Toolbox 2 for TPM 2.0
License: BSD-3-Clause
Url: https://github.com/Infineon/eltt2
Source0: eltt2-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: make
%description
Embedded Linux TPM Toolbox 2 (ELTT2) is a single-file executable program
intended for testing, performing diagnosis and basic state changes of
the Infineon Technologies TPM 2.0.
%prep
%setup -q -n eltt2
%build
make
%install
mkdir -p %{buildroot}%{_bindir}
cp eltt2 %{buildroot}%{_bindir}
%files
%{_bindir}/eltt2
%changelog