From b1a45b7c8d00d7e1feabf6ad8fe34cd004c6bc03 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 11 Apr 2023 03:22:45 +0000 Subject: automatic import of python-matrix-synapse --- .gitignore | 1 + python-matrix-synapse.spec | 120 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 122 insertions(+) create mode 100644 python-matrix-synapse.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..ad72df8 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/matrix_synapse-1.80.0.tar.gz diff --git a/python-matrix-synapse.spec b/python-matrix-synapse.spec new file mode 100644 index 0000000..95fa685 --- /dev/null +++ b/python-matrix-synapse.spec @@ -0,0 +1,120 @@ +%global _empty_manifest_terminate_build 0 +Name: python-matrix-synapse +Version: 1.80.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/05/86/81d65cd2128afd473f8d3dab72c6ce143f45e33fe183cce2b351e8926efc/matrix_synapse-1.80.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-frozendict +Requires: python3-hiredis +Requires: python3-idna +Requires: python3-ijson +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.80.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 +* Tue Apr 11 2023 Python_Bot - 1.80.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..ad2a7b0 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +44f7eb86669cc892db69743dc10a3cfe matrix_synapse-1.80.0.tar.gz -- cgit v1.2.3