From 316257608c72c437b3ab11ffd5b92ec31ae9b1b5 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 12 Apr 2023 07:19:04 +0000 Subject: automatic import of python-mayan-edms --- .gitignore | 1 + python-mayan-edms.spec | 149 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 151 insertions(+) create mode 100644 python-mayan-edms.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..4d4556c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/mayan-edms-4.4.5.tar.gz diff --git a/python-mayan-edms.spec b/python-mayan-edms.spec new file mode 100644 index 0000000..c3454c9 --- /dev/null +++ b/python-mayan-edms.spec @@ -0,0 +1,149 @@ +%global _empty_manifest_terminate_build 0 +Name: python-mayan-edms +Version: 4.4.5 +Release: 1 +Summary: Free Open Source Electronic Document Management System +License: Apache 2.0 +URL: https://www.mayan-edms.com +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8c/79/0f0821fa102dd61b40feba4667392c3d31a369d5a648ea4b3a08f1bfa207/mayan-edms-4.4.5.tar.gz +BuildArch: noarch + +Requires: python3-CairoSVG +Requires: python3-Pillow +Requires: python3-PyPDF2 +Requires: python3-PyYAML +Requires: python3-Whoosh +Requires: python3-bleach +Requires: python3-boto3 +Requires: python3-celery +Requires: python3-dateparser +Requires: python3-django-activity-stream +Requires: python3-django-auth-ldap +Requires: python3-django-celery-beat +Requires: python3-django-cors-headers +Requires: python3-django-formtools +Requires: python3-django-mathfilters +Requires: python3-django-model-utils +Requires: python3-django-mptt +Requires: python3-django-qsstats-magic +Requires: python3-django-solo +Requires: python3-django-storages +Requires: python3-django-stronghold +Requires: python3-django-widget-tweaks +Requires: python3-django +Requires: python3-djangorestframework-recursive +Requires: python3-djangorestframework +Requires: python3-drf-yasg +Requires: python3-elasticsearch-dsl +Requires: python3-elasticsearch +Requires: python3-extract-msg +Requires: python3-flanker +Requires: python3-flex +Requires: python3-furl +Requires: python3-fusepy +Requires: python3-gevent +Requires: python3-graphviz +Requires: python3-gunicorn +Requires: python3-importlib-metadata +Requires: python3-jsonschema +Requires: python3-mozilla-django-oidc +Requires: python3-node-semver +Requires: python3-pycountry +Requires: python3-pycryptodome +Requires: python3-pyotp +Requires: python3-dateutil +Requires: python3-magic +Requires: python3-gnupg +Requires: python3-pytz +Requires: python3-qrcode +Requires: python3-requests +Requires: python3-sentry-sdk +Requires: python3-sh +Requires: python3-swagger-spec-validator +Requires: python3-whitenoise + +%description +- Merge version 4.3.6 documents app migration 80 workaround. + Update migration 80 of the documents app to ensure the stored size of the + converted document file size does not exceed the ``PositiveIntegerField`` + database field maximum value of 2147483647 + (https://docs.djangoproject.com/en/4.1/ref/models/fields/#positiveintegerfield). +- Merges from version 4.3.7: + - GitOps improvements. + - Move the helper module ``version.py`` to the dependencies app. + - Add OCI metadata annotations. + +%package -n python3-mayan-edms +Summary: Free Open Source Electronic Document Management System +Provides: python-mayan-edms +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-mayan-edms +- Merge version 4.3.6 documents app migration 80 workaround. + Update migration 80 of the documents app to ensure the stored size of the + converted document file size does not exceed the ``PositiveIntegerField`` + database field maximum value of 2147483647 + (https://docs.djangoproject.com/en/4.1/ref/models/fields/#positiveintegerfield). +- Merges from version 4.3.7: + - GitOps improvements. + - Move the helper module ``version.py`` to the dependencies app. + - Add OCI metadata annotations. + +%package help +Summary: Development documents and examples for mayan-edms +Provides: python3-mayan-edms-doc +%description help +- Merge version 4.3.6 documents app migration 80 workaround. + Update migration 80 of the documents app to ensure the stored size of the + converted document file size does not exceed the ``PositiveIntegerField`` + database field maximum value of 2147483647 + (https://docs.djangoproject.com/en/4.1/ref/models/fields/#positiveintegerfield). +- Merges from version 4.3.7: + - GitOps improvements. + - Move the helper module ``version.py`` to the dependencies app. + - Add OCI metadata annotations. + +%prep +%autosetup -n mayan-edms-4.4.5 + +%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-mayan-edms -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot - 4.4.5-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..ea4af56 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +486f65f46fe7d9ad4ae2dd82f3f53416 mayan-edms-4.4.5.tar.gz -- cgit v1.2.3