tboot/tboot.spec
2022-07-12 15:49:26 +08:00

74 lines
1.7 KiB
RPMSpec

Name: tboot
Summary: A module to perform a measured and verified launch
Version: 1.10.2
Release: 3
Epoch: 1
License: BSD
URL: http://sourceforge.net/projects/tboot/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRequires: gcc trousers-devel openssl-devel perl
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 -Wl,-z,relro,-z,now -fPIE -pie"; 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 COPYING docs/*
%{_mandir}/man8/*.gz
%changelog
* Tue Jul 12 2022 Hugel <gengqihu1@h-partners.com> - 1:1.10.2-3
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:Add sec compile option
* Mon Jan 10 2022 Hugel<gengqihu1@huawei.com> - 1:1.10.2-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add perl to BuildRequires
* Fri Dec 10 2021 panxiaohe<panxiaohe@huawei.com> - 1:1.10.2-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 1.10.2
* Wed Sep 8 2021 wangchen<wangchen137@huawei.com> - 1:1.9.12-4
- add some compile options
* Tue Jul 28 2020 chxssg<chxssg@qq.com> - 1:1.9.12-1
- update to 1.9.12
* 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