%global _empty_manifest_terminate_build 0 Name: python-matrix-synapse Version: 1.81.0 Release: 1 Summary: Homeserver for the Matrix decentralised comms protocol License: Apache-2.0 URL: https://github.com/matrix-org/synapse Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8a/f2/19220b79392969f80a468052f73871c81c70b04f719598d1499930bd753a/matrix_synapse-1.81.0.tar.gz BuildArch: noarch Requires: python3-Jinja2 Requires: python3-Pillow Requires: python3-PyYAML Requires: python3-Pympler Requires: python3-Twisted[tls] Requires: python3-attrs Requires: python3-authlib Requires: python3-bcrypt Requires: python3-bleach Requires: python3-canonicaljson Requires: python3-cryptography Requires: python3-hiredis Requires: python3-idna Requires: python3-ijson Requires: python3-immutabledict Requires: python3-importlib_metadata Requires: python3-jaeger-client Requires: python3-jsonschema Requires: python3-lxml Requires: python3-matrix-common Requires: python3-matrix-synapse-ldap3 Requires: python3-msgpack Requires: python3-netaddr Requires: python3-opentracing Requires: python3-packaging Requires: python3-parameterized Requires: python3-phonenumbers Requires: python3-prometheus-client Requires: python3-psycopg2 Requires: python3-psycopg2cffi Requires: python3-psycopg2cffi-compat Requires: python3-pyOpenSSL Requires: python3-pyasn1 Requires: python3-pyasn1-modules Requires: python3-pydantic Requires: python3-pyicu Requires: python3-pymacaroons Requires: python3-pysaml2 Requires: python3-sentry-sdk Requires: python3-service-identity Requires: python3-setuptools_rust Requires: python3-signedjson Requires: python3-sortedcontainers Requires: python3-systemd-python Requires: python3-treq Requires: python3-txredisapi Requires: python3-typing-extensions Requires: python3-unpaddedbase64 %description %package -n python3-matrix-synapse Summary: Homeserver for the Matrix decentralised comms protocol Provides: python-matrix-synapse BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-matrix-synapse %package help Summary: Development documents and examples for matrix-synapse Provides: python3-matrix-synapse-doc %description help %prep %autosetup -n matrix-synapse-1.81.0 %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-matrix-synapse -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Sun Apr 23 2023 Python_Bot - 1.81.0-1 - Package Spec generated