xmlsec1-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. Summary: Library providing support for "XML Signature" and "XML Encryption" standards
  2. Name: xmlsec1
  3. Version: 1.3.7
  4. Release: 1%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: MIT
  9. URL: https://www.aleksey.com/xmlsec/
  10. Source: https://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: libxml2-devel >= 2.6.0
  13. BuildRequires: libxslt-devel >= 1.1.0
  14. BuildRequires: openssl-devel >= 0.9.6
  15. BuildRequires: libgcrypt-devel >= 1.4.0
  16. BuildRequires: gnutls-devel >= 1.0.20
  17. BuildRequires: nss-devel >= 3.2
  18. BuildRequires: nspr-devel
  19. BuildRequires: libtool-ltdl-devel
  20. # extra build deps needed for autoreconf after above patch
  21. BuildRequires: autoconf
  22. BuildRequires: automake
  23. BuildRequires: gettext-devel
  24. BuildRequires: libtool
  25. %description
  26. XML Security Library is a C library based on LibXML2 and OpenSSL.
  27. The library was created with a goal to support major XML security
  28. standards "XML Digital Signature" and "XML Encryption".
  29. %package devel
  30. Summary: Libraries, includes, etc. to develop applications with XML Digital Signatures and XML Encryption support.
  31. Group: programming
  32. Requires: xmlsec1 = %{version}-%{release}
  33. Requires: libxml2-devel >= 2.6.0
  34. Requires: libxslt-devel >= 1.1.0
  35. Requires: openssl-devel >= 0.9.6
  36. Requires: zlib-devel
  37. Requires: pkgconfig
  38. %description devel
  39. Libraries, includes, etc. you can use to develop applications with XML Digital
  40. Signatures and XML Encryption support.
  41. %package openssl
  42. Summary: OpenSSL crypto plugin for XML Security Library
  43. Group: system
  44. Requires: xmlsec1 = %{version}-%{release}
  45. %description openssl
  46. OpenSSL plugin for XML Security Library provides OpenSSL based crypto services
  47. for the xmlsec library
  48. %package openssl-devel
  49. Summary: OpenSSL crypto plugin for XML Security Library
  50. Group: programming
  51. Requires: xmlsec1-devel = %{version}-%{release}
  52. Requires: xmlsec1-openssl = %{version}-%{release}
  53. %description openssl-devel
  54. Libraries, includes, etc. for developing XML Security applications with OpenSSL
  55. %package gcrypt
  56. Summary: GCrypt crypto plugin for XML Security Library
  57. Group: system
  58. Requires: xmlsec1 = %{version}-%{release}
  59. %description gcrypt
  60. GCrypt plugin for XML Security Library provides GCrypt based crypto services
  61. for the xmlsec library.
  62. %package gcrypt-devel
  63. Summary: GCrypt crypto plugin for XML Security Library
  64. Group: programming
  65. Requires: xmlsec1-devel = %{version}-%{release}
  66. Requires: xmlsec1-gnutls-devel = %{version}-%{release}
  67. %description gcrypt-devel
  68. Libraries, includes, etc. for developing XML Security applications with GCrypt.
  69. %package gnutls
  70. Summary: GNUTls crypto plugin for XML Security Library
  71. Group: system
  72. Requires: xmlsec1 = %{version}-%{release}
  73. %description gnutls
  74. GNUTls plugin for XML Security Library provides GNUTls based crypto services
  75. for the xmlsec library
  76. %package gnutls-devel
  77. Summary: GNUTls crypto plugin for XML Security Library
  78. Group: programming
  79. Requires: xmlsec1 = %{version}
  80. Requires: xmlsec1-devel = %{version}
  81. Requires: xmlsec1-openssl = %{version}
  82. Requires: libgcrypt-devel >= 1.2.0
  83. Requires: gnutls-devel >= 1.0.20
  84. %description gnutls-devel
  85. Libraries, includes, etc. for developing XML Security applications with GNUTls
  86. %package nss
  87. Summary: NSS crypto plugin for XML Security Library
  88. Group: system
  89. Requires: xmlsec1 = %{version}-%{release}
  90. %description nss
  91. NSS plugin for XML Security Library provides NSS based crypto services
  92. for the xmlsec library
  93. %package nss-devel
  94. Summary: NSS crypto plugin for XML Security Library
  95. Group: programming
  96. Requires: xmlsec1-devel = %{version}-%{release}
  97. Requires: xmlsec1-nss = %{version}-%{release}
  98. Requires: nss-devel >= 3.2
  99. Requires: nspr-devel
  100. %description nss-devel
  101. Libraries, includes, etc. for developing XML Security applications with NSS
  102. %debug_package
  103. %prep
  104. %autosetup -p1
  105. %build
  106. autoreconf -if
  107. %configure \
  108. --enable-silent-rules \
  109. --disable-static \
  110. --enable-legacy-features
  111. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  112. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  113. make
  114. # positively ugly but only sane way to get around #192756
  115. sed 's+/lib64+/$archlib+g' < xmlsec1-config | sed 's+/lib+/$archlib+g' | sed 's+ -DXMLSEC_NO_SIZE_T++' > xmlsec1-config.$$ && mv xmlsec1-config.$$ xmlsec1-config
  116. %install
  117. rm -rf $RPM_BUILD_ROOT
  118. mkdir -p $RPM_BUILD_ROOT/usr/bin
  119. mkdir -p $RPM_BUILD_ROOT/usr/include/xmlsec1
  120. mkdir -p $RPM_BUILD_ROOT%{_libdir}
  121. mkdir -p $RPM_BUILD_ROOT/usr/man/man1
  122. make install DESTDIR=$RPM_BUILD_ROOT
  123. #make prefix=$RPM_BUILD_ROOT%{prefix} mandir=$RPM_BUILD_ROOT%{_mandir} install
  124. rm -fv $RPM_BUILD_ROOT%{_libdir}/*.la
  125. #rm -fv $RPM_BUILD_ROOT%{_libdir}/*.a
  126. rm -rf docs-to-install
  127. mkdir -p docs-to-install
  128. cp -pr $RPM_BUILD_ROOT%{_datadir}/doc/xmlsec1/* docs-to-install
  129. rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/xmlsec1
  130. %files
  131. %license Copyright
  132. %doc AUTHORS ChangeLog NEWS README
  133. %doc %{_mandir}/man1/xmlsec1.1*
  134. %{_libdir}/libxmlsec1.so.*
  135. %{_bindir}/xmlsec1
  136. %files devel
  137. %{_bindir}/xmlsec1-config
  138. %{_includedir}/xmlsec1
  139. %exclude %{_includedir}/xmlsec1/xmlsec/gcrypt
  140. %exclude %{_includedir}/xmlsec1/xmlsec/gnutls
  141. %exclude %{_includedir}/xmlsec1/xmlsec/nss
  142. %exclude %{_includedir}/xmlsec1/xmlsec/openssl
  143. %{_libdir}/libxmlsec1.so
  144. %{_libdir}/pkgconfig/xmlsec1.pc
  145. %{_libdir}/xmlsec1Conf.sh
  146. %{_datadir}/aclocal/*.m4
  147. %license Copyright
  148. %doc AUTHORS HACKING ChangeLog NEWS README
  149. %doc docs-to-install/*
  150. %doc %{_mandir}/man1/xmlsec1-config.1*
  151. %files openssl
  152. %{_libdir}/libxmlsec1-openssl.so
  153. %{_libdir}/libxmlsec1-openssl.so.*
  154. %files openssl-devel
  155. %{_includedir}/xmlsec1/xmlsec/openssl
  156. %{_libdir}/pkgconfig/xmlsec1-openssl.pc
  157. %files gcrypt
  158. %{_libdir}/libxmlsec1-gcrypt.so
  159. %{_libdir}/libxmlsec1-gcrypt.so.*
  160. %files gcrypt-devel
  161. %{_includedir}/xmlsec1/xmlsec/gcrypt
  162. %{_libdir}/pkgconfig/xmlsec1-gcrypt.pc
  163. %files gnutls
  164. %{_libdir}/libxmlsec1-gnutls.so
  165. %{_libdir}/libxmlsec1-gnutls.so.*
  166. %files gnutls-devel
  167. %{_includedir}/xmlsec1/xmlsec/gnutls
  168. %{_libdir}/pkgconfig/xmlsec1-gnutls.pc
  169. %files nss
  170. %{_libdir}/libxmlsec1-nss.so
  171. %{_libdir}/libxmlsec1-nss.so.*
  172. %files nss-devel
  173. %{_includedir}/xmlsec1/xmlsec/nss
  174. %{_libdir}/pkgconfig/xmlsec1-nss.pc
  175. %changelog
  176. * Wed Feb 12 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.7-1
  177. - new upstream release.
  178. * Wed Oct 23 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.6-1
  179. - new upstream release.
  180. * Fri Jul 19 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.5-1
  181. - new upstream release.
  182. * Wed Apr 10 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.4-1
  183. - new upstream release.
  184. * Fri Jan 05 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.3-1
  185. - new upstream release.
  186. * Fri Nov 03 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-1
  187. - new upstream release.
  188. * Wed Jun 07 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.1-1
  189. - new upstream release.
  190. * Thu Apr 13 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.0-1
  191. - new upstream release.
  192. * Tue Nov 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.37-1
  193. - new upstream release.
  194. * Wed Nov 02 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.36-1
  195. - new upstream release.
  196. * Wed Oct 26 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.35-1
  197. - new upstream release.
  198. * Sat Oct 16 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.32-1
  199. - new upstream release.
  200. - built with openssl-3.0.0.
  201. - dropped ldconfig scriptlets.
  202. * Mon Mar 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.29-1
  203. - new upstream release.
  204. * Wed Dec 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.27-1
  205. - new upstream release.
  206. * Mon May 9 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.22-1
  207. - new upstream release.
  208. * Wed Dec 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.20-3
  209. - rebuilt with gnutls-3.4.x.
  210. * Fri Jul 3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.20-2
  211. - fixed %%files.
  212. * Sat Nov 1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.2.20-1
  213. - new upstream release
  214. - moved gcrypt to System Environment/Libraries Group
  215. * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.16-1
  216. - new upstream release
  217. - add BuildRequires: libtool-ltdl-devel
  218. - add -gcrypt,-gcrypt-devel package
  219. * Fri Jul 24 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.12-1
  220. - new upstream release with security fix (CVE-2009-0217)
  221. - remove *.a files
  222. * Sat Jan 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.11-2
  223. - rebuilt with gnutls-2.6.3
  224. * Wed Jul 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.11-1
  225. - new upstream release
  226. * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.9-0vl1
  227. - initial build for Vine Linux
  228. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-8.1
  229. - rebuild
  230. * Wed Jun 14 2006 Tomas Mraz <tmraz@redhat.com> - 1.2.9-8
  231. - rebuilt with new gnutls
  232. * Thu Jun 8 2006 Daniel Veillard <veillard@redhat.com> - 1.2.9-7
  233. - oops libxmlsec1.la was still there, should fix #171410 and #154142
  234. * Thu Jun 8 2006 Daniel Veillard <veillard@redhat.com> - 1.2.9-6
  235. - Ugly patch and sed based changes to work around #192756 xmlsec1-config
  236. multilib problem
  237. * Wed Jun 7 2006 Jeremy Katz <katzj@redhat.com> - 1.2.9-5
  238. - move .so symlinks to -devel subpackage
  239. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-4.2
  240. - bump again for double-long bug on ppc(64)
  241. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-4.1
  242. - rebuilt for new gcc4.1 snapshot and glibc changes
  243. * Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 1.2.9-4
  244. - NSS has been split out of the mozilla package, so require that now
  245. and update separate_nspr.patch to account for the new NSS as well
  246. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  247. - rebuilt
  248. * Wed Nov 23 2005 Tomas Mraz <tmraz@redhat.com> 1.2.9-3
  249. - rebuilt due to gnutls library revision
  250. * Wed Nov 9 2005 <veillard@redhat.com> 1.2.9-2
  251. - rebuilt due to openssl library revision
  252. * Tue Sep 20 2005 <veillard@redhat.com> 1.2.9-1
  253. - update from upstream, release done in July
  254. - apparently nss is now available on ppc64
  255. * Mon Aug 8 2005 <veillard@redhat.com> 1.2.8-3
  256. - rebuilt with new gnutls
  257. - nspr has been split to a separate package
  258. * Fri Jul 8 2005 Daniel Veillard <veillard@redhat.com> 1.2.8-2
  259. - Enabling the mozilla-nss crypto backend
  260. * Fri Jul 8 2005 Daniel Veillard <veillard@redhat.com> 1.2.8-1
  261. - update from upstream, needed for openoffice
  262. * Tue Mar 8 2005 Daniel Veillard <veillard@redhat.com> 1.2.7-4
  263. - rebuilt with gcc4
  264. * Wed Feb 23 2005 Daniel Veillard <veillard@redhat.com> 1.2.7-1
  265. - Upstream release of 1.2.7, mostly bug fixes plus new functions
  266. to GetKeys from simple store and X509 handling.
  267. * Wed Feb 9 2005 Daniel Veillard <veillard@redhat.com> 1.2.6-4
  268. - Adding support for GNUTls crypto backend
  269. * Wed Sep 1 2004 Daniel Veillard <veillard@redhat.com> 1.2.6-3
  270. - adding missing ldconfig calls
  271. * Thu Aug 26 2004 Daniel Veillard <veillard@redhat.com> 1.2.6-2
  272. - updated with upstream release from Aleksey
  273. * Mon Jun 21 2004 Daniel Veillard <veillard@redhat.com> 1.2.5-2
  274. - rebuilt
  275. * Mon Apr 19 2004 Daniel Veillard <veillard@redhat.com> 1.2.5-1
  276. - updated with upstream release from Aleksey
  277. * Wed Feb 11 2004 Daniel Veillard <veillard@redhat.com> 1.2.4-1
  278. - updated with upstream release from Aleksey
  279. * Tue Jan 6 2004 Daniel Veillard <veillard@redhat.com> 1.2.3-1
  280. - updated with upstream release from Aleksey
  281. * Wed Nov 12 2003 Daniel Veillard <veillard@redhat.com> 1.2.2-1
  282. - updated with upstream release from Aleksey, specific patches should
  283. have been integrated now.
  284. * Thu Nov 6 2003 Daniel Veillard <veillard@redhat.com> 1.2.1-1
  285. - initial packaging based on the upstream one and libxml2 one.
  286. - desactivated mozilla-nss due to detection/architecture problems