cvsdist 4091a0
Summary: Library providing support for "XML Signature" and "XML Encryption" standards
cvsdist 4091a0
Name: xmlsec1
f1ab2a
Version: 1.2.9
f39c78
Release: 5
cvsdist 4091a0
License: MIT
cvsdist 4091a0
Group: Development/Libraries
cvsdist 4091a0
Source: ftp://ftp.aleksey.com/pub/xmlsec/releases/xmlsec1-%{version}.tar.gz
cvsdist 4091a0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
cvsdist 4091a0
URL: http://www.aleksey.com/xmlsec/
cvsdist dadc03
Requires: libxml2 >= 2.6.0
cvsdist dadc03
Requires: libxslt >= 1.1.0
cvsdist dadc03
BuildRequires: libxml2-devel >= 2.6.0
cvsdist dadc03
BuildRequires: libxslt-devel >= 1.1.0
cvsdist 4091a0
Prefix: %{_prefix}
cvsdist 4091a0
Docdir: %{_docdir}
99d9b5
Patch0: separate_nspr_nss.patch
cvsdist 4091a0
cvsdist 4091a0
%description
cvsdist 4091a0
XML Security Library is a C library based on LibXML2  and OpenSSL. 
cvsdist 4091a0
The library was created with a goal to support major XML security 
cvsdist 4091a0
standards "XML Digital Signature" and "XML Encryption". 
cvsdist 4091a0
cvsdist 4091a0
%package devel 
cvsdist 4091a0
Summary: Libraries, includes, etc. to develop applications with XML Digital Signatures and XML Encryption support.
cvsdist 4091a0
Group: Development/Libraries 
cvsdist 4091a0
Requires: xmlsec1 = %{version}
42e25c
Requires: libxml2-devel >= 2.6.0
42e25c
Requires: libxslt-devel >= 1.1.0
cvsdist 4091a0
Requires: openssl-devel >= 0.9.6
cvsdist 4091a0
Requires: zlib-devel 
cvsdist 4091a0
cvsdist 4091a0
%description devel
cvsdist 4091a0
Libraries, includes, etc. you can use to develop applications with XML Digital 
cvsdist 4091a0
Signatures and XML Encryption support.
cvsdist 4091a0
cvsdist 4091a0
%package openssl
cvsdist 4091a0
Summary: OpenSSL crypto plugin for XML Security Library
cvsdist 4091a0
Group: Development/Libraries 
cvsdist 4091a0
Requires: xmlsec1 = %{version}
42e25c
Requires: libxml2 >= 2.6.0
42e25c
Requires: libxslt >= 1.1.0
cvsdist 4091a0
Requires: openssl >= 0.9.6
cvsdist 4091a0
BuildRequires: openssl-devel >= 0.9.6
cvsdist 4091a0
cvsdist 4091a0
%description openssl
cvsdist 4091a0
OpenSSL plugin for XML Security Library provides OpenSSL based crypto services
cvsdist 4091a0
for the xmlsec library
cvsdist 4091a0
cvsdist d8c6bf
%post openssl
cvsdist d8c6bf
/sbin/ldconfig
cvsdist d8c6bf
cvsdist d8c6bf
%postun openssl
cvsdist d8c6bf
/sbin/ldconfig
cvsdist d8c6bf
cvsdist 4091a0
%package openssl-devel
cvsdist 4091a0
Summary: OpenSSL crypto plugin for XML Security Library
cvsdist 4091a0
Group: Development/Libraries 
cvsdist 4091a0
Requires: xmlsec1 = %{version}
cvsdist 4091a0
Requires: xmlsec1-devel = %{version}
cvsdist 4091a0
Requires: xmlsec1-openssl = %{version}
42e25c
Requires: libxml2-devel >= 2.6.0
42e25c
Requires: libxslt-devel >= 1.1.0
cvsdist 4091a0
Requires: openssl >= 0.9.6
cvsdist 4091a0
Requires: openssl-devel >= 0.9.6
cvsdist 4091a0
cvsdist 4091a0
%description openssl-devel
cvsdist 4091a0
Libraries, includes, etc. for developing XML Security applications with OpenSSL
cvsdist 4091a0
42e25c
%package gnutls
42e25c
Summary: GNUTls crypto plugin for XML Security Library
42e25c
Group: Development/Libraries 
42e25c
Requires: xmlsec1 = %{version}
42e25c
Requires: libxml2 >= 2.6.0
42e25c
Requires: libxslt >= 1.1.0
42e25c
Requires: libgcrypt >= 1.2.0
42e25c
Requires: gnutls >= 1.0.20
42e25c
BuildRequires: libgcrypt-devel >= 1.2.0
42e25c
BuildRequires: gnutls-devel >= 1.0.20
42e25c
42e25c
%description gnutls
42e25c
GNUTls plugin for XML Security Library provides GNUTls based crypto services
42e25c
for the xmlsec library
42e25c
42e25c
%post gnutls
42e25c
/sbin/ldconfig
42e25c
42e25c
%postun gnutls
42e25c
/sbin/ldconfig
42e25c
42e25c
%package gnutls-devel
42e25c
Summary: GNUTls crypto plugin for XML Security Library
42e25c
Group: Development/Libraries 
42e25c
Requires: xmlsec1 = %{version}
42e25c
Requires: xmlsec1-devel = %{version}
42e25c
Requires: xmlsec1-openssl = %{version}
42e25c
Requires: libxml2-devel >= 2.6.0
42e25c
Requires: libxslt-devel >= 1.1.0
42e25c
Requires: libgcrypt >= 1.2.0
42e25c
Requires: gnutls >= 1.0.20
42e25c
Requires: libgcrypt-devel >= 1.2.0
42e25c
Requires: gnutls-devel >= 1.0.20
cvsdist 4091a0
42e25c
%description gnutls-devel
42e25c
Libraries, includes, etc. for developing XML Security applications with GNUTls
42e25c
cvsdist 4091a0
%package nss
cvsdist 4091a0
Summary: NSS crypto plugin for XML Security Library
cvsdist 4091a0
Group: Development/Libraries 
cvsdist 4091a0
Requires: xmlsec1 = %{version}
cvsdist 4091a0
Requires: libxml2 >= 2.4.24
cvsdist 4091a0
Requires: libxslt >= 1.0.20
99d9b5
Requires: nss >= 3.2
6f5fc8
Requires: nspr
99d9b5
BuildRequires: nss-devel >= 3.2
6f5fc8
BuildRequires: nspr-devel
cvsdist 4091a0
cvsdist 4091a0
%description nss
cvsdist 4091a0
NSS plugin for XML Security Library provides NSS based crypto services
cvsdist 4091a0
for the xmlsec library
cvsdist 4091a0
cvsdist 4091a0
%package nss-devel
cvsdist 4091a0
Summary: NSS crypto plugin for XML Security Library
cvsdist 4091a0
Group: Development/Libraries 
cvsdist 4091a0
Requires: xmlsec1 = %{version}
cvsdist 4091a0
Requires: xmlsec1-devel = %{version}
cvsdist 4091a0
Requires: xmlsec1-nss = %{version}
cvsdist 4091a0
Requires: libxml2-devel >= 2.4.24
cvsdist 4091a0
Requires: libxslt-devel >= 1.0.20
99d9b5
Requires: nss-devel >= 3.2
6f5fc8
Requires: nspr-devel
cvsdist 4091a0
cvsdist 4091a0
%description nss-devel
cvsdist 4091a0
Libraries, includes, etc. for developing XML Security applications with NSS
cvsdist 4091a0
cvsdist 4091a0
%prep
cvsdist 4091a0
%setup -q
6f5fc8
%patch0 -p1
cvsdist 4091a0
cvsdist 4091a0
%build
6cbdc8
%configure
cvsdist 4091a0
#
cvsdist 4091a0
# Note: it seems that this may break on older version of Red Hat,
cvsdist 4091a0
#       and that replacing the following line with just "make" can
cvsdist 4091a0
#       fix the problem
cvsdist 4091a0
#
cvsdist 4091a0
make
cvsdist 4091a0
cvsdist 4091a0
%install
cvsdist 4091a0
rm -rf $RPM_BUILD_ROOT
cvsdist 4091a0
mkdir -p $RPM_BUILD_ROOT/usr/bin
cvsdist 4091a0
mkdir -p $RPM_BUILD_ROOT/usr/include/xmlsec1
cvsdist 4091a0
mkdir -p $RPM_BUILD_ROOT/usr/lib
cvsdist 4091a0
mkdir -p $RPM_BUILD_ROOT/usr/man/man1
cvsdist 4091a0
cvsdist 4091a0
%makeinstall
cvsdist 4091a0
#make prefix=$RPM_BUILD_ROOT%{prefix} mandir=$RPM_BUILD_ROOT%{_mandir} install
cvsdist 4091a0
cvsdist 4091a0
%clean
cvsdist 4091a0
rm -fr %{buildroot}
cvsdist 4091a0
cvsdist 4091a0
%post
cvsdist 4091a0
/sbin/ldconfig
cvsdist 4091a0
cvsdist 4091a0
%postun
cvsdist 4091a0
/sbin/ldconfig
cvsdist 4091a0
cvsdist 4091a0
%files 
cvsdist 4091a0
%defattr(-, root, root)
cvsdist 4091a0
cvsdist 4091a0
%doc AUTHORS ChangeLog NEWS README Copyright
cvsdist 4091a0
%doc %{_mandir}/man1/xmlsec1.1*
cvsdist 4091a0
cvsdist 4091a0
%{prefix}/lib*/libxmlsec1.so.*
cvsdist 4091a0
%{prefix}/bin/xmlsec1
cvsdist 4091a0
cvsdist 4091a0
%files devel
cvsdist 4091a0
%defattr(-, root, root)  
cvsdist 4091a0
cvsdist 4091a0
%{prefix}/bin/xmlsec1-config
cvsdist 4091a0
%{prefix}/include/xmlsec1/xmlsec/*.h
cvsdist 1c1057
%{prefix}/include/xmlsec1/xmlsec/private/*.h
f39c78
%{prefix}/lib*/libxmlsec1.so
cvsdist 4091a0
%{prefix}/lib*/libxmlsec1.*a
cvsdist 4091a0
%{prefix}/lib*/pkgconfig/xmlsec1.pc
cvsdist 4091a0
%{prefix}/lib*/xmlsec1Conf.sh
cvsdist 4091a0
%{prefix}/share/doc/xmlsec1/* 
cvsdist 4091a0
%doc AUTHORS HACKING ChangeLog NEWS README Copyright
cvsdist 4091a0
%doc %{_mandir}/man1/xmlsec1-config.1*
cvsdist 4091a0
cvsdist 4091a0
%files openssl
cvsdist 4091a0
%defattr(-, root, root)  
cvsdist 4091a0
cvsdist 4091a0
%{prefix}/lib*/libxmlsec1-openssl.so.*
cvsdist 4091a0
cvsdist 4091a0
%files openssl-devel
cvsdist 4091a0
%defattr(-, root, root)  
cvsdist 4091a0
cvsdist 4091a0
%{prefix}/include/xmlsec1/xmlsec/openssl/*.h
cvsdist 4091a0
%{prefix}/lib*/libxmlsec1-openssl.*a
f39c78
%{prefix}/lib*/libxmlsec1-openssl.so
cvsdist 4091a0
%{prefix}/lib*/pkgconfig/xmlsec1-openssl.pc
cvsdist 4091a0
42e25c
%files gnutls
42e25c
%defattr(-, root, root)  
42e25c
42e25c
%{prefix}/lib*/libxmlsec1-gnutls.so.*
42e25c
42e25c
%files gnutls-devel
42e25c
%defattr(-, root, root)  
42e25c
42e25c
%{prefix}/include/xmlsec1/xmlsec/gnutls/*.h
42e25c
%{prefix}/lib*/libxmlsec1-gnutls.*a
f39c78
%{prefix}/lib*/libxmlsec1-gnutls.so
42e25c
%{prefix}/lib*/pkgconfig/xmlsec1-gnutls.pc
42e25c
cvsdist 4091a0
%files nss
cvsdist 4091a0
%defattr(-, root, root)  
cvsdist 4091a0
cvsdist 4091a0
%{prefix}/lib*/libxmlsec1-nss.so.*
cvsdist 4091a0
cvsdist 4091a0
%files nss-devel
cvsdist 4091a0
%defattr(-, root, root)  
cvsdist 4091a0
cvsdist 4091a0
%{prefix}/include/xmlsec1/xmlsec/nss/*.h
cvsdist 4091a0
%{prefix}/lib*/libxmlsec1-nss.*a
f39c78
%{prefix}/lib*/libxmlsec1-nss.so
cvsdist 4091a0
%{prefix}/lib*/pkgconfig/xmlsec1-nss.pc
cvsdist 4091a0
cvsdist 4091a0
%changelog
f39c78
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 1.2.9-5
f39c78
- move .so symlinks to -devel subpackage
f39c78
afde3f
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-4.2
afde3f
- bump again for double-long bug on ppc(64)
afde3f
347280
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-4.1
347280
- rebuilt for new gcc4.1 snapshot and glibc changes
347280
99d9b5
* Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 1.2.9-4
99d9b5
- NSS has been split out of the mozilla package, so require that now
99d9b5
  and update separate_nspr.patch to account for the new NSS as well
99d9b5
a80aea
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
a80aea
- rebuilt
a80aea
27c83f
* Wed Nov 23 2005 Tomas Mraz <tmraz@redhat.com> 1.2.9-3
27c83f
- rebuilt due to gnutls library revision
52aee0
* Wed Nov  9 2005 <veillard@redhat.com> 1.2.9-2
52aee0
- rebuilt due to openssl library revision
f1ab2a
* Tue Sep 20 2005 <veillard@redhat.com> 1.2.9-1
f1ab2a
- update from upstream, release done in July
4c5ddf
- apparently nss is now available on ppc64
6f5fc8
* Mon Aug  8 2005 <veillard@redhat.com> 1.2.8-3
4cdea2
- rebuilt with new gnutls
6f5fc8
- nspr has been split to a separate package
6cbdc8
* Fri Jul  8 2005 Daniel Veillard <veillard@redhat.com> 1.2.8-2
6cbdc8
- Enabling the mozilla-nss crypto backend
abd844
* Fri Jul  8 2005 Daniel Veillard <veillard@redhat.com> 1.2.8-1
abd844
- update from upstream, needed for openoffice
65c7b0
* Tue Mar  8 2005 Daniel Veillard <veillard@redhat.com> 1.2.7-4
65c7b0
- rebuilt with gcc4
9001d7
* Wed Feb 23 2005 Daniel Veillard <veillard@redhat.com> 1.2.7-1
9001d7
- Upstream release of 1.2.7, mostly bug fixes plus new functions
9001d7
  to GetKeys from simple store and X509 handling.
