tboot/tboot.spec
2020-06-20 18:16:42 +08:00

51 lines
1.2 KiB
RPMSpec

Name: tboot
Summary: A module to perform a measured and verified launch
Version: 1.9.7
Release: 3
Epoch: 1
License: BSD
URL: http://sourceforge.net/projects/tboot/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0000: disable-address-of-packed-member-warning.patch
BuildRequires: gcc trousers-devel openssl-devel
ExclusiveArch: %{ix86} x86_64
%description
Trusted Boot (tboot) is an open source, pre-kernel/VMM module that uses
Intel(R) Trusted Execution Technology (Intel(R) TXT) to perform a measured
and verified launch of an OS kernel/VMM
%package_help
%prep
%autosetup -p1
%build
CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
%make_build debug=y
%install
%make_install debug=y
%files
%doc COPYING
%config %{_sysconfdir}/grub.d/20_linux_tboot
%config %{_sysconfdir}/grub.d/20_linux_xen_tboot
%{_sbindir}/*
/boot/%{name}.gz
/boot/%{name}-syms
%files help
%doc README docs/* lcptools/lcptools2.txt lcptools/Linux_LCP_Tools_User_Manual.pdf
%{_mandir}/man8/*.gz
%changelog
* Sat Jun 20 2020 yaokai13<yaokai13@huawei.com> - 1:1.9.7-3
- Fix the build error
* Fri Dec 6 2019 caomeng<caomeng5@huawei.com> - 1:1.9.7-2
- Package init