326030
Summary: Library providing support for "XML Signature" and "XML Encryption" standards
326030
Name: xmlsec1
326030
Version: 1.2.25
326030
Release: 4%{?dist}%{?extra_release}
326030
License: MIT
326030
Source0: http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz
326030
URL: http://www.aleksey.com/xmlsec/
326030
BuildRequires: pkgconfig(libxml-2.0) >= 2.8.0
326030
BuildRequires: pkgconfig(libxslt) >= 1.0.20
326030
BuildRequires: pkgconfig(openssl) >= 1.0.0
326030
BuildRequires: pkgconfig(nss) >= 3.11.1
326030
BuildRequires: pkgconfig(nspr) >= 4.4.1
326030
BuildRequires: libgcrypt-devel >= 1.4.0
326030
BuildRequires: pkgconfig(gnutls) >= 2.8.0
326030
BuildRequires: libtool-ltdl-devel
326030
# autoreconf stuff
326030
BuildRequires: autoconf
326030
BuildRequires: automake
326030
BuildRequires: gettext-devel
326030
BuildRequires: libtool
326030
326030
Patch1: xmlSecOpenSSLX509DataNodeRead-error.patch
326030
326030
%description
326030
XML Security Library is a C library based on LibXML2  and OpenSSL.
326030
The library was created with a goal to support major XML security
326030
standards "XML Digital Signature" and "XML Encryption".
326030
326030
%package devel
326030
Summary: Libraries, includes, etc. to develop applications with XML Digital Signatures and XML Encryption support.
326030
Requires: xmlsec1%{?_isa} = %{version}-%{release}
326030
Requires: openssl-devel%{?_isa} >= 1.0.0
326030
326030
%description devel
326030
Libraries, includes, etc. you can use to develop applications with XML Digital
326030
Signatures and XML Encryption support.
326030
326030
%package openssl
326030
Summary: OpenSSL crypto plugin for XML Security Library
326030
Requires: xmlsec1%{?_isa} = %{version}-%{release}
326030
326030
%description openssl
326030
OpenSSL plugin for XML Security Library provides OpenSSL based crypto services
326030
for the xmlsec library.
326030
326030
%package openssl-devel
326030
Summary: OpenSSL crypto plugin for XML Security Library
326030
Requires: xmlsec1-devel%{?_isa} = %{version}-%{release}
326030
Requires: xmlsec1-openssl%{?_isa} = %{version}-%{release}
326030
326030
%description openssl-devel
326030
Libraries, includes, etc. for developing XML Security applications with OpenSSL
326030
326030
%package gcrypt
326030
Summary: GCrypt crypto plugin for XML Security Library
326030
Requires: xmlsec1%{?_isa} = %{version}-%{release}
326030
326030
%description gcrypt
326030
GCrypt plugin for XML Security Library provides GCrypt based crypto services
326030
for the xmlsec library.
326030
326030
%package gcrypt-devel
326030
Summary: GCrypt crypto plugin for XML Security Library
326030
Requires: xmlsec1-devel%{?_isa} = %{version}-%{release}
326030
Requires: xmlsec1-gnutls-devel%{?_isa} = %{version}-%{release}
326030
326030
%description gcrypt-devel
326030
Libraries, includes, etc. for developing XML Security applications with GCrypt.
326030
326030
%package gnutls
326030
Summary: GNUTls crypto plugin for XML Security Library
326030
Requires: xmlsec1%{?_isa} = %{version}-%{release}
326030
326030
%description gnutls
326030
GNUTls plugin for XML Security Library provides GNUTls based crypto services
326030
for the xmlsec library.
326030
326030
%package gnutls-devel
326030
Summary: GNUTls crypto plugin for XML Security Library
326030
Requires: xmlsec1-devel%{?_isa} = %{version}-%{release}
326030
Requires: xmlsec1-openssl-devel%{?_isa} = %{version}-%{release}
326030
Requires: libgcrypt-devel%{?_isa} >= 1.2.0
326030
Requires: gnutls-devel%{?_isa} >= 1.0.20
326030
326030
%description gnutls-devel
326030
Libraries, includes, etc. for developing XML Security applications with GNUTls.
326030
326030
%package nss
326030
Summary: NSS crypto plugin for XML Security Library
326030
Requires: xmlsec1%{?_isa} = %{version}-%{release}
326030
326030
%description nss
326030
NSS plugin for XML Security Library provides NSS based crypto services
326030
for the xmlsec library
326030
326030
%package nss-devel
326030
Summary: NSS crypto plugin for XML Security Library
326030
Requires: xmlsec1-devel%{?_isa} = %{version}-%{release}
326030
Requires: xmlsec1-nss%{?_isa} = %{version}-%{release}
326030
326030
%description nss-devel
326030
Libraries, includes, etc. for developing XML Security applications with NSS.
326030
326030
%prep
326030
%setup -q
326030
%patch1 -p1
326030
326030
%build
326030
autoreconf -vfi
326030
%configure --disable-static
326030
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
326030
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
326030
%make_build V=1
326030
326030
# positively ugly but only sane way to get around #192756
326030
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
326030
326030
%install
326030
%make_install
326030
rm -vf %{buildroot}%{_libdir}/*.la
326030
326030
# move installed docs to include them in -devel package via %%doc magic
326030
rm -rf __tmp_doc ; mkdir __tmp_doc
326030
mv %{buildroot}%{_docdir}/xmlsec1/* __tmp_doc
326030
326030
%ldconfig_scriptlets
326030
%ldconfig_scriptlets gnutls
326030
%ldconfig_scriptlets openssl
326030
326030
%files
326030
%doc AUTHORS ChangeLog NEWS README Copyright
326030
%{_mandir}/man1/xmlsec1.1*
326030
%{_libdir}/libxmlsec1.so.*
326030
%{_bindir}/xmlsec1
326030
326030
%files devel
326030
%{_bindir}/xmlsec1-config
326030
%dir %{_includedir}/xmlsec1
326030
%dir %{_includedir}/xmlsec1/xmlsec
326030
%dir %{_includedir}/xmlsec1/xmlsec/private
326030
%{_includedir}/xmlsec1/xmlsec/*.h
326030
%{_includedir}/xmlsec1/xmlsec/private/*.h
326030
%{_libdir}/libxmlsec1.so
326030
%{_libdir}/pkgconfig/xmlsec1.pc
326030
%{_libdir}/xmlsec1Conf.sh
326030
%{_datadir}/aclocal/xmlsec1.m4
326030
%{_mandir}/man1/xmlsec1-config.1*
326030
%doc HACKING __tmp_doc/*
326030
326030
%files openssl
326030
%{_libdir}/libxmlsec1-openssl.so.*
326030
%{_libdir}/libxmlsec1-openssl.so
326030
326030
%files openssl-devel
326030
%{_includedir}/xmlsec1/xmlsec/openssl/
326030
%{_libdir}/pkgconfig/xmlsec1-openssl.pc
326030
326030
%files gcrypt
326030
%{_libdir}/libxmlsec1-gcrypt.so.*
326030
%{_libdir}/libxmlsec1-gcrypt.so
326030
326030
%files gcrypt-devel
326030
%{_includedir}/xmlsec1/xmlsec/gcrypt/
326030
%{_libdir}/pkgconfig/xmlsec1-gcrypt.pc
326030
326030
%files gnutls
326030
%{_libdir}/libxmlsec1-gnutls.so.*
326030
%{_libdir}/libxmlsec1-gnutls.so
326030
326030
%files gnutls-devel
326030
%{_includedir}/xmlsec1/xmlsec/gnutls/
326030
%{_libdir}/pkgconfig/xmlsec1-gnutls.pc
326030
326030
%files nss
326030
%{_libdir}/libxmlsec1-nss.so.*
326030
%{_libdir}/libxmlsec1-nss.so
326030
326030
%files nss-devel
326030
%{_includedir}/xmlsec1/xmlsec/nss/
326030
%{_libdir}/pkgconfig/xmlsec1-nss.pc
326030
326030
%changelog
326030
* Thu Apr 12 2018 John Dennis <jdennis@redhat.com> - 1.2.25-4
326030
- Resolves: rhbz#1566748
326030
  xmlSecOpenSSLX509DataNodeRead fails to return error
326030
326030
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.25-3
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
326030
326030
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.25-2
326030
- Switch to %%ldconfig_scriptlets
326030
326030
* Wed Nov 08 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.25-1
326030
- Update to 1.2.25
326030
326030
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.23-4
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
326030
326030
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.23-3
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
326030
326030
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.23-2
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
326030
326030
* Mon Oct 17 2016 Simo Sorce <simo@redhat.com> - 1.2.23-1
326030
- New Upstream relase 1.2.23
326030
- Adds compatibility for OpenSSL 1.1.0
326030
326030
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.20-3
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
326030
326030
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.20-2
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
326030
326030
* Fri Sep 19 2014 Simo Sorce <simo@redhat.com> - 1.2.20-1
326030
- Update to new upstream release 1.2.20
326030
- This release fixes a number of miscellaneous bugs and updates expired or
326030
  soon-to-be-expired certificates in the test suite.
326030
- Also drops the no-ecdsa patch
326030
326030
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.19-6
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
326030
326030
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.19-5
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
326030
326030
* Thu Apr 24 2014 Tomáš Mráz <tmraz@redhat.com> - 1.2.19-4
326030
- Rebuild for new libgcrypt
326030
326030
* Fri Dec 13 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2.19-3
326030
- Fix duplicate documentation (#1001250)
326030
- Turn on verbose build output via V=1 make
326030
- Use %%?_isa in explicit package deps
326030
- Fix base package Group tag to "System Environment/Libraries"
326030
- Remove %%defattr
326030
326030
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.19-2
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
326030
326030
* Mon Mar 25 2013 Daniel Veillard <veillard@redhat.com> - 1.2.19-1
326030
- Update to upstream release 1.2.19
326030
326030
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.18-4
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
326030
326030
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.18-3
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
326030
326030
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.18-2
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
326030
326030
* Thu May 12 2011 Daniel Veillard <veillard@redhat.com> - 1.2.18-1
326030
- Update to upstream release 1.2.18
326030
326030
* Mon Apr 11 2011 Daniel Veillard <veillard@redhat.com> - 1.2.17-1
326030
- Update to upstream release 1.2.17
326030
- fixes CVE-2011-1425 on xslt file creation
326030
326030
* Tue Mar 22 2011 Daniel Veillard <veillard@redhat.com> - 1.2.16-4
326030
- Fix missing links to unversioned shared library files 541599
326030
326030
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.16-3
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
326030
326030
* Wed Jun  2 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.2.16-2
326030
- add missing BuildRequires: libtool-ltdl-devel
326030
326030
* Wed Jun  2 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.2.16-1
326030
- update to 1.2.16
326030
- cleanup spec file
326030
- disable static libs
326030
- disable rpath
326030
- enable gcrypt subpackage
326030
326030
* Wed Aug 26 2009 Tomas Mraz <tmraz@redhat.com> - 1.2.12-2
326030
- rebuilt with new openssl
326030
326030
* Tue Aug 11 2009 Daniel Veillard <veillard@redhat.com> - 1.2.12-1
326030
- update to new upstream release 1.2.12
326030
- includes fix for CVE-2009-0217
326030
- cleanup spec file
326030
326030
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.11-4
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
326030
326030
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.11-3
326030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
326030
326030
* Sun Jan 18 2009 Tomas Mraz <tmraz@redhat.com> - 1.2.11-2
326030
- rebuild with new openssl
326030
326030
* Fri Jul 11 2008 Daniel Veillard <veillard@redhat.com> - 1.2.11-1
326030
- update to new upstream release 1.2.11
326030
- rebuild for gnutls update
326030
326030
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.9-10.1
326030
- Autorebuild for GCC 4.3
326030
326030
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.2.9-9
326030
 - Rebuild for deps
326030
326030
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-8.1
326030
- rebuild
326030
326030
* Wed Jun 14 2006 Tomas Mraz <tmraz@redhat.com> - 1.2.9-8
326030
- rebuilt with new gnutls
326030
326030
* Thu Jun  8 2006 Daniel Veillard <veillard@redhat.com> - 1.2.9-7
326030
- oops libxmlsec1.la was still there, should fix #171410 and #154142
326030
326030
* Thu Jun  8 2006 Daniel Veillard <veillard@redhat.com> - 1.2.9-6
326030
- Ugly patch and sed based changes to work around #192756 xmlsec1-config
326030
  multilib problem
326030
326030
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 1.2.9-5
326030
- move .so symlinks to -devel subpackage
326030
326030
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-4.2
326030
- bump again for double-long bug on ppc(64)
326030
326030
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-4.1
326030
- rebuilt for new gcc4.1 snapshot and glibc changes
326030
326030
* Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 1.2.9-4
326030
- NSS has been split out of the mozilla package, so require that now
326030
  and update separate_nspr.patch to account for the new NSS as well
326030
326030
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
326030
- rebuilt
326030
326030
* Wed Nov 23 2005 Tomas Mraz <tmraz@redhat.com> 1.2.9-3
326030
- rebuilt due to gnutls library revision
326030
* Wed Nov  9 2005 <veillard@redhat.com> 1.2.9-2
326030
- rebuilt due to openssl library revision
326030
* Tue Sep 20 2005 <veillard@redhat.com> 1.2.9-1
326030
- update from upstream, release done in July
326030
- apparently nss is now available on ppc64
326030
* Mon Aug  8 2005 <veillard@redhat.com> 1.2.8-3
326030
- rebuilt with new gnutls
326030
- nspr has been split to a separate package
326030
* Fri Jul  8 2005 Daniel Veillard <veillard@redhat.com> 1.2.8-2
326030
- Enabling the mozilla-nss crypto backend
326030
* Fri Jul  8 2005 Daniel Veillard <veillard@redhat.com> 1.2.8-1
326030
- update from upstream, needed for openoffice
326030
* Tue Mar  8 2005 Daniel Veillard <veillard@redhat.com> 1.2.7-4
326030
- rebuilt with gcc4
326030
* Wed Feb 23 2005 Daniel Veillard <veillard@redhat.com> 1.2.7-1
326030
- Upstream release of 1.2.7, mostly bug fixes plus new functions
326030
  to GetKeys from simple store and X509 handling.
326030
* Wed Feb  9 2005 Daniel Veillard <veillard@redhat.com> 1.2.6-4
326030
- Adding support for GNUTls crypto backend
326030
* Wed Sep  1 2004 Daniel Veillard <veillard@redhat.com> 1.2.6-3
326030
- adding missing ldconfig calls
326030
* Thu Aug 26 2004 Daniel Veillard <veillard@redhat.com> 1.2.6-2
326030
- updated with upstream release from Aleksey
326030
* Mon Jun 21 2004 Daniel Veillard <veillard@redhat.com> 1.2.5-2
326030
- rebuilt
326030
* Mon Apr 19 2004 Daniel Veillard <veillard@redhat.com> 1.2.5-1
326030
- updated with upstream release from Aleksey
326030
* Wed Feb 11 2004 Daniel Veillard <veillard@redhat.com> 1.2.4-1
326030
- updated with upstream release from Aleksey
326030
* Tue Jan  6 2004 Daniel Veillard <veillard@redhat.com> 1.2.3-1
326030
- updated with upstream release from Aleksey
326030
* Wed Nov 12 2003 Daniel Veillard <veillard@redhat.com> 1.2.2-1
326030
- updated with upstream release from Aleksey, specific patches should
326030
  have been integrated now.
326030
* Thu Nov  6 2003 Daniel Veillard <veillard@redhat.com> 1.2.1-1
326030
- initial packaging based on the upstream one and libxml2 one.
326030
- desactivated mozilla-nss due to detection/architecture problems