summaryrefslogtreecommitdiff
path: root/python-assemblyline-core.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-assemblyline-core.spec')
-rw-r--r--python-assemblyline-core.spec189
1 files changed, 189 insertions, 0 deletions
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