173 lines
6.2 KiB
RPMSpec
173 lines
6.2 KiB
RPMSpec
Summary: C++ Implementation of W3C security standards for XML
|
|
Name: xml-security-c
|
|
Version: 1.7.3
|
|
Release: 4%{?dist}
|
|
License: ASL 2.0
|
|
URL: http://santuario.apache.org/c/
|
|
Source: http://www.apache.org/dist/santuario/c-library/xml-security-c-%{version}.tar.gz
|
|
Patch0: %{name}-cxx11.patch
|
|
Patch1: %{name}-ac_fixes.patch
|
|
Patch2: https://raw.githubusercontent.com/open-eid/libdigidocpp/master/xml-security-c-1.7.3_openssl1.1.patch
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: libstdc++-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: xalan-c-devel
|
|
BuildRequires: xerces-c-devel
|
|
|
|
%description
|
|
The xml-security-c library is a C++ implementation of the XML Digital
|
|
Signature specification. The library makes use of the Apache XML project's
|
|
Xerces-C XML Parser and Xalan-C XSLT processor. The latter is used for
|
|
processing XPath and XSLT transforms.
|
|
|
|
%package devel
|
|
Summary: Development files for xml-security-c
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Requires: libstdc++-devel
|
|
Requires: openssl-devel
|
|
Requires: xalan-c-devel
|
|
Requires: xerces-c-devel
|
|
|
|
%description devel
|
|
This package provides development files for xml-security-c, a C++ library
|
|
for XML Digital Signatures.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
autoreconf -fiv
|
|
%configure \
|
|
--disable-debug \
|
|
--disable-static \
|
|
--without-nss \
|
|
--with-openssl \
|
|
--with-xalan \
|
|
%{nil}
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%check
|
|
./xsec/xtest
|
|
|
|
%files
|
|
%attr(755,root,root) %{_libdir}/libxml-security-c.so.*
|
|
|
|
%files devel
|
|
%license LICENSE.txt
|
|
%doc CHANGELOG.txt NOTICE.txt
|
|
%exclude %{_bindir}/*
|
|
%attr(755,root,root) %{_libdir}/libxml-security-c.so
|
|
%exclude %{_libdir}/*.la
|
|
%{_includedir}/xsec
|
|
|
|
%changelog
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Wed Jan 31 2018 Tomasz Kłoczko <kloczek@fedoraproject.org> - 1.7.3-3
|
|
- remove ldconfig scriptlets
|
|
- more cleanups
|
|
|
|
* Wed Aug 30 2017 Tomasz Kłoczko <kloczek@fedoraproject.org> - 1.7.3-2
|
|
- added patch which allows build xml-security-c against openssl 1.1
|
|
- added ac_fixes patch: do not use sed to remove hardcoded compile
|
|
options. Use patch because you will never know is such correction
|
|
still needed (added autoconf, automake and libtool to BuildRequires)
|
|
- added libstdc++-devel to BuildReqires and to devel Requires
|
|
- add explicit all %%configure options to prevent build by mistake package
|
|
against nss and force use openssl
|
|
- added --disable-debug to %%configure options
|
|
- added use %%autosetup in %%prep
|
|
- do not waste IOs on remove not packaged files and add them %%files
|
|
with %%exclude
|
|
- indent and clean spec (move patch comments to the patch)
|
|
|
|
* Tue Aug 29 2017 Kalev Lember <klember@redhat.com> - 1.7.3-1
|
|
- Update to 1.7.3
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-15
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-14
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-13
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Tue Feb 02 2016 Jonathan Wakely <jwakely@redhat.com> - 1.6.1-11
|
|
- Patched for C++11 compatibility
|
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.6.1-9
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Fri Oct 11 2013 Antti Andreimann <Antti.Andreimann@mail.ee> - 1.6.1-6
|
|
- Rebuild for xalan-c 110 to 111 .so bump
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Thu Jul 7 2011 Steve Traylen <steve.traylen@cern.ch> 1.6.1-1
|
|
- New upstream release, Correct source URL.
|
|
|
|
* Wed Mar 16 2011 Antti Andreimann <Antti.Andreimann@mail.ee> 1.6.0-1
|
|
- New upstream release
|
|
|
|
* Thu Mar 10 2011 Kalev Lember <kalev@smartlink.ee> - 1.5.1-5
|
|
- Rebuilt with xerces-c 3.1
|
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Sat Feb 06 2010 steve.traylen@cern.ch - 1.5.1-3
|
|
- Rebuild for xerces 2 to 3 .so bump
|
|
|
|
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.5.1-2
|
|
- rebuilt with new openssl
|
|
|
|
* Tue Jul 28 2009 Antti Andreimann <Antti.Andreimann@mail.ee> 1.5.1-1
|
|
- New upstream relase (#513078)
|
|
- Fixes CVE-2009-0217 (#511915)
|
|
|
|
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Mon Jul 06 2009 Antti Andreimann <Antti.Andreimann@mail.ee> - 1.5.0-1
|
|
- New upstream release
|
|
|
|
* Tue Apr 28 2009 Antti Andreimann <Antti.Andreimann@mail.ee> - 1.4.0-2
|
|
- Execute sed magic against configure instead of configure.ac to
|
|
avoid calling autotools
|
|
- Removed build dependency on autotools.
|
|
- Do not ship test binaries (not needed for end-users)
|
|
- Added proper dependencies for devel sub-package
|
|
- Added CPPROG="cp -p" to preserve header file timestamps.
|
|
|
|
* Mon Mar 30 2009 Antti Andreimann <Antti.Andreimann@mail.ee> - 1.4.0-1
|
|
- Initial RPM release.
|