cvsdist 4091a0f
Summary: Library providing support for "XML Signature" and "XML Encryption" standards
cvsdist 4091a0f
Name: xmlsec1
Simo Sorce df6a272
Version: 1.2.23
Simo Sorce df6a272
Release: 1%{?dist}%{?extra_release}
cvsdist 4091a0f
License: MIT
0125087
Group: System Environment/Libraries
78b8cf0
Source0: http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz
30bb7f9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
cvsdist 4091a0f
URL: http://www.aleksey.com/xmlsec/
cvsdist dadc03b
BuildRequires: libxml2-devel >= 2.6.0
cvsdist dadc03b
BuildRequires: libxslt-devel >= 1.1.0
78b8cf0
BuildRequires: openssl-devel >= 0.9.6
78b8cf0
BuildRequires: libgcrypt-devel >= 1.2.0
78b8cf0
BuildRequires: gnutls-devel >= 1.0.20
78b8cf0
BuildRequires: nss-devel >= 3.2
78b8cf0
BuildRequires: nspr-devel
966bbab
BuildRequires: libtool-ltdl-devel
217d100
# extra build deps needed for autoreconf after above patch
217d100
BuildRequires: autoconf
217d100
BuildRequires: automake
217d100
BuildRequires: gettext-devel
217d100
BuildRequires: libtool
217d100
cvsdist 4091a0f
cvsdist 4091a0f
%description
30bb7f9
XML Security Library is a C library based on LibXML2  and OpenSSL.
30bb7f9
The library was created with a goal to support major XML security
30bb7f9
standards "XML Digital Signature" and "XML Encryption".
cvsdist 4091a0f
30bb7f9
%package devel
cvsdist 4091a0f
Summary: Libraries, includes, etc. to develop applications with XML Digital Signatures and XML Encryption support.
30bb7f9
Group: Development/Libraries
78b8cf0
Requires: xmlsec1%{?_isa} = %{version}-%{release}
0125087
Requires: libxml2-devel%{?_isa} >= 2.6.0
0125087
Requires: libxslt-devel%{?_isa} >= 1.1.0
0125087
Requires: openssl-devel%{?_isa} >= 0.9.6
0125087
Requires: zlib-devel%{?_isa}
0125087
# pkgconfig deps are automatic in Fedora and EL>=6
0125087
%if 0%{?rhel} == 5
a38c476
Requires: pkgconfig
0125087
%endif
cvsdist 4091a0f
cvsdist 4091a0f
%description devel
30bb7f9
Libraries, includes, etc. you can use to develop applications with XML Digital
cvsdist 4091a0f
Signatures and XML Encryption support.
cvsdist 4091a0f
cvsdist 4091a0f
%package openssl
cvsdist 4091a0f
Summary: OpenSSL crypto plugin for XML Security Library
30bb7f9
Group: Development/Libraries
0125087
Requires: xmlsec1%{?_isa} = %{version}-%{release}
cvsdist 4091a0f
cvsdist 4091a0f
%description openssl
cvsdist 4091a0f
OpenSSL plugin for XML Security Library provides OpenSSL based crypto services
78b8cf0
for the xmlsec library.
cvsdist d8c6bfa
cvsdist 4091a0f
%package openssl-devel
cvsdist 4091a0f
Summary: OpenSSL crypto plugin for XML Security Library
30bb7f9
Group: Development/Libraries
0125087
Requires: xmlsec1-devel%{?_isa} = %{version}-%{release}
0125087
Requires: xmlsec1-openssl%{?_isa} = %{version}-%{release}
cvsdist 4091a0f
cvsdist 4091a0f
%description openssl-devel
cvsdist 4091a0f
Libraries, includes, etc. for developing XML Security applications with OpenSSL
cvsdist 4091a0f
78b8cf0
%package gcrypt
78b8cf0
Summary: GCrypt crypto plugin for XML Security Library
78b8cf0
Group: Development/Libraries
78b8cf0
Requires: xmlsec1%{?_isa} = %{version}-%{release}
78b8cf0
78b8cf0
%description gcrypt
78b8cf0
GCrypt plugin for XML Security Library provides GCrypt based crypto services
78b8cf0
for the xmlsec library.
78b8cf0
78b8cf0
%package gcrypt-devel
78b8cf0
Summary: GCrypt crypto plugin for XML Security Library
78b8cf0
Group: Development/Libraries
0125087
Requires: xmlsec1-devel%{?_isa} = %{version}-%{release}
0125087
Requires: xmlsec1-gnutls-devel%{?_isa} = %{version}-%{release}
78b8cf0
78b8cf0
%description gcrypt-devel
78b8cf0
Libraries, includes, etc. for developing XML Security applications with GCrypt.
78b8cf0
42e25c0
%package gnutls
42e25c0
Summary: GNUTls crypto plugin for XML Security Library
30bb7f9
Group: Development/Libraries
78b8cf0
Requires: xmlsec1%{?_isa} = %{version}-%{release}
42e25c0
42e25c0
%description gnutls
42e25c0
GNUTls plugin for XML Security Library provides GNUTls based crypto services
78b8cf0
for the xmlsec library.
42e25c0
42e25c0
%package gnutls-devel
42e25c0
Summary: GNUTls crypto plugin for XML Security Library
30bb7f9
Group: Development/Libraries
0125087
Requires: xmlsec1-devel%{?_isa} = %{version}-%{release}
0125087
Requires: xmlsec1-openssl-devel%{?_isa} = %{version}-%{release}
0125087
Requires: libgcrypt-devel%{?_isa} >= 1.2.0
0125087
Requires: gnutls-devel%{?_isa} >= 1.0.20
cvsdist 4091a0f
42e25c0
%description gnutls-devel
78b8cf0
Libraries, includes, etc. for developing XML Security applications with GNUTls.
42e25c0
cvsdist 4091a0f
%package nss
cvsdist 4091a0f
Summary: NSS crypto plugin for XML Security Library
30bb7f9
Group: Development/Libraries
78b8cf0
Requires: xmlsec1%{?_isa} = %{version}-%{release}
cvsdist 4091a0f
cvsdist 4091a0f
%description nss
cvsdist 4091a0f
NSS plugin for XML Security Library provides NSS based crypto services
cvsdist 4091a0f
for the xmlsec library
cvsdist 4091a0f
cvsdist 4091a0f
%package nss-devel
cvsdist 4091a0f
Summary: NSS crypto plugin for XML Security Library
30bb7f9
Group: Development/Libraries
0125087
Requires: xmlsec1-devel%{?_isa} = %{version}-%{release}
0125087
Requires: xmlsec1-nss%{?_isa} = %{version}-%{release}
0125087
Requires: nss-devel%{?_isa} >= 3.2
0125087
Requires: nspr-devel%{?_isa}
cvsdist 4091a0f
cvsdist 4091a0f
%description nss-devel
78b8cf0
Libraries, includes, etc. for developing XML Security applications with NSS.
cvsdist 4091a0f
cvsdist 4091a0f
%prep
cvsdist 4091a0f
%setup -q
cvsdist 4091a0f
cvsdist 4091a0f
%build
217d100
autoreconf -if
78b8cf0
%configure --disable-static
78b8cf0
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
78b8cf0
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
0125087
V=1 make
cvsdist 4091a0f
a38c476
# positively ugly but only sane way to get around #192756
a38c476
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
a38c476
cvsdist 4091a0f
%install
cvsdist 4091a0f
rm -rf $RPM_BUILD_ROOT
cvsdist 4091a0f
mkdir -p $RPM_BUILD_ROOT/usr/bin
cvsdist 4091a0f
mkdir -p $RPM_BUILD_ROOT/usr/include/xmlsec1
5361ce4
mkdir -p $RPM_BUILD_ROOT%{_libdir}
cvsdist 4091a0f
mkdir -p $RPM_BUILD_ROOT/usr/man/man1
cvsdist 4091a0f
78b8cf0
make DESTDIR=$RPM_BUILD_ROOT install
fc03525
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
cvsdist 4091a0f
0125087
# move installed docs to include them in -devel package via %%doc magic
0125087
rm -rf __tmp_doc ; mkdir __tmp_doc
0125087
mv ${RPM_BUILD_ROOT}%{_docdir}/xmlsec1/* __tmp_doc
0125087
cvsdist 4091a0f
%clean
0125087
rm -fr ${RPM_BUILD_ROOT}
cvsdist 4091a0f
78b8cf0
%post -p /sbin/ldconfig
78b8cf0
%postun -p /sbin/ldconfig
cvsdist 4091a0f
78b8cf0
%post gnutls -p /sbin/ldconfig
78b8cf0
%postun gnutls -p /sbin/ldconfig
cvsdist 4091a0f
78b8cf0
%post openssl -p /sbin/ldconfig
78b8cf0
%postun openssl -p /sbin/ldconfig
cvsdist 4091a0f
78b8cf0
%files
cvsdist 4091a0f
%doc AUTHORS ChangeLog NEWS README Copyright
0125087
%{_mandir}/man1/xmlsec1.1*
78b8cf0
%{_libdir}/libxmlsec1.so.*
78b8cf0
%{_bindir}/xmlsec1
cvsdist 4091a0f
cvsdist 4091a0f
%files devel
78b8cf0
%{_bindir}/xmlsec1-config
78b8cf0
%dir %{_includedir}/xmlsec1
78b8cf0
%dir %{_includedir}/xmlsec1/xmlsec
78b8cf0
%dir %{_includedir}/xmlsec1/xmlsec/private
78b8cf0
%{_includedir}/xmlsec1/xmlsec/*.h
78b8cf0
%{_includedir}/xmlsec1/xmlsec/private/*.h
78b8cf0
%{_libdir}/libxmlsec1.so
78b8cf0
%{_libdir}/pkgconfig/xmlsec1.pc
78b8cf0
%{_libdir}/xmlsec1Conf.sh
30bb7f9
%{_datadir}/aclocal/xmlsec1.m4
0125087
%{_mandir}/man1/xmlsec1-config.1*
0125087
%doc HACKING __tmp_doc/*
cvsdist 4091a0f
cvsdist 4091a0f
%files openssl
78b8cf0
%{_libdir}/libxmlsec1-openssl.so.*
cf230b7
%{_libdir}/libxmlsec1-openssl.so
cvsdist 4091a0f
cvsdist 4091a0f
%files openssl-devel
78b8cf0
%{_includedir}/xmlsec1/xmlsec/openssl/
78b8cf0
%{_libdir}/pkgconfig/xmlsec1-openssl.pc
cvsdist 4091a0f
78b8cf0
%files gcrypt
78b8cf0
%{_libdir}/libxmlsec1-gcrypt.so.*
cf230b7
%{_libdir}/libxmlsec1-gcrypt.so
cvsdist 4091a0f
78b8cf0
%files gcrypt-devel
78b8cf0
%{_includedir}/xmlsec1/xmlsec/gcrypt/
78b8cf0
%{_libdir}/pkgconfig/xmlsec1-gcrypt.pc
42e25c0
78b8cf0
%files gnutls
78b8cf0
%{_libdir}/libxmlsec1-gnutls.so.*
cf230b7
%{_libdir}/libxmlsec1-gnutls.so
42e25c0
42e25c0
%files gnutls-devel
78b8cf0
%{_includedir}/xmlsec1/xmlsec/gnutls/
78b8cf0
%{_libdir}/pkgconfig/xmlsec1-gnutls.pc
42e25c0
cvsdist 4091a0f
%files nss
78b8cf0
%{_libdir}/libxmlsec1-nss.so.*
cf230b7
%{_libdir}/libxmlsec1-nss.so
cvsdist 4091a0f
cvsdist 4091a0f
%files nss-devel
78b8cf0
%{_includedir}/xmlsec1/xmlsec/nss/
78b8cf0
%{_libdir}/pkgconfig/xmlsec1-nss.pc
cvsdist 4091a0f
cvsdist 4091a0f
%changelog
Simo Sorce df6a272
* Mon Oct 17 2016 Simo Sorce <simo@redhat.com> - 1.2.23-1
Simo Sorce df6a272
- New Upstream relase 1.2.23
Simo Sorce df6a272
- Adds compatibility for OpenSSL 1.1.0
Simo Sorce df6a272
93a2c52
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.20-3
93a2c52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
93a2c52
1de514a
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.20-2
1de514a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1de514a
Simo Sorce 07b57d1
* Fri Sep 19 2014 Simo Sorce <simo@redhat.com> - 1.2.20-1
Simo Sorce 07b57d1
- Update to new upstream release 1.2.20
Simo Sorce 07b57d1
- This release fixes a number of miscellaneous bugs and updates expired or
Simo Sorce 07b57d1
  soon-to-be-expired certificates in the test suite.
Simo Sorce 07b57d1
- Also drops the no-ecdsa patch
Simo Sorce 07b57d1
9e55974
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.19-6
9e55974
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
9e55974
b2f77d8
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.19-5
b2f77d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b2f77d8
c366f30
* Thu Apr 24 2014 Tomáš Mráz <tmraz@redhat.com> - 1.2.19-4
c366f30
- Rebuild for new libgcrypt
c366f30
0125087
* Fri Dec 13 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2.19-3
0125087
- Fix duplicate documentation (#1001250)
0125087
- Turn on verbose build output via V=1 make
0125087
- Use %%?_isa in explicit package deps
0125087
- Fix base package Group tag to "System Environment/Libraries"
0125087
- Remove %%defattr
0125087
97524ac
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.19-2
97524ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
97524ac
217d100
* Mon Mar 25 2013 Daniel Veillard <veillard@redhat.com> - 1.2.19-1
217d100
- Update to upstream release 1.2.19
217d100
4e1ddbe
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.18-4
4e1ddbe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4e1ddbe
5765be3
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.18-3
5765be3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5765be3
ea5b7d4
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.18-2
ea5b7d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ea5b7d4
c717d38
* Thu May 12 2011 Daniel Veillard <veillard@redhat.com> - 1.2.18-1
c717d38
- Update to upstream release 1.2.18
c717d38
2b13ed8
* Mon Apr 11 2011 Daniel Veillard <veillard@redhat.com> - 1.2.17-1
2b13ed8
- Update to upstream release 1.2.17
2b13ed8
- fixes CVE-2011-1425 on xslt file creation
2b13ed8
cf230b7
* Tue Mar 22 2011 Daniel Veillard <veillard@redhat.com> - 1.2.16-4
cf230b7
- Fix missing links to unversioned shared library files 541599
cf230b7
a590c90
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.16-3
a590c90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a590c90
966bbab
* Wed Jun  2 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.2.16-2
966bbab
- add missing BuildRequires: libtool-ltdl-devel
966bbab
78b8cf0
* Wed Jun  2 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.2.16-1
78b8cf0
- update to 1.2.16
78b8cf0
- cleanup spec file
78b8cf0
- disable static libs
78b8cf0
- disable rpath
78b8cf0
- enable gcrypt subpackage
78b8cf0
57dd625
* Wed Aug 26 2009 Tomas Mraz <tmraz@redhat.com> - 1.2.12-2
57b7b33
- rebuilt with new openssl
57b7b33
5361ce4
* Tue Aug 11 2009 Daniel Veillard <veillard@redhat.com> - 1.2.12-1
5361ce4
- update to new upstream release 1.2.12
5361ce4
- includes fix for CVE-2009-0217
5361ce4
- cleanup spec file
5361ce4
6d90dc3
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.11-4
6d90dc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6d90dc3
4d978f2
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.11-3
4d978f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4d978f2
dd3598d
* Sun Jan 18 2009 Tomas Mraz <tmraz@redhat.com> - 1.2.11-2
dd3598d
- rebuild with new openssl
dd3598d
83a6ec9
* Fri Jul 11 2008 Daniel Veillard <veillard@redhat.com> - 1.2.11-1
83a6ec9
- update to new upstream release 1.2.11
83a6ec9
- rebuild for gnutls update
83a6ec9
0f49608
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.9-10.1
0f49608
- Autorebuild for GCC 4.3
0f49608
567b850
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.2.9-9
567b850
 - Rebuild for deps
567b850
b312402
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-8.1
b312402
- rebuild
b312402
0647df1
* Wed Jun 14 2006 Tomas Mraz <tmraz@redhat.com> - 1.2.9-8
0647df1
- rebuilt with new gnutls
0647df1
fc03525
* Thu Jun  8 2006 Daniel Veillard <veillard@redhat.com> - 1.2.9-7
fc03525
- oops libxmlsec1.la was still there, should fix #171410 and #154142
fc03525
a38c476
* Thu Jun  8 2006 Daniel Veillard <veillard@redhat.com> - 1.2.9-6
a38c476
- Ugly patch and sed based changes to work around #192756 xmlsec1-config
a38c476
  multilib problem
a38c476
f39c781
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 1.2.9-5
f39c781
- move .so symlinks to -devel subpackage
f39c781
afde3ff
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-4.2
afde3ff
- bump again for double-long bug on ppc(64)
afde3ff
3472804
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-4.1
3472804
- rebuilt for new gcc4.1 snapshot and glibc changes
3472804
99d9b55
* Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 1.2.9-4
99d9b55
- NSS has been split out of the mozilla package, so require that now
99d9b55
  and update separate_nspr.patch to account for the new NSS as well
99d9b55
a80aea7
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
a80aea7
- rebuilt
a80aea7
27c83f2
* Wed Nov 23 2005 Tomas Mraz <tmraz@redhat.com> 1.2.9-3
27c83f2
- rebuilt due to gnutls library revision
52aee0c
* Wed Nov  9 2005 <veillard@redhat.com> 1.2.9-2
52aee0c
- rebuilt due to openssl library revision
f1ab2ac
* Tue Sep 20 2005 <veillard@redhat.com> 1.2.9-1
f1ab2ac
- update from upstream, release done in July
4c5ddf9
- apparently nss is now available on ppc64
6f5fc8c
* Mon Aug  8 2005 <veillard@redhat.com> 1.2.8-3
4cdea2e
- rebuilt with new gnutls
6f5fc8c
- nspr has been split to a separate package
6cbdc89
* Fri Jul  8 2005 Daniel Veillard <veillard@redhat.com> 1.2.8-2
6cbdc89
- Enabling the mozilla-nss crypto backend
abd8442
* Fri Jul  8 2005 Daniel Veillard <veillard@redhat.com> 1.2.8-1
abd8442
- update from upstream, needed for openoffice
65c7b07
* Tue Mar  8 2005 Daniel Veillard <veillard@redhat.com> 1.2.7-4
65c7b07
- rebuilt with gcc4
9001d7e
* Wed Feb 23 2005 Daniel Veillard <veillard@redhat.com> 1.2.7-1
9001d7e
- Upstream release of 1.2.7, mostly bug fixes plus new functions
9001d7e
  to GetKeys from simple store and X509 handling.
42e25c0
* Wed Feb  9 2005 Daniel Veillard <veillard@redhat.com> 1.2.6-4
42e25c0
- Adding support for GNUTls crypto backend
cvsdist d8c6bfa
* Wed Sep  1 2004 Daniel Veillard <veillard@redhat.com> 1.2.6-3
cvsdist d8c6bfa
- adding missing ldconfig calls
cvsdist d8c6bfa
* Thu Aug 26 2004 Daniel Veillard <veillard@redhat.com> 1.2.6-2
cvsdist dadc03b
- updated with upstream release from Aleksey
cvsdist fb0b646
* Mon Jun 21 2004 Daniel Veillard <veillard@redhat.com> 1.2.5-2
cvsdist fb0b646
- rebuilt
cvsdist 1c10571
* Mon Apr 19 2004 Daniel Veillard <veillard@redhat.com> 1.2.5-1
cvsdist 1c10571
- updated with upstream release from Aleksey
cvsdist cf846c7
* Wed Feb 11 2004 Daniel Veillard <veillard@redhat.com> 1.2.4-1
cvsdist cf846c7
- updated with upstream release from Aleksey
cvsdist 4091a0f
* Tue Jan  6 2004 Daniel Veillard <veillard@redhat.com> 1.2.3-1
cvsdist 4091a0f
- updated with upstream release from Aleksey
cvsdist 4091a0f
* Wed Nov 12 2003 Daniel Veillard <veillard@redhat.com> 1.2.2-1
cvsdist 4091a0f
- updated with upstream release from Aleksey, specific patches should
cvsdist 4091a0f
  have been integrated now.
cvsdist 4091a0f
* Thu Nov  6 2003 Daniel Veillard <veillard@redhat.com> 1.2.1-1
cvsdist 4091a0f
- initial packaging based on the upstream one and libxml2 one.
cvsdist 4091a0f
- desactivated mozilla-nss due to detection/architecture problems