summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 03:40:15 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 03:40:15 +0000
commit4f03be7a14fedf8714229f9eb1c21dc124b366c9 (patch)
tree1b2f0196bf0492cd7d4226d5055386ed9735b9ee
parent8198b4ac09fb67298aa25fbf4f59c378baabbb13 (diff)
automatic import of python-assemblyline-core
-rw-r--r--.gitignore1
-rw-r--r--python-assemblyline-core.spec189
-rw-r--r--sources1
3 files changed, 191 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a866f2a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/assemblyline-core-4.4.0.4.tar.gz
diff --git a/python-assemblyline-core.spec b/python-assemblyline-core.spec
new file mode 100644
index 0000000..9bba933
--- /dev/null
+++ b/python-assemblyline-core.spec
@@ -0,0 +1,189 @@
+%global _empty_manifest_terminate_build 0
+Name: python-assemblyline-core
+Version: 4.4.0.4
+Release: 1
+Summary: Assemblyline 4 - Core components
+License: MIT
+URL: https://github.com/CybercentreCanada/assemblyline-core/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7e/6e/4cf85ce9c8debfd5e36b5ae9297b5df982c2873a07e5af1df5efaaa6c1ce/assemblyline-core-4.4.0.4.tar.gz
+BuildArch: noarch
+
+
+%description
+# Assemblyline 4 - Core services
+
+This repository provides cores services for Assemblyline 4.
+
+#### Core Services
+
+##### Alerter
+
+Create alerts for the different submissions in the system.
+
+##### Dispatcher
+
+Route the files in the system while a submission is tacking place. Make sure all files during a submission are completed by all required services.
+
+##### Expiry
+
+Delete submissions and their results when their TTL expires.
+
+##### Ingester
+
+Move ingested files from the priority queues to the processing queues.
+
+##### Metrics
+
+Generates metrics of the different components in the system.
+
+##### Scaler
+
+Spin up and down services in the system depending on the load.
+
+##### Updater
+
+Make sure the different services get their latest update files.
+
+##### Workflow
+
+Run the different workflows in the system and apply their labels, priority and status.
+
+
+
+
+%package -n python3-assemblyline-core
+Summary: Assemblyline 4 - Core components
+Provides: python-assemblyline-core
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-assemblyline-core
+# Assemblyline 4 - Core services
+
+This repository provides cores services for Assemblyline 4.
+
+#### Core Services
+
+##### Alerter
+
+Create alerts for the different submissions in the system.
+
+##### Dispatcher
+
+Route the files in the system while a submission is tacking place. Make sure all files during a submission are completed by all required services.
+
+##### Expiry
+
+Delete submissions and their results when their TTL expires.
+
+##### Ingester
+
+Move ingested files from the priority queues to the processing queues.
+
+##### Metrics
+
+Generates metrics of the different components in the system.
+
+##### Scaler
+
+Spin up and down services in the system depending on the load.
+
+##### Updater
+
+Make sure the different services get their latest update files.
+
+##### Workflow
+
+Run the different workflows in the system and apply their labels, priority and status.
+
+
+
+
+%package help
+Summary: Development documents and examples for assemblyline-core
+Provides: python3-assemblyline-core-doc
+%description help
+# Assemblyline 4 - Core services
+
+This repository provides cores services for Assemblyline 4.
+
+#### Core Services
+
+##### Alerter
+
+Create alerts for the different submissions in the system.
+
+##### Dispatcher
+
+Route the files in the system while a submission is tacking place. Make sure all files during a submission are completed by all required services.
+
+##### Expiry
+
+Delete submissions and their results when their TTL expires.
+
+##### Ingester
+
+Move ingested files from the priority queues to the processing queues.
+
+##### Metrics
+
+Generates metrics of the different components in the system.
+
+##### Scaler
+
+Spin up and down services in the system depending on the load.
+
+##### Updater
+
+Make sure the different services get their latest update files.
+
+##### Workflow
+
+Run the different workflows in the system and apply their labels, priority and status.
+
+
+
+
+%prep
+%autosetup -n assemblyline-core-4.4.0.4
+
+%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-assemblyline-core -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 4.4.0.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b9eea4d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3c8fdbe965d5a09b55825cac7cb92700 assemblyline-core-4.4.0.4.tar.gz