spec.in 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  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: Brian Aker <brian@tangent.org>
  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. %configure
  33. %build
  34. %{__make} %{?_smp_mflags}
  35. %install
  36. %{__rm} -rf %{buildroot}
  37. %{__make} install DESTDIR="%{buildroot}" AM_INSTALL_PROGRAM_FLAGS=""
  38. mkdir -p $RPM_BUILD_ROOT/
  39. %check
  40. %clean
  41. %{__rm} -rf %{buildroot}
  42. %post -p /sbin/ldconfig
  43. %postun -p /sbin/ldconfig
  44. %files
  45. %defattr(-,root,root,-)
  46. %doc AUTHORS ChangeLog COPYING NEWS README
  47. %{_docdir}/wolfssl/taoCert.txt
  48. %{_docdir}/wolfssl/example/echoserver.c
  49. %{_docdir}/wolfssl/example/server.c
  50. %{_docdir}/wolfssl/example/echoclient.c
  51. %{_docdir}/wolfssl/example/client.c
  52. %{_docdir}/wolfssl/example/sctp-client.c
  53. %{_docdir}/wolfssl/example/sctp-server.c
  54. %{_docdir}/wolfssl/example/sctp-client-dtls.c
  55. %{_docdir}/wolfssl/example/sctp-server-dtls.c
  56. %{_docdir}/wolfssl/example/tls_bench.c
  57. %{_docdir}/wolfssl/README.txt
  58. %{_libdir}/libwolfssl.la
  59. %{_libdir}/libwolfssl.so
  60. %{_libdir}/libwolfssl.so.16
  61. %{_libdir}/libwolfssl.so.16.0.0
  62. %files devel
  63. %defattr(-,root,root,-)
  64. %doc AUTHORS ChangeLog COPYING NEWS README
  65. %{_bindir}/wolfssl-config
  66. %{_includedir}/cyassl/callbacks.h
  67. %{_includedir}/cyassl/certs_test.h
  68. %{_includedir}/cyassl/crl.h
  69. %{_includedir}/cyassl/ctaocrypt/aes.h
  70. %{_includedir}/cyassl/ctaocrypt/arc4.h
  71. %{_includedir}/cyassl/ctaocrypt/asn.h
  72. %{_includedir}/cyassl/ctaocrypt/asn_public.h
  73. %{_includedir}/cyassl/ctaocrypt/blake2-impl.h
  74. %{_includedir}/cyassl/ctaocrypt/blake2-int.h
  75. %{_includedir}/cyassl/ctaocrypt/blake2.h
  76. %{_includedir}/cyassl/ctaocrypt/camellia.h
  77. %{_includedir}/cyassl/ctaocrypt/chacha.h
  78. %{_includedir}/cyassl/ctaocrypt/coding.h
  79. %{_includedir}/cyassl/ctaocrypt/compress.h
  80. %{_includedir}/cyassl/ctaocrypt/des3.h
  81. %{_includedir}/cyassl/ctaocrypt/dh.h
  82. %{_includedir}/cyassl/ctaocrypt/dsa.h
  83. %{_includedir}/cyassl/ctaocrypt/ecc.h
  84. %{_includedir}/cyassl/ctaocrypt/error-crypt.h
  85. %{_includedir}/cyassl/ctaocrypt/fips_test.h
  86. %{_includedir}/cyassl/ctaocrypt/hc128.h
  87. %{_includedir}/cyassl/ctaocrypt/hmac.h
  88. %{_includedir}/cyassl/ctaocrypt/integer.h
  89. %{_includedir}/cyassl/ctaocrypt/logging.h
  90. %{_includedir}/cyassl/ctaocrypt/md2.h
  91. %{_includedir}/cyassl/ctaocrypt/md4.h
  92. %{_includedir}/cyassl/ctaocrypt/md5.h
  93. %{_includedir}/cyassl/ctaocrypt/memory.h
  94. %{_includedir}/cyassl/ctaocrypt/misc.h
  95. %{_includedir}/cyassl/ctaocrypt/mpi_class.h
  96. %{_includedir}/cyassl/ctaocrypt/mpi_superclass.h
  97. %{_includedir}/cyassl/ctaocrypt/pkcs7.h
  98. %{_includedir}/cyassl/ctaocrypt/poly1305.h
  99. %{_includedir}/cyassl/ctaocrypt/wc_port.h
  100. %{_includedir}/cyassl/ctaocrypt/pwdbased.h
  101. %{_includedir}/cyassl/ctaocrypt/rabbit.h
  102. %{_includedir}/cyassl/ctaocrypt/random.h
  103. %{_includedir}/cyassl/ctaocrypt/ripemd.h
  104. %{_includedir}/cyassl/ctaocrypt/rsa.h
  105. %{_includedir}/cyassl/ctaocrypt/settings.h
  106. %{_includedir}/cyassl/ctaocrypt/settings_comp.h
  107. %{_includedir}/cyassl/ctaocrypt/sha.h
  108. %{_includedir}/cyassl/ctaocrypt/sha256.h
  109. %{_includedir}/cyassl/ctaocrypt/sha512.h
  110. %{_includedir}/cyassl/ctaocrypt/tfm.h
  111. %{_includedir}/cyassl/ctaocrypt/types.h
  112. %{_includedir}/cyassl/ctaocrypt/visibility.h
  113. %{_includedir}/cyassl/error-ssl.h
  114. %{_includedir}/cyassl/ocsp.h
  115. %{_includedir}/cyassl/openssl/asn1.h
  116. %{_includedir}/cyassl/openssl/bio.h
  117. %{_includedir}/cyassl/openssl/bn.h
  118. %{_includedir}/cyassl/openssl/conf.h
  119. %{_includedir}/cyassl/openssl/crypto.h
  120. %{_includedir}/cyassl/openssl/des.h
  121. %{_includedir}/cyassl/openssl/dh.h
  122. %{_includedir}/cyassl/openssl/dsa.h
  123. %{_includedir}/cyassl/openssl/ec.h
  124. %{_includedir}/cyassl/openssl/ecdsa.h
  125. %{_includedir}/cyassl/openssl/ec25519.h
  126. %{_includedir}/cyassl/openssl/ed25519.h
  127. %{_includedir}/cyassl/openssl/ecdh.h
  128. %{_includedir}/cyassl/openssl/engine.h
  129. %{_includedir}/cyassl/openssl/err.h
  130. %{_includedir}/cyassl/openssl/evp.h
  131. %{_includedir}/cyassl/openssl/hmac.h
  132. %{_includedir}/cyassl/openssl/lhash.h
  133. %{_includedir}/cyassl/openssl/md4.h
  134. %{_includedir}/cyassl/openssl/md5.h
  135. %{_includedir}/cyassl/openssl/ocsp.h
  136. %{_includedir}/cyassl/openssl/opensslconf.h
  137. %{_includedir}/cyassl/openssl/opensslv.h
  138. %{_includedir}/cyassl/openssl/ossl_typ.h
  139. %{_includedir}/cyassl/openssl/pem.h
  140. %{_includedir}/cyassl/openssl/pkcs12.h
  141. %{_includedir}/cyassl/openssl/rand.h
  142. %{_includedir}/cyassl/openssl/ripemd.h
  143. %{_includedir}/cyassl/openssl/rsa.h
  144. %{_includedir}/cyassl/openssl/sha.h
  145. %{_includedir}/cyassl/openssl/ssl.h
  146. %{_includedir}/cyassl/openssl/ssl23.h
  147. %{_includedir}/cyassl/openssl/stack.h
  148. %{_includedir}/cyassl/openssl/ui.h
  149. %{_includedir}/cyassl/openssl/x509.h
  150. %{_includedir}/cyassl/openssl/x509v3.h
  151. %{_includedir}/cyassl/options.h
  152. %{_includedir}/cyassl/sniffer.h
  153. %{_includedir}/cyassl/sniffer_error.h
  154. %{_includedir}/cyassl/ssl.h
  155. %{_includedir}/cyassl/test.h
  156. %{_includedir}/cyassl/version.h
  157. %{_includedir}/wolfssl/callbacks.h
  158. %{_includedir}/wolfssl/certs_test.h
  159. %{_includedir}/wolfssl/crl.h
  160. %{_includedir}/wolfssl/wolfio.h
  161. %{_includedir}/wolfssl/wolfcrypt/aes.h
  162. %{_includedir}/wolfssl/wolfcrypt/cmac.h
  163. %{_includedir}/wolfssl/wolfcrypt/arc4.h
  164. %{_includedir}/wolfssl/wolfcrypt/asn.h
  165. %{_includedir}/wolfssl/wolfcrypt/asn_public.h
  166. %{_includedir}/wolfssl/wolfcrypt/blake2-impl.h
  167. %{_includedir}/wolfssl/wolfcrypt/blake2-int.h
  168. %{_includedir}/wolfssl/wolfcrypt/blake2.h
  169. %{_includedir}/wolfssl/wolfcrypt/camellia.h
  170. %{_includedir}/wolfssl/wolfcrypt/chacha.h
  171. %{_includedir}/wolfssl/wolfcrypt/chacha20_poly1305.h
  172. %{_includedir}/wolfssl/wolfcrypt/coding.h
  173. %{_includedir}/wolfssl/wolfcrypt/compress.h
  174. %{_includedir}/wolfssl/wolfcrypt/cpuid.h
  175. %{_includedir}/wolfssl/wolfcrypt/curve25519.h
  176. %{_includedir}/wolfssl/wolfcrypt/des3.h
  177. %{_includedir}/wolfssl/wolfcrypt/dh.h
  178. %{_includedir}/wolfssl/wolfcrypt/dsa.h
  179. %{_includedir}/wolfssl/wolfcrypt/ecc.h
  180. %{_includedir}/wolfssl/wolfcrypt/ed25519.h
  181. %{_includedir}/wolfssl/wolfcrypt/error-crypt.h
  182. %{_includedir}/wolfssl/wolfcrypt/fe_operations.h
  183. %{_includedir}/wolfssl/wolfcrypt/fips.h
  184. %{_includedir}/wolfssl/wolfcrypt/fips_test.h
  185. %{_includedir}/wolfssl/wolfcrypt/ge_operations.h
  186. %{_includedir}/wolfssl/wolfcrypt/hash.h
  187. %{_includedir}/wolfssl/wolfcrypt/hc128.h
  188. %{_includedir}/wolfssl/wolfcrypt/hmac.h
  189. %{_includedir}/wolfssl/wolfcrypt/integer.h
  190. %{_includedir}/wolfssl/wolfcrypt/idea.h
  191. %{_includedir}/wolfssl/wolfcrypt/logging.h
  192. %{_includedir}/wolfssl/wolfcrypt/md2.h
  193. %{_includedir}/wolfssl/wolfcrypt/md4.h
  194. %{_includedir}/wolfssl/wolfcrypt/md5.h
  195. %{_includedir}/wolfssl/wolfcrypt/mem_track.h
  196. %{_includedir}/wolfssl/wolfcrypt/memory.h
  197. %{_includedir}/wolfssl/wolfcrypt/misc.h
  198. %{_includedir}/wolfssl/wolfcrypt/mpi_class.h
  199. %{_includedir}/wolfssl/wolfcrypt/mpi_superclass.h
  200. %{_includedir}/wolfssl/wolfcrypt/pkcs7.h
  201. %{_includedir}/wolfssl/wolfcrypt/pkcs12.h
  202. %{_includedir}/wolfssl/wolfcrypt/wc_port.h
  203. %{_includedir}/wolfssl/wolfcrypt/poly1305.h
  204. %{_includedir}/wolfssl/wolfcrypt/pwdbased.h
  205. %{_includedir}/wolfssl/wolfcrypt/rabbit.h
  206. %{_includedir}/wolfssl/wolfcrypt/random.h
  207. %{_includedir}/wolfssl/wolfcrypt/ripemd.h
  208. %{_includedir}/wolfssl/wolfcrypt/rsa.h
  209. %{_includedir}/wolfssl/wolfcrypt/settings.h
  210. %{_includedir}/wolfssl/wolfcrypt/signature.h
  211. %{_includedir}/wolfssl/wolfcrypt/sha.h
  212. %{_includedir}/wolfssl/wolfcrypt/sha3.h
  213. %{_includedir}/wolfssl/wolfcrypt/sha256.h
  214. %{_includedir}/wolfssl/wolfcrypt/sha512.h
  215. %{_includedir}/wolfssl/wolfcrypt/srp.h
  216. %{_includedir}/wolfssl/wolfcrypt/tfm.h
  217. %{_includedir}/wolfssl/wolfcrypt/types.h
  218. %{_includedir}/wolfssl/wolfcrypt/visibility.h
  219. %{_includedir}/wolfssl/wolfcrypt/wc_encrypt.h
  220. %{_includedir}/wolfssl/wolfcrypt/wolfevent.h
  221. %{_includedir}/wolfssl/wolfcrypt/wolfmath.h
  222. %{_includedir}/wolfssl/error-ssl.h
  223. %{_includedir}/wolfssl/ocsp.h
  224. %{_includedir}/wolfssl/openssl/aes.h
  225. %{_includedir}/wolfssl/openssl/asn1.h
  226. %{_includedir}/wolfssl/openssl/bio.h
  227. %{_includedir}/wolfssl/openssl/bn.h
  228. %{_includedir}/wolfssl/openssl/buffer.h
  229. %{_includedir}/wolfssl/openssl/conf.h
  230. %{_includedir}/wolfssl/openssl/crypto.h
  231. %{_includedir}/wolfssl/openssl/des.h
  232. %{_includedir}/wolfssl/openssl/dh.h
  233. %{_includedir}/wolfssl/openssl/dsa.h
  234. %{_includedir}/wolfssl/openssl/ec.h
  235. %{_includedir}/wolfssl/openssl/ecdsa.h
  236. %{_includedir}/wolfssl/openssl/ec25519.h
  237. %{_includedir}/wolfssl/openssl/ed25519.h
  238. %{_includedir}/wolfssl/openssl/ecdh.h
  239. %{_includedir}/wolfssl/openssl/engine.h
  240. %{_includedir}/wolfssl/openssl/err.h
  241. %{_includedir}/wolfssl/openssl/evp.h
  242. %{_includedir}/wolfssl/openssl/hmac.h
  243. %{_includedir}/wolfssl/openssl/lhash.h
  244. %{_includedir}/wolfssl/openssl/md4.h
  245. %{_includedir}/wolfssl/openssl/md5.h
  246. %{_includedir}/wolfssl/openssl/ocsp.h
  247. %{_includedir}/wolfssl/openssl/objects.h
  248. %{_includedir}/wolfssl/openssl/opensslconf.h
  249. %{_includedir}/wolfssl/openssl/opensslv.h
  250. %{_includedir}/wolfssl/openssl/ossl_typ.h
  251. %{_includedir}/wolfssl/openssl/pem.h
  252. %{_includedir}/wolfssl/openssl/pkcs12.h
  253. %{_includedir}/wolfssl/openssl/rand.h
  254. %{_includedir}/wolfssl/openssl/rc4.h
  255. %{_includedir}/wolfssl/openssl/ripemd.h
  256. %{_includedir}/wolfssl/openssl/rsa.h
  257. %{_includedir}/wolfssl/openssl/sha.h
  258. %{_includedir}/wolfssl/openssl/ssl.h
  259. %{_includedir}/wolfssl/openssl/ssl23.h
  260. %{_includedir}/wolfssl/openssl/stack.h
  261. %{_includedir}/wolfssl/openssl/ui.h
  262. %{_includedir}/wolfssl/openssl/x509.h
  263. %{_includedir}/wolfssl/openssl/x509v3.h
  264. %{_includedir}/wolfssl/options.h
  265. %{_includedir}/wolfssl/sniffer.h
  266. %{_includedir}/wolfssl/sniffer_error.h
  267. %{_includedir}/wolfssl/ssl.h
  268. %{_includedir}/wolfssl/test.h
  269. %{_includedir}/wolfssl/version.h
  270. %{_libdir}/pkgconfig/wolfssl.pc
  271. %changelog
  272. * Fri Mar 02 2018 Jacob Barthelmeh <jacob@wolfssl.com>
  273. - Added headder files fips.h, buffer.h, objects.h, rc4.h and example tls_bench.c
  274. * Fri Sep 08 2017 Jacob Barthelmeh <jacob@wolfssl.com>
  275. - Change name for header wolfssl/io.h to wolfssl/wolfio.h
  276. * Fri Aug 04 2017 Jacob Barthelmeh <jacob@wolfssl.com>
  277. - Added header for wolfssl/wolfcrypt/cpuid.h, wolfssl/wolfcrypt/sha3.h
  278. * Thu May 04 2017 Jacob Barthelmeh <jacob@wolfssl.com>
  279. - Added header for wolfssl/io.h, wolfssl/openssl/ssl23.h, cyassl/openssl/ssl23.h
  280. * Thu Feb 09 2017 Jacob Barthelmeh <jacob@wolfssl.com>
  281. - Added header for wolfssl/wolfcrypt/wolfmath.h
  282. * Fri Nov 11 2016 Jacob Barthelmeh <jacob@wolfssl.com>
  283. - Added header for wolfssl/openssl/aes.h
  284. * Fri Oct 28 2016 Jacob Barthelmeh <jacob@wolfssl.com>
  285. - Added header for pkcs12
  286. * Fri Sep 23 2016 John Safranek <john@wolfssl.com>
  287. - Add the dtls-sctp example sources
  288. * Mon Jun 14 2016 Jacob Barthelmeh <jacob@wolfssl.com>
  289. - Change location for mem_track.h header
  290. - Added header for cmac.h
  291. * Thu Mar 17 2016 Jacob Barthelmeh <jacob@wolfssl.com>
  292. - Added header for mem_track.h
  293. * Wed Dec 30 2015 Jacob Barthelmeh <jacob@wolfssl.com>
  294. - Added headers for curve25519 and ed25519 openssl compatibility
  295. - Added headers for Idea, srp, signature, and wc_encrypt
  296. * Tue Mar 31 2015 John Safranek <john@wolfssl.com>
  297. - Added recent new wolfcrypt headers for curve25519
  298. * Fri Jan 09 2015 John Safranek <john@wolfssl.com>
  299. - Update for cyassl->wolfssl name change
  300. * Fri Oct 20 2012 Brian Aker <brian@tangent.org>
  301. - Initial package