summaryrefslogtreecommitdiff
path: root/python-django-logpipe.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 12:12:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 12:12:55 +0000
commitf75f3c02f876388a49d21ae43a3d16998b6a8705 (patch)
tree007b820dfa0584eac6bd3b001c9a57518b2e1600 /python-django-logpipe.spec
parent17758c633584faeb369f8c7975aebd526b090d69 (diff)
automatic import of python-django-logpipeopeneuler20.03
Diffstat (limited to 'python-django-logpipe.spec')
-rw-r--r--python-django-logpipe.spec85
1 files changed, 85 insertions, 0 deletions
diff --git a/python-django-logpipe.spec b/python-django-logpipe.spec
new file mode 100644
index 0000000..86aa3e7
--- /dev/null
+++ b/python-django-logpipe.spec
@@ -0,0 +1,85 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-logpipe
+Version: 1.2.0
+Release: 1
+Summary: Move data around between Python services using Kafka and/or AWS Kinesis and Django Rest Framework serializers.
+License: ISC
+URL: https://gitlab.com/thelabnyc/django-logpipe
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f3/04/a5879028178fe9c51cc6aae06b5a374564b9d436a034b220c9758562393f/django-logpipe-1.2.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-Django
+Requires: python3-djangorestframework
+Requires: python3-lru-dict
+Requires: python3-flake8
+Requires: python3-moto
+Requires: python3-boto3
+Requires: python3-psycopg2-binary
+Requires: python3-tox
+Requires: python3-versiontag
+Requires: python3-pytz
+Requires: python3-kafka-python
+Requires: python3-boto3
+Requires: python3-msgpack-python
+
+%description
+
+
+%package -n python3-django-logpipe
+Summary: Move data around between Python services using Kafka and/or AWS Kinesis and Django Rest Framework serializers.
+Provides: python-django-logpipe
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-logpipe
+
+
+%package help
+Summary: Development documents and examples for django-logpipe
+Provides: python3-django-logpipe-doc
+%description help
+
+
+%prep
+%autosetup -n django-logpipe-1.2.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-django-logpipe -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.0-1
+- Package Spec generated