VMware-Photon-OS/SPECS/xml-security-c/xml-security-c.spec

93 lines
2.7 KiB
Plaintext

Summary: C++ XML Signature and Encryption library.
Name: xml-security-c
Version: 2.0.4
Release: 3%{?dist}
License: Apache Software License
URL: https://santuario.apache.org/cindex.html
Group: Applications/System
Vendor: VMware, Inc.
Distribution: Photon
Source0: https://www.apache.org/dyn/closer.lua/santuario/c-library/%{name}-%{version}.tar.bz2
%define sha512 %{name}=a27d76686cc97f7ac60101c562b04b1091b026ac71ed557284cfd91f5b722db97bdc04d7cab65f932c4e34022d15911b0a7cbc7e4c7f3ec1a5860c3f298e1c66
Patch0: Allow-use-of-md5-in-fips-mode.patch
Requires: openssl
Requires: xerces-c
BuildRequires: make
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: libtool
BuildRequires: openssl-devel
BuildRequires: xerces-c-devel
%description
XML-Security-C is the C++ XML Signature and Encryption library from the Apache Software Foundation.
It is used for all XML Signature and Encryption processing in OpenSAML and Shibboleth.
%package devel
Summary: XML Security C library headers
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
This package contains development headers and static library for xml security.
%prep
%autosetup -p1
%build
autoreconf -fiv
%configure \
--disable-debug \
--disable-static \
--without-nss \
--with-openssl
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%check
./xsec/xsec-xtest
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%exclude %{_libdir}/libxml-security-c.la
%changelog
* Sun Nov 19 2023 Shreenidhi Shedi <sshedi@vmware.com> 2.0.4-3
- Bump version as a part of openssl upgrade
* Tue Oct 25 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 2.0.4-2
- Bump version as part of xerces-c upgrade
* Wed Jan 05 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.0.4-1
- Upgrade to v2.0.4
- Abort when MD5 is used and fips enabled
* Mon Apr 12 2021 Satya Naga Vasamsetty <svasamsetty@vmware.com> 2.0.2-3
- openssl 3.0.0 compatibility
* Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 2.0.2-2
- openssl 1.1.1
* Wed Jun 10 2020 Gerrit Photon <photon-checkins@vmware.com> 2.0.2-1
- Automatic Version Bump
* Mon Mar 13 2017 Alexey Makhalov <amakhalov@vmware.com> 1.7.3-3
- Patch for gcc-6.3
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.7.3-2
- GA - Bump release of all rpms
* Wed Jan 20 2016 Anish Swaminathan <anishs@vmware.com> 1.7.3-1
- Upgrade version.
* Thu Nov 06 2014 Sharath George <sharathg@vmware.com> 1.5.1-1
- Initial version