Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OpenStack:Upstream:Zed
openstack-mistral
openstack-mistral.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openstack-mistral.spec of Package openstack-mistral
# # spec file for package openstack-mistral # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %if 0%{?rhel} || 0%{?fedora} %global rdo 1 %endif Name: openstack-mistral Version: 15.0.0.0~xrc2~dev3 Release: 0 Summary: Workflow Service for OpenStack cloud License: Apache-2.0 Group: Development/Libraries URL: https://docs.openstack.org/mistral Source0: mistral-stable-zed.tar.gz Source1: openstack-mistral-api.service Source2: openstack-mistral-engine.service Source3: openstack-mistral-executor.service Source7: openstack-mistral.tmpfiles BuildRequires: openstack-macros BuildRequires: python3-ironic-inspector-client BuildRequires: python39-PyJWT BuildRequires: python39-croniter BuildRequires: python39-eventlet BuildRequires: python39-fixtures BuildRequires: python39-jsonschema BuildRequires: python39-kazoo BuildRequires: python39-keystonemiddleware BuildRequires: python39-mistral-lib BuildRequires: python39-networkx BuildRequires: python39-oslo.config BuildRequires: python39-oslo.db BuildRequires: python39-oslo.log BuildRequires: python39-oslo.messaging BuildRequires: python39-oslo.middleware BuildRequires: python39-oslo.policy BuildRequires: python39-oslotest BuildRequires: python39-osprofiler BuildRequires: python39-paramiko BuildRequires: python39-pbr BuildRequires: python39-requests-mock BuildRequires: python39-stestr BuildRequires: python39-stevedore BuildRequires: python39-tenacity BuildRequires: python39-tooz BuildRequires: python39-yaql BuildRequires: python39-zake Requires: python-mistral = %{version}-%{release} BuildArch: noarch %if 0%{?suse_version} BuildRequires: systemd-rpm-macros %else BuildRequires: systemd %endif %description System package - %{name} Python package - python-mistral %package doc Summary: Documentation for OpenStack Workflow Service BuildRequires: python39-Sphinx BuildRequires: python39-WSME BuildRequires: python39-openstackdocstheme BuildRequires: python39-pecan BuildRequires: python39-sphinxcontrib-httpdomain BuildRequires: python39-sphinxcontrib-pecanwsme %description doc OpenStack Mistral documentaion. . This package contains the documentation %package -n python-mistral Summary: Mistral Python libraries Requires: python3-ironic-inspector-client Requires: python39-Babel Requires: python39-PyJWT Requires: python39-PyYAML Requires: python39-SQLAlchemy Requires: python39-WSME Requires: python39-alembic Requires: python39-cachetools Requires: python39-croniter Requires: python39-eventlet Requires: python39-jsonschema Requires: python39-keystonemiddleware Requires: python39-mistral-lib Requires: python39-networkx Requires: python39-oslo.concurrency Requires: python39-oslo.config Requires: python39-oslo.db Requires: python39-oslo.log Requires: python39-oslo.messaging Requires: python39-oslo.middleware Requires: python39-oslo.policy Requires: python39-oslo.serialization Requires: python39-oslo.service Requires: python39-oslo.utils Requires: python39-osprofiler Requires: python39-paramiko Requires: python39-pbr Requires: python39-pecan Requires: python39-requests Requires: python39-six Requires: python39-stevedore Requires: python39-tooz Requires: python39-yaql Requires: python39-zake %description -n python-mistral Mistral is a workflow service. Most business processes consist of multiple distinct interconnected steps that need to be executed in a particular order in a distributed environment. One can describe such process as a set of tasks and task relations and upload such description to Mistral so that it takes care of state management, correct execution order, parallelism, synchronization and high availability. . This package contains the Python libraries. %package api Summary: OpenStack Mistral API service Requires: %{name} = %{version} %description api OpenStack rest API to the Mistral api. . This package contains the ReST API. %package engine Summary: OpenStack Mistral Engine service Requires: %{name} = %{version} %description engine OpenStack Mistral Engine service. . This package contains the mistral engine, which is one of core services of mistral. %package executor Summary: OpenStack Mistral Executor service Requires: %{name} = %{version} %description executor OpenStack Mistral Executor service. . This package contains the mistral executor, which is one of core services of mistral, and which the API servers will use. %prep %if 0%{?rdo} %autosetup -p1 -n mistral-%{upstream_version} %else %autosetup -p1 -n mistral-15.0.0.0rc2.dev3 %endif %py_req_cleanup %build %{py3_build} export PYTHONPATH="." oslo-config-generator --config-file tools/config/config-generator.mistral.conf \ --output-file etc/mistral.conf.sample PBR_VERSION=15.0.0.0rc2.dev3 %sphinx_build -b html doc/source doc/build/html # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} %install %{py3_install} install -d -m 755 %{buildroot}%{_sysconfdir}/mistral/ install -d -m 750 %{buildroot}%{_localstatedir}/log/mistral # install tmpfiles install -D -m 644 %{SOURCE7} %{buildroot}/%_tmpfilesdir/%name.conf #systemd unitfiles install -p -D -m 644 %SOURCE1 %{buildroot}%{_unitdir}/openstack-mistral-api.service install -p -D -m 644 %SOURCE2 %{buildroot}%{_unitdir}/openstack-mistral-engine.service install -p -D -m 644 %SOURCE3 %{buildroot}%{_unitdir}/openstack-mistral-executor.service install -p -D -m 640 etc/mistral.conf.sample %{buildroot}%{_sysconfdir}/mistral/mistral.conf install -p -D -m 640 etc/logging.conf.sample %{buildroot}%{_sysconfdir}/mistral/logging.conf install -p -D -m 640 etc/wf_trace_logging.conf.sample %{buildroot}%{_sysconfdir}/mistral/wf_trace_logging.conf chmod +x %{buildroot}%{_bindir}/mistral* %pre %openstack_pre_user_group_create mistral mistral %check # we don't want hacking/pep8 tests rm -r mistral/tests/unit/hacking/ %{openstack_stestr_run} %post %tmpfiles_create %{_tmpfilesdir}/%{name}.conf %post api %systemd_post openstack-mistral-api.service %preun api %systemd_preun openstack-mistral-api.service %postun api %systemd_postun_with_restart openstack-mistral-api.service %post engine %systemd_post openstack-mistral-engine.service %preun engine %systemd_preun openstack-mistral-engine.service %postun engine %systemd_postun_with_restart openstack-mistral-engine.service %post executor %systemd_post openstack-mistral-executor.service %preun executor %systemd_preun openstack-mistral-executor.service %postun executor %systemd_postun_with_restart openstack-mistral-executor.service %files api %{_unitdir}/openstack-mistral-api.service %files %license LICENSE %dir %{_sysconfdir}/mistral %config(noreplace) %attr(-, mistral, mistral) %{_sysconfdir}/mistral/* %{_bindir}/mistral-* %_tmpfilesdir/%name.conf %dir %attr(750, mistral, mistral) %{_localstatedir}/log/mistral %files doc %license LICENSE %doc doc/build/html %files engine %{_unitdir}/openstack-mistral-engine.service %files executor %{_unitdir}/openstack-mistral-executor.service %files -n python-mistral %{python3_sitelib}/mistral* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor