cvsdist 4091a0f
Summary: Library providing support for "XML Signature" and "XML Encryption" standards
cvsdist 4091a0f
Name: xmlsec1
f1ab2ac
Version: 1.2.9
f39c781
Release: 5
cvsdist 4091a0f
License: MIT
cvsdist 4091a0f
Group: Development/Libraries
cvsdist 4091a0f
Source: ftp://ftp.aleksey.com/pub/xmlsec/releases/xmlsec1-%{version}.tar.gz
cvsdist 4091a0f
BuildRoot: %{_tmppath}/%{name}-%{version}-root
cvsdist 4091a0f
URL: http://www.aleksey.com/xmlsec/
cvsdist dadc03b
Requires: libxml2 >= 2.6.0
cvsdist dadc03b
Requires: libxslt >= 1.1.0
cvsdist dadc03b
BuildRequires: libxml2-devel >= 2.6.0
cvsdist dadc03b
BuildRequires: libxslt-devel >= 1.1.0
cvsdist 4091a0f
Prefix: %{_prefix}
cvsdist 4091a0f
Docdir: %{_docdir}
99d9b55
Patch0: separate_nspr_nss.patch
cvsdist 4091a0f
cvsdist 4091a0f
%description
cvsdist 4091a0f
XML Security Library is a C library based on LibXML2  and OpenSSL. 
cvsdist 4091a0f
The library was created with a goal to support major XML security 
cvsdist 4091a0f
standards "XML Digital Signature" and "XML Encryption". 
cvsdist 4091a0f
cvsdist 4091a0f
%package devel 
cvsdist 4091a0f
Summary: Libraries, includes, etc. to develop applications with XML Digital Signatures and XML Encryption support.
cvsdist 4091a0f
Group: Development/Libraries 
cvsdist 4091a0f
Requires: xmlsec1 = %{version}
42e25c0
Requires: libxml2-devel >= 2.6.0
42e25c0
Requires: libxslt-devel >= 1.1.0
cvsdist 4091a0f
Requires: openssl-devel >= 0.9.6
cvsdist 4091a0f
Requires: zlib-devel 
cvsdist 4091a0f
cvsdist 4091a0f
%description devel
cvsdist 4091a0f
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
cvsdist 4091a0f
Group: Development/Libraries 
cvsdist 4091a0f
Requires: xmlsec1 = %{version}
42e25c0
Requires: libxml2 >= 2.6.0
42e25c0
Requires: libxslt >= 1.1.0
cvsdist 4091a0f
Requires: openssl >= 0.9.6
cvsdist 4091a0f
BuildRequires: openssl-devel >= 0.9.6
cvsdist 4091a0f
cvsdist 4091a0f
%description openssl
cvsdist 4091a0f
OpenSSL plugin for XML Security Library provides OpenSSL based crypto services
cvsdist 4091a0f
for the xmlsec library
cvsdist 4091a0f
cvsdist d8c6bfa
%post openssl
cvsdist d8c6bfa
/sbin/ldconfig
cvsdist d8c6bfa
cvsdist d8c6bfa
%postun openssl
cvsdist d8c6bfa
/sbin/ldconfig
cvsdist d8c6bfa
cvsdist 4091a0f
%package openssl-devel
cvsdist 4091a0f
Summary: OpenSSL crypto plugin for XML Security Library
cvsdist 4091a0f
Group: Development/Libraries 
cvsdist 4091a0f
Requires: xmlsec1 = %{version}
cvsdist 4091a0f
Requires: xmlsec1-devel = %{version}
cvsdist 4091a0f
Requires: xmlsec1-openssl = %{version}
42e25c0
Requires: libxml2-devel >= 2.6.0
42e25c0
Requires: libxslt-devel >= 1.1.0
cvsdist 4091a0f
Requires: openssl >= 0.9.6
cvsdist 4091a0f
Requires: openssl-devel >= 0.9.6
cvsdist 4091a0f
cvsdist 4091a0f
%description openssl-devel
cvsdist 4091a0f
Libraries, includes, etc. for developing XML Security applications with OpenSSL
cvsdist 4091a0f
42e25c0
%package gnutls
42e25c0
Summary: GNUTls crypto plugin for XML Security Library
42e25c0
Group: Development/Libraries 
42e25c0
Requires: xmlsec1 = %{version}
42e25c0
Requires: libxml2 >= 2.6.0
42e25c0
Requires: libxslt >= 1.1.0
42e25c0
Requires: libgcrypt >= 1.2.0
42e25c0
Requires: gnutls >= 1.0.20
42e25c0
BuildRequires: libgcrypt-devel >= 1.2.0
42e25c0
BuildRequires: gnutls-devel >= 1.0.20
42e25c0
42e25c0
%description gnutls
42e25c0
GNUTls plugin for XML Security Library provides GNUTls based crypto services
42e25c0
for the xmlsec library
42e25c0
42e25c0
%post gnutls
42e25c0
/sbin/ldconfig
42e25c0
42e25c0
%postun gnutls
42e25c0
/sbin/ldconfig
42e25c0
42e25c0
%package gnutls-devel
42e25c0
Summary: GNUTls crypto plugin for XML Security Library
42e25c0
Group: Development/Libraries 
42e25c0
Requires: xmlsec1 = %{version}
42e25c0
Requires: xmlsec1-devel = %{version}
42e25c0
Requires: xmlsec1-openssl = %{version}
42e25c0
Requires: libxml2-devel >= 2.6.0
42e25c0
Requires: libxslt-devel >= 1.1.0
42e25c0
Requires: libgcrypt >= 1.2.0
42e25c0
Requires: gnutls >= 1.0.20
42e25c0
Requires: libgcrypt-devel >= 1.2.0
42e25c0
Requires: gnutls-devel >= 1.0.20
cvsdist 4091a0f
42e25c0
%description gnutls-devel
42e25c0
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
cvsdist 4091a0f
Group: Development/Libraries 
cvsdist 4091a0f
Requires: xmlsec1 = %{version}
cvsdist 4091a0f
Requires: libxml2 >= 2.4.24
cvsdist 4091a0f
Requires: libxslt >= 1.0.20
99d9b55
Requires: nss >= 3.2
6f5fc8c
Requires: nspr
99d9b55
BuildRequires: nss-devel >= 3.2
6f5fc8c
BuildRequires: nspr-devel
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
cvsdist 4091a0f
Group: Development/Libraries 
cvsdist 4091a0f
Requires: xmlsec1 = %{version}
cvsdist 4091a0f
Requires: xmlsec1-devel = %{version}
cvsdist 4091a0f
Requires: xmlsec1-nss = %{version}
cvsdist 4091a0f
Requires: libxml2-devel >= 2.4.24
cvsdist 4091a0f
Requires: libxslt-devel >= 1.0.20
99d9b55
Requires: nss-devel >= 3.2
6f5fc8c
Requires: nspr-devel
cvsdist 4091a0f
cvsdist 4091a0f
%description nss-devel
cvsdist 4091a0f
Libraries, includes, etc. for developing XML Security applications with NSS
cvsdist 4091a0f
cvsdist 4091a0f
%prep
cvsdist 4091a0f
%setup -q
6f5fc8c
%patch0 -p1
cvsdist 4091a0f
cvsdist 4091a0f
%build
6cbdc89
%configure
cvsdist 4091a0f
#
cvsdist 4091a0f
# Note: it seems that this may break on older version of Red Hat,
cvsdist 4091a0f
#       and that replacing the following line with just "make" can
cvsdist 4091a0f
#       fix the problem
cvsdist 4091a0f
#
cvsdist 4091a0f
make
cvsdist 4091a0f
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
cvsdist 4091a0f
mkdir -p $RPM_BUILD_ROOT/usr/lib
cvsdist 4091a0f
mkdir -p $RPM_BUILD_ROOT/usr/man/man1
cvsdist 4091a0f
cvsdist 4091a0f
%makeinstall
cvsdist 4091a0f
#make prefix=$RPM_BUILD_ROOT%{prefix} mandir=$RPM_BUILD_ROOT%{_mandir} install
cvsdist 4091a0f
cvsdist 4091a0f
%clean
cvsdist 4091a0f
rm -fr %{buildroot}
cvsdist 4091a0f
cvsdist 4091a0f
%post
cvsdist 4091a0f
/sbin/ldconfig
cvsdist 4091a0f
cvsdist 4091a0f
%postun
cvsdist 4091a0f
/sbin/ldconfig
cvsdist 4091a0f
cvsdist 4091a0f
%files 
cvsdist 4091a0f
%defattr(-, root, root)
cvsdist 4091a0f
cvsdist 4091a0f
%doc AUTHORS ChangeLog NEWS README Copyright
cvsdist 4091a0f
%doc %{_mandir}/man1/xmlsec1.1*
cvsdist 4091a0f
cvsdist 4091a0f
%{prefix}/lib*/libxmlsec1.so.*
cvsdist 4091a0f
%{prefix}/bin/xmlsec1
cvsdist 4091a0f
cvsdist 4091a0f
%files devel
cvsdist 4091a0f
%defattr(-, root, root)  
cvsdist 4091a0f
cvsdist 4091a0f
%{prefix}/bin/xmlsec1-config
cvsdist 4091a0f
%{prefix}/include/xmlsec1/xmlsec/*.h
cvsdist 1c10571
%{prefix}/include/xmlsec1/xmlsec/private/*.h
f39c781
%{prefix}/lib*/libxmlsec1.so
cvsdist 4091a0f
%{prefix}/lib*/libxmlsec1.*a
cvsdist 4091a0f
%{prefix}/lib*/pkgconfig/xmlsec1.pc
cvsdist 4091a0f
%{prefix}/lib*/xmlsec1Conf.sh
cvsdist 4091a0f
%{prefix}/share/doc/xmlsec1/* 
cvsdist 4091a0f
%doc AUTHORS HACKING ChangeLog NEWS README Copyright
cvsdist 4091a0f
%doc %{_mandir}/man1/xmlsec1-config.1*
cvsdist 4091a0f
cvsdist 4091a0f
%files openssl
cvsdist 4091a0f
%defattr(-, root, root)  
cvsdist 4091a0f
cvsdist 4091a0f
%{prefix}/lib*/libxmlsec1-openssl.so.*
cvsdist 4091a0f
cvsdist 4091a0f
%files openssl-devel
cvsdist 4091a0f
%defattr(-, root, root)  
cvsdist 4091a0f
cvsdist 4091a0f
%{prefix}/include/xmlsec1/xmlsec/openssl/*.h
cvsdist 4091a0f
%{prefix}/lib*/libxmlsec1-openssl.*a
f39c781
%{prefix}/lib*/libxmlsec1-openssl.so
cvsdist 4091a0f
%{prefix}/lib*/pkgconfig/xmlsec1-openssl.pc
cvsdist 4091a0f
42e25c0
%files gnutls
42e25c0
%defattr(-, root, root)  
42e25c0
42e25c0
%{prefix}/lib*/libxmlsec1-gnutls.so.*
42e25c0
42e25c0
%files gnutls-devel
42e25c0
%defattr(-, root, root)  
42e25c0
42e25c0
%{prefix}/include/xmlsec1/xmlsec/gnutls/*.h
42e25c0
%{prefix}/lib*/libxmlsec1-gnutls.*a
f39c781
%{prefix}/lib*/libxmlsec1-gnutls.so
42e25c0
%{prefix}/lib*/pkgconfig/xmlsec1-gnutls.pc
42e25c0
cvsdist 4091a0f
%files nss
cvsdist 4091a0f
%defattr(-, root, root)  
cvsdist 4091a0f
cvsdist 4091a0f
%{prefix}/lib*/libxmlsec1-nss.so.*
cvsdist 4091a0f
cvsdist 4091a0f
%files nss-devel
cvsdist 4091a0f
%defattr(-, root, root)  
cvsdist 4091a0f
cvsdist 4091a0f
%{prefix}/include/xmlsec1/xmlsec/nss/*.h
cvsdist 4091a0f
%{prefix}/lib*/libxmlsec1-nss.*a
f39c781
%{prefix}/lib*/libxmlsec1-nss.so
cvsdist 4091a0f
%{prefix}/lib*/pkgconfig/xmlsec1-nss.pc
cvsdist 4091a0f
cvsdist 4091a0f
%changelog
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