%global _empty_manifest_terminate_build 0 Name: python-signxml Version: 3.1.1 Release: 1 Summary: Python XML Signature and XAdES library License: Apache Software License URL: https://github.com/kislyuk/signxml Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8a/6f/64aa3a1a67abe8f00b4fed3f85f64a24a6915e720a8bfbf0cde19e1f48d0/signxml-3.1.1.tar.gz BuildArch: noarch Requires: python3-lxml Requires: python3-cryptography Requires: python3-pyOpenSSL Requires: python3-certifi Requires: python3-ruff Requires: python3-coverage Requires: python3-build Requires: python3-wheel Requires: python3-mypy Requires: python3-lxml-stubs %description *SignXML* is an implementation of the W3C `XML Signature `_ standard in Python. This standard (also known as "XMLDSig") is used to provide payload security in `SAML 2.0 `_, `XAdES `_, and `WS-Security `_, among other uses. The standard is defined in the `W3C Recommendation `_ `XML Signature Syntax and Processing Version 1.1 `_. *SignXML* implements all of the required components of the Version 1.1 standard, and most recommended ones. Its features are: * Use of a libxml2-based XML parser configured to defend against `common XML attacks `_ when verifying signatures * Extensions to allow signing with and verifying X.509 certificate chains, including hostname/CN validation * Extensions to sign and verify `XAdES `_ signatures * Support for exclusive XML canonicalization with inclusive prefixes (`InclusiveNamespaces PrefixList `_, required to verify signatures generated by some SAML implementations) * Modern Python compatibility (3.7-3.11+ and PyPy) * Well-supported, portable, reliable dependencies: `lxml `_, `cryptography `_, `pyOpenSSL `_ * Comprehensive testing (including the XMLDSig interoperability suite) and `continuous integration `_ * Simple interface with useful, ergonomic, and secure defaults (no network calls, XSLT or XPath transforms) * Compactness, readability, and extensibility %package -n python3-signxml Summary: Python XML Signature and XAdES library Provides: python-signxml BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-signxml *SignXML* is an implementation of the W3C `XML Signature `_ standard in Python. This standard (also known as "XMLDSig") is used to provide payload security in `SAML 2.0 `_, `XAdES `_, and `WS-Security `_, among other uses. The standard is defined in the `W3C Recommendation `_ `XML Signature Syntax and Processing Version 1.1 `_. *SignXML* implements all of the required components of the Version 1.1 standard, and most recommended ones. Its features are: * Use of a libxml2-based XML parser configured to defend against `common XML attacks `_ when verifying signatures * Extensions to allow signing with and verifying X.509 certificate chains, including hostname/CN validation * Extensions to sign and verify `XAdES `_ signatures * Support for exclusive XML canonicalization with inclusive prefixes (`InclusiveNamespaces PrefixList `_, required to verify signatures generated by some SAML implementations) * Modern Python compatibility (3.7-3.11+ and PyPy) * Well-supported, portable, reliable dependencies: `lxml `_, `cryptography `_, `pyOpenSSL `_ * Comprehensive testing (including the XMLDSig interoperability suite) and `continuous integration `_ * Simple interface with useful, ergonomic, and secure defaults (no network calls, XSLT or XPath transforms) * Compactness, readability, and extensibility %package help Summary: Development documents and examples for signxml Provides: python3-signxml-doc %description help *SignXML* is an implementation of the W3C `XML Signature `_ standard in Python. This standard (also known as "XMLDSig") is used to provide payload security in `SAML 2.0 `_, `XAdES `_, and `WS-Security `_, among other uses. The standard is defined in the `W3C Recommendation `_ `XML Signature Syntax and Processing Version 1.1 `_. *SignXML* implements all of the required components of the Version 1.1 standard, and most recommended ones. Its features are: * Use of a libxml2-based XML parser configured to defend against `common XML attacks `_ when verifying signatures * Extensions to allow signing with and verifying X.509 certificate chains, including hostname/CN validation * Extensions to sign and verify `XAdES `_ signatures * Support for exclusive XML canonicalization with inclusive prefixes (`InclusiveNamespaces PrefixList `_, required to verify signatures generated by some SAML implementations) * Modern Python compatibility (3.7-3.11+ and PyPy) * Well-supported, portable, reliable dependencies: `lxml `_, `cryptography `_, `pyOpenSSL `_ * Comprehensive testing (including the XMLDSig interoperability suite) and `continuous integration `_ * Simple interface with useful, ergonomic, and secure defaults (no network calls, XSLT or XPath transforms) * Compactness, readability, and extensibility %prep %autosetup -n signxml-3.1.1 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-signxml -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Apr 11 2023 Python_Bot - 3.1.1-1 - Package Spec generated