tpm2-tools-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. #global candidate rc1
  2. Name: tpm2-tools
  3. Version: 5.7
  4. Release: 2%{?candidate:.%{candidate}}%{?_dist_release}
  5. Summary: A bunch of TPM testing toolS build upon tpm2-tss
  6. Group: system,security
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: BSD-3-Clause
  10. URL: https://github.com/tpm2-software/tpm2-tools
  11. Source0: https://github.com/tpm2-software/tpm2-tools/releases/download/%{version}%{?candidate:-%{candidate}}/%{name}-%{version}%{?candidate:-%{candidate}}.tar.gz
  12. BuildRequires: make
  13. BuildRequires: gcc-c++
  14. BuildRequires: libtool
  15. BuildRequires: autoconf-archive
  16. #BuildRequires: pandoc
  17. BuildRequires: pkgconfig(cmocka)
  18. BuildRequires: pkgconfig(libcurl)
  19. BuildRequires: pkgconfig(openssl)
  20. # tpm2-tss-devel provides tss2-mu/sys/esys package config
  21. BuildRequires: pkgconfig(tss2-mu)
  22. BuildRequires: pkgconfig(tss2-sys)
  23. BuildRequires: pkgconfig(tss2-esys)
  24. BuildRequires: pkgconfig(uuid)
  25. # tpm2-tools is heavily depending on TPM2.0-TSS project, matched tss is required
  26. Requires: tpm2-tss%{?_isa}
  27. %description
  28. tpm2-tools is a batch of tools for tpm2.0. It is based on tpm2-tss.
  29. %debug_package
  30. %prep
  31. %autosetup -p1 -n %{name}-%{version}%{?candidate:-%{candidate}}
  32. %build
  33. %configure --prefix=/usr --disable-static --disable-silent-rules
  34. %make_build
  35. %install
  36. %make_install
  37. %files
  38. %license docs/LICENSE
  39. %doc docs/README.md docs/CHANGELOG.md
  40. %{_bindir}/tpm2
  41. %{_bindir}/tpm2_*
  42. %{_bindir}/tss2
  43. %{_bindir}/tss2_*
  44. %{_datadir}/bash-completion/completions/tpm2*
  45. %{_datadir}/bash-completion/completions/tss2*
  46. %{_mandir}/man1/tpm2_*.1.gz
  47. %{_mandir}/man1/tpm2.1.gz
  48. %{_mandir}/man1/tss2_*.1.gz
  49. %changelog
  50. * Sat Jun 29 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.7-2
  51. - initial build for Vine Linux.
  52. * Sun Apr 28 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 5.7-1
  53. - Update to 5.7
  54. * Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.6-2
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
  56. * Sun Nov 12 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 5.6-1
  57. - Update to 5.6
  58. * Tue Sep 26 2023 Štěpán Horáček <shoracek@redhat.com> - 5.5-5
  59. - Migrate license to SPDX
  60. * Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.5-4
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
  62. * Mon Apr 17 2023 Anderson Toshiyuki Sasaki <ansasaki@redhat.com> - 5.5-3
  63. - Disable compiler optimization to fix LTO + FORTIFY_SOURCE=3 issue
  64. Resolves rhbz#2171376
  65. * Tue Feb 21 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 5.5-2
  66. - Disable manpage regeneration in RHEL/ELN builds
  67. * Thu Feb 16 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 5.5-1
  68. - Update to 5.5
  69. * Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.5-0.2.rc1
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
  71. * Mon Dec 19 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 5.5-0.1.rc1
  72. - Update to 5.5-RC1
  73. - Enable LTO (RHBZ#1986628)
  74. * Thu Dec 08 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 5.4-1
  75. - Update to 5.4
  76. * Wed Sep 28 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 5.3-1
  77. - Update to 5.3
  78. * Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-3
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
  80. * Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-2
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
  82. * Sat Oct 02 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 5.2-1
  83. - Update to 5.2
  84. * Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 5.1.1-3
  85. - Rebuilt with OpenSSL 3.0.0
  86. * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-2
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
  88. * Mon Jun 21 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 5.1.1-1
  89. - Update to 5.1.1
  90. - Fixes CVE-2021-3565 (rhbz 1964428)
  91. * Tue May 25 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 5.1-1
  92. - Update to 5.1
  93. * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-2
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
  95. * Mon Nov 23 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 5.0-1
  96. - Update tp tpm2-tools 5.0
  97. * Sat Aug 29 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.3.0-1
  98. - Update to 4.3.0
  99. * Mon Aug 10 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.2.1-4
  100. - Rebuild for tpm2-tss 3.0
  101. * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-3
  102. - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
  103. * Tue Jun 30 2020 Jeff Law <law@redhat.com> - 4.2.1-2
  104. - Disable LTO due to latent uninitialized variable exposed by LTO
  105. * Wed May 27 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.2.1-1
  106. - Update to 4.2.1
  107. * Tue Apr 14 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.2-1
  108. - Update to 4.2
  109. * Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-2
  110. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  111. * Thu Nov 28 2019 Yunying Sun <yunying.sun@intel.com> - 4.1-1
  112. - Update to 4.1 release
  113. * Tue Oct 29 2019 Yunying Sun <yunying.sun@intel.com> - 4.0.1-1
  114. - Update to 4.0.1 release
  115. * Tue Sep 10 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.0-1
  116. - Update to 4.0
  117. * Fri Sep 6 2019 Javier Martinez Canillas <javierm@redhat.com> 4.0-0.4-rc2
  118. - Use a release tarball instead of a source code tarball
  119. * Fri Sep 6 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.0-0.3-rc2
  120. - Update to 4.0 RC2
  121. * Tue Aug 27 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.0-0.2-rc1
  122. - Update to 4.0 RC1
  123. * Tue Aug 20 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.0-0.1-rc0
  124. - Update to 4.0 RC0
  125. * Thu Aug 1 2019 Peter Robinson <pbrobinson@fedoraproject.org> 3.2.0-3
  126. - Fix for crash for max PCRs available
  127. * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
  128. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  129. * Fri Jun 21 2019 Yunying Sun <yunying.sun@intel.com> - 3.2.0-1
  130. - Update to 3.2.0 release
  131. - Removed patches since all have been included in 3.2.0 release
  132. * Fri May 10 2019 Javier Martinez Canillas <javierm@redhat.com> - 3.1.4-2
  133. - Allow tpm2_makecredential to run without a TPM (jetwhiz)
  134. - Add tpm2_pcrreset and tpm2_checkquote tools (jetwhiz)
  135. * Fri Mar 15 2019 Yunying Sun <yunying.sun@intel.com> - 3.1.4-1
  136. - Update to 3.1.4 release
  137. - Removed the 4 patches since all have been included in 3.1.4 release
  138. * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.3-4
  139. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  140. * Mon Jan 7 2019 Javier Martinez Canillas <javierm@redhat.com> - 3.1.3-3
  141. - Fix broken -T option when passing additional arguments
  142. * Mon Jan 7 2019 Javier Martinez Canillas <javierm@redhat.com> - 3.1.3-2
  143. - Fix broken -T option and a couple of minor fixes
  144. - Add pandoc BuildRequires
  145. * Wed Nov 7 2018 Yunying Sun <yunying.sun@intel.com> - 3.1.3-1
  146. - Update to 3.1.3 release
  147. * Wed Sep 12 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.1.2-1
  148. - Update to 3.1.2 release
  149. - Restore TCTI configuration environment for tools
  150. - Restore tpm2_getcap tool properties output
  151. Resolves: rhbz#1625647
  152. * Sat Jul 14 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.1.1-3
  153. - Revert backward incompatible change that removes default object attributes
  154. * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-2
  155. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  156. * Thu Jul 12 2018 Yunying Sun <yunying.sun@intel.com> - 3.1.1-1
  157. - Update to 3.1.1 release
  158. * Thu Jul 5 2018 Yunying Sun <yunying.sun@intel.com> - 3.1.0-1
  159. - Update Requires version of tpm2-tss to 2.0.0
  160. - Remove BuildRequires for tcti-abrmd since it is optional
  161. - Remove BuildRequires for tcti-{device,mssim} as it is now dynamically loaded
  162. - Update to 3.1.0 release
  163. * Mon Apr 30 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.4-1
  164. - Update URLs to point to the new project location
  165. - Update to 3.0.4 release
  166. * Wed Feb 21 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.3-3
  167. - Remove ExclusiveArch: x86_64 directive
  168. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2
  169. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  170. * Tue Jan 16 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.3-1
  171. - Update to 3.0.3 release
  172. * Mon Dec 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0.2-1
  173. - Update to 3.0.2 release
  174. * Tue Dec 12 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0.1-1
  175. - Update to 3.0.1 release (RHBZ#1512743)
  176. - Download the generated tarball provided instead of the source code tarball
  177. * Fri Dec 08 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0-1
  178. - Update to 3.0 release
  179. * Wed Nov 29 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0-0.1.rc1
  180. - Update to 3.0 release candidate 1
  181. - Update URLs to point to the new project location
  182. - Make the package to obsolete version 2.1.1
  183. * Wed Nov 01 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.1-1
  184. - Rename remaining tpm2.0-tools prefixes to tpm2-tools
  185. - Remove global pkg_prefix since now the upstream repo and package names match
  186. - Remove downstream patches since now these are in the latest upstream release
  187. - Update to 2.1.1 release (RHBZ#1504438)
  188. * Thu Oct 19 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 2.1.0-7
  189. - Clean up potential memleak (RHBZ#1503959)
  190. * Thu Oct 05 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.0-6
  191. - Add tpm2-abrmd-devel BuildRequires so tools have abrmd support (RHBZ#1498909)
  192. * Fri Aug 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.0-5
  193. - Remove unneeded source tarballs (RHBZ#1482830)
  194. * Tue Aug 15 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-4
  195. - Add patch to fix build error when openssl-devel is installed(RHBZ#1481236)
  196. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
  197. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  198. * Mon Jul 31 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-2
  199. - Add patch to fix gcc7 complaining about implicit-fallthrough cases
  200. * Fri Jul 28 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-1
  201. - Update to latest upstream release 2.1.0
  202. * Fri Jul 28 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-9
  203. - Update Requires dependency so that tpm2-tss update won't break tpm2-tools
  204. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
  205. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  206. * Wed May 10 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-7
  207. - Only update release version to make fedpkg build works for f26
  208. * Wed Mar 1 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-6
  209. - Update tpm2-tss version to 1.0-3 to fix broken dependency on f26
  210. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
  211. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  212. * Fri Jan 20 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-4
  213. - Dependency check failed for Requires again, here to fix this
  214. - Update release version and changelog
  215. * Thu Jan 19 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-3
  216. - Change spec file permission to 644 to avoid rpmlint complain
  217. - Update Requires to fix dependency check error reported in Bodhi
  218. - Remove tpm2-tss-devel version in BuildRequires comment
  219. - Update release version and changelog
  220. * Wed Dec 21 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-2
  221. - Remove pkg_version to avoid dupliate use of version
  222. - Remove redundant BuildRequires for autoconf/automake/pkgconfig
  223. - Add comments for BuildRequires of sapi/tcti-device/tcti-socket
  224. - Use ExclusiveArch instead of ExcludeArch
  225. - Requires tpm2-tss version updated to 1.0-2
  226. - Updated release version and changelog
  227. * Fri Dec 2 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-1
  228. - Initial version of the package