42e25c
* Wed Feb  9 2005 Daniel Veillard <veillard@redhat.com> 1.2.6-4
42e25c
- Adding support for GNUTls crypto backend
cvsdist d8c6bf
* Wed Sep  1 2004 Daniel Veillard <veillard@redhat.com> 1.2.6-3
cvsdist d8c6bf
- adding missing ldconfig calls
cvsdist d8c6bf
* Thu Aug 26 2004 Daniel Veillard <veillard@redhat.com> 1.2.6-2
cvsdist dadc03
- updated with upstream release from Aleksey
cvsdist fb0b64
* Mon Jun 21 2004 Daniel Veillard <veillard@redhat.com> 1.2.5-2
cvsdist fb0b64
- rebuilt
cvsdist 1c1057
* Mon Apr 19 2004 Daniel Veillard <veillard@redhat.com> 1.2.5-1
cvsdist 1c1057
- updated with upstream release from Aleksey
cvsdist cf846c
* Wed Feb 11 2004 Daniel Veillard <veillard@redhat.com> 1.2.4-1
cvsdist cf846c
- updated with upstream release from Aleksey
cvsdist 4091a0
* Tue Jan  6 2004 Daniel Veillard <veillard@redhat.com> 1.2.3-1
cvsdist 4091a0
- updated with upstream release from Aleksey
cvsdist 4091a0
* Wed Nov 12 2003 Daniel Veillard <veillard@redhat.com> 1.2.2-1
cvsdist 4091a0
- updated with upstream release from Aleksey, specific patches should
cvsdist 4091a0
  have been integrated now.
cvsdist 4091a0
* Thu Nov  6 2003 Daniel Veillard <veillard@redhat.com> 1.2.1-1
cvsdist 4091a0
- initial packaging based on the upstream one and libxml2 one.
cvsdist 4091a0
- desactivated mozilla-nss due to detection/architecture problems