spec.in 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. Summary: Embedded SSL Library
  2. Name: @PACKAGE@
  3. Version: @VERSION@
  4. Release: 1
  5. License: GPLv2
  6. Group: System Environment/Libraries
  7. BuildRequires: gcc
  8. BuildRequires: glibc
  9. BuildRequires: glibc-common
  10. BuildRequires: glibc-devel
  11. BuildRequires: glibc-headers
  12. BuildRequires: make
  13. BuildRequires: pkgconfig
  14. BuildRequires: sed
  15. BuildRequires: tar
  16. URL: http://www.wolfssl.com/
  17. Packager: wolfSSL <support@wolfssl.com>
  18. Source: http://wolfssl.com/%{name}-%{version}.tar.gz
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  20. %description
  21. Misc tools for wolfSSL.
  22. %package devel
  23. Summary: Header files and development libraries for %{name}
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. %description devel
  27. This package contains the header files and development libraries
  28. for %{name}. If you like to develop programs using %{name},
  29. you will need to install %{name}-devel.
  30. %prep
  31. %setup -q
  32. %build
  33. %configure @WOLFSSL_CONFIG_ARGS@
  34. %{__make} %{?_smp_mflags}
  35. if [ "@ENABLED_FIPS@" = "yes" ]
  36. then
  37. echo Updating wolfSSL FIPS hash
  38. ./fips-hash.sh
  39. %{__make} %{?_smp_mflags}
  40. fi
  41. %install
  42. %{__rm} -rf %{buildroot}
  43. %{__make} install DESTDIR="%{buildroot}" AM_INSTALL_PROGRAM_FLAGS=""
  44. %{__rm} -f %{buildroot}/%{_libdir}/libwolfssl@LIBSUFFIX@.la
  45. %{__rm} -f %{buildroot}/%{_libdir}/libwolfssl.a
  46. %check
  47. %clean
  48. %{__rm} -rf %{buildroot}
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %files
  52. %defattr(-,root,root,-)
  53. %doc AUTHORS ChangeLog.md COPYING README README.md
  54. %{_docdir}/wolfssl/taoCert.txt
  55. %{_docdir}/wolfssl/example/async_client.c
  56. %{_docdir}/wolfssl/example/async_server.c
  57. %{_docdir}/wolfssl/example/client.c
  58. %{_docdir}/wolfssl/example/server.c
  59. %{_docdir}/wolfssl/example/echoclient.c
  60. %{_docdir}/wolfssl/example/echoserver.c
  61. %{_docdir}/wolfssl/example/sctp-client.c
  62. %{_docdir}/wolfssl/example/sctp-server.c
  63. %{_docdir}/wolfssl/example/sctp-client-dtls.c
  64. %{_docdir}/wolfssl/example/sctp-server-dtls.c
  65. %{_docdir}/wolfssl/example/tls_bench.c
  66. %{_docdir}/wolfssl/README.txt
  67. %{_docdir}/wolfssl/QUIC.md
  68. %{_libdir}/libwolfssl@LIBSUFFIX@.so.*
  69. %files devel
  70. %defattr(-,root,root,-)
  71. %doc AUTHORS ChangeLog.md COPYING README README.md
  72. %{_bindir}/wolfssl-config
  73. %{_includedir}/wolfssl/*.h
  74. %{_includedir}/wolfssl/wolfcrypt/*.h
  75. %{_includedir}/wolfssl/openssl/*.h
  76. %{_libdir}/pkgconfig/wolfssl.pc
  77. %{_libdir}/libwolfssl@LIBSUFFIX@.so
  78. %changelog
  79. * Mon Oct 17 2022 Juliusz Sosinowicz <juliusz@wolfssl.com>
  80. - Updates for building FIPS packages and general maintenance
  81. * Tue Sep 27 2022 Jacob Barthelmeh <jacob@wolfssl.com>
  82. - Add include of kyber headers
  83. * Tue Aug 30 2022 Jacob Barthelmeh <jacob@wolfssl.com>
  84. - Add include of QUIC documentation
  85. * Wed Aug 17 2022 Anthony Hu <anthony@wolfssl.com>
  86. - Add a new header sphincs.h.
  87. * Wed Jul 20 2022 Anthony Hu <anthony@wolfssl.com>
  88. - Add a new header dilithium.h.
  89. * Fri Jul 8 2022 Jacob Barthelmeh <jacob@wolfssl.com>
  90. - Add missing sp_int.h file
  91. * Mon May 2 2022 Jacob Barthelmeh <jacob@wolfssl.com>
  92. - Add missing kdf.h file
  93. * Wed Feb 16 2022 John Safranek <john@wolfssl.com>
  94. - Update for new release.
  95. * Mon Dec 27 2021 Jacob Barthelmeh <jacob@wolfssl.com>
  96. - Add a missing headers camellia.h, modes.h from compat layer.
  97. - Add a missing header falcon.h.
  98. * Mon Nov 01 2021 Jacob Barthelmeh <jacob@wolfssl.com>
  99. - Add a missing headers cmac.h, compat_types.h from compat layer.
  100. * Thu Jul 08 2021 Jacob Barthelmeh <jacob@wolfssl.com>
  101. - Add a missing header eccsi, sakke.
  102. * Thu Mar 25 2021 John Safranek <john@wolfssl.com>
  103. - Add new header kdf.h
  104. * Mon Aug 17 2020 John Safranek <john@wolfssl.com>
  105. - Add a missing header.
  106. - Update for release.
  107. * Thu Apr 16 2020 John Safranek <john@wolfssl.com>
  108. - Add some missing headers.
  109. - Sort the file list.
  110. * Thu Dec 19 2019 Jacob Barthelmeh <jacob@wolfssl.com>
  111. - Add wolfssl/openssl/tls1.h, wolfssl/openssl/x509_vfy.h
  112. * Fri Mar 15 2019 John Safranek <john@wolfssl.com>
  113. - Updates for the v4 release.
  114. * Thu Dec 20 2018 Jacob Barthelmeh <jacob@wolfssl.com>
  115. - Remove wolfssl/wolfcrypt/fips.h, add wolfssl/openssl/pkcs7.h
  116. * Wed Jun 20 2018 Jacob Barthelmeh <jacob@wolfssl.com>
  117. - Remove NEWS, update ChangeLog to ChangeLog.md, remove wolfssl/wolfcrypt/fips.h, add wolfssl/wolfcrypt/cryptocb.h
  118. * Thu May 31 2018 John Safranek <john@wolfssl.com>
  119. - Update the version number on the library SO file.
  120. * Fri Mar 02 2018 Jacob Barthelmeh <jacob@wolfssl.com>
  121. - Added header files fips.h, buffer.h, objects.h, rc4.h and example tls_bench.c
  122. * Fri Sep 08 2017 Jacob Barthelmeh <jacob@wolfssl.com>
  123. - Change name for header wolfssl/io.h to wolfssl/wolfio.h
  124. * Fri Aug 04 2017 Jacob Barthelmeh <jacob@wolfssl.com>
  125. - Added header for wolfssl/wolfcrypt/cpuid.h, wolfssl/wolfcrypt/sha3.h
  126. * Thu May 04 2017 Jacob Barthelmeh <jacob@wolfssl.com>
  127. - Added header for wolfssl/io.h, wolfssl/openssl/ssl23.h, cyassl/openssl/ssl23.h
  128. * Thu Feb 09 2017 Jacob Barthelmeh <jacob@wolfssl.com>
  129. - Added header for wolfssl/wolfcrypt/wolfmath.h
  130. * Fri Nov 11 2016 Jacob Barthelmeh <jacob@wolfssl.com>
  131. - Added header for wolfssl/openssl/aes.h
  132. * Fri Oct 28 2016 Jacob Barthelmeh <jacob@wolfssl.com>
  133. - Added header for pkcs12
  134. * Fri Sep 23 2016 John Safranek <john@wolfssl.com>
  135. - Add the dtls-sctp example sources
  136. * Tue Jun 14 2016 Jacob Barthelmeh <jacob@wolfssl.com>
  137. - Change location for mem_track.h header
  138. - Added header for cmac.h
  139. * Thu Mar 17 2016 Jacob Barthelmeh <jacob@wolfssl.com>
  140. - Added header for mem_track.h
  141. * Wed Dec 30 2015 Jacob Barthelmeh <jacob@wolfssl.com>
  142. - Added headers for curve25519 and ed25519 openssl compatibility
  143. - Added headers for Idea, srp, signature, and wc_encrypt
  144. * Tue Mar 31 2015 John Safranek <john@wolfssl.com>
  145. - Added recent new wolfcrypt headers for curve25519
  146. * Fri Jan 09 2015 John Safranek <john@wolfssl.com>
  147. - Update for cyassl->wolfssl name change
  148. * Sat Oct 20 2012 Brian Aker <brian@tangent.org>
  149. - Initial package