Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:suse-cloud-ci:rpm-packaging-sles15-Master-98d11280f52d6067e322bc8af22e457729c95df3
openstack-cyborg
openstack-cyborg.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openstack-cyborg.spec of Package openstack-cyborg
# # spec file for package openstack-cyborg # # Copyright (c) 2024 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-cyborg Version: 12.0.1~dev1 Release: 0 Summary: OpenStack Accelerator as a Service License: Apache-2.0 URL: https://docs.openstack.org/cyborg Source0: cyborg-master.tar.gz BuildRequires: fdupes BuildRequires: openstack-macros BuildRequires: openstack-tempest BuildRequires: python3-WSME BuildRequires: python3-ddt BuildRequires: python3-eventlet BuildRequires: python3-fixtures BuildRequires: python3-jsonpatch BuildRequires: python3-keystoneauth1 BuildRequires: python3-keystonemiddleware BuildRequires: python3-oslo.config BuildRequires: python3-oslo.context BuildRequires: python3-oslo.db BuildRequires: python3-oslo.i18n BuildRequires: python3-oslo.log BuildRequires: python3-oslo.policy BuildRequires: python3-oslo.versionedobjects BuildRequires: python3-oslotest BuildRequires: python3-pecan BuildRequires: python3-psutil BuildRequires: python3-six Requires: python3-cyborg = %{version}-%{release} BuildArch: noarch %if 0%{?suse_version} BuildRequires: systemd-rpm-macros Requires(pre): pwdutils %{?systemd_requires} %endif %if 0%{?rdo} BuildRequires: systemd Requires(post): systemd Requires(postun): systemd Requires(pre): shadow-utils Requires(preun): systemd %endif %description Cyborg (previously known as Nomad) is an OpenStack project that aims to provide a general purpose management framework for acceleration resources (i.e. various types of accelerators such as GPU, FPGA, ASIC, NP, SoCs, NVMe/NOF SSDs, ODP, DPDK/SPDK and so on). %package -n python3-cyborg Summary: Cyborg Python library Group: Applications/System Requires: python3-SQLAlchemy Requires: python3-WSME Requires: python3-alembic Requires: python3-eventlet Requires: python3-jsonpatch Requires: python3-keystoneauth1 Requires: python3-keystonemiddleware Requires: python3-oslo.concurrency Requires: python3-oslo.config Requires: python3-oslo.context Requires: python3-oslo.db Requires: python3-oslo.i18n Requires: python3-oslo.log Requires: python3-oslo.messaging Requires: python3-oslo.policy Requires: python3-oslo.service Requires: python3-oslo.utils Requires: python3-oslo.versionedobjects Requires: python3-pbr Requires: python3-pecan Requires: python3-psutil Requires: python3-six Requires: python3-stevedore %description -n python3-cyborg Cyborg (previously known as Nomad) is an OpenStack project that aims to provide a general purpose management framework for acceleration resources (i.e. various types of accelerators such as GPU, FPGA, ASIC, NP, SoCs, NVMe/NOF SSDs, ODP, DPDK/SPDK and so on). This package contains the Cyborg python libraries. %package doc Summary: Documentation for OpenStack Backup Service Group: Documentation/HTML BuildRequires: fdupes BuildRequires: python3-Sphinx BuildRequires: python3-openstackdocstheme BuildRequires: python3-os-api-ref BuildRequires: python3-sphinx-feature-classification BuildRequires: python3-sphinxcontrib-pecanwsme BuildRequires: python3-sphinxcontrib-seqdiag BuildRequires: python3-sphinxcontrib-svg2pdfconverter %description doc OpenStack Cyborg documentation. This package contains the documentation %prep %autosetup -p1 -n openstack-cyborg-12.0.1.dev1 %py_req_cleanup %build %{py3_build} PBR_VERSION=12.0.1.dev1 %sphinx_build -b html doc/source doc/build/html PBR_VERSION=12.0.1.dev1 %sphinx_build -b man doc/source doc/build/man rm -r doc/build/html/.{doctrees,buildinfo} # config file generation PYTHONPATH=. oslo-config-generator --config-file tools/config/cyborg-config-generator.conf \ --output-file etc/cyborg/cyborg.conf.sample PYTHONPATH=. oslopolicy-sample-generator --config-file tools/config/cyborg-policy-generator.conf \ --output-file etc/cyborg/policy.json.sample %install %{py3_install} install -d -m 755 %{buildroot}%{_localstatedir}/log/cyborg install -d -m 755 %{buildroot}%{_sysconfdir}/cyborg mv %{buildroot}%{_prefix}%{_sysconfdir}/cyborg/* %{buildroot}%{_sysconfdir}/cyborg/ install -p -D -m 640 etc/cyborg/cyborg.conf.sample %{buildroot}%{_sysconfdir}/cyborg/cyborg.conf install -p -D -m 640 etc/cyborg/policy.json.sample %{buildroot}%{_sysconfdir}/cyborg/policy.json # remove duplicates %fdupes %{buildroot}%{python3_sitelib} %pre %openstack_pre_user_group_create cyborg cyborg /sbin/nologin %files %license LICENSE %doc README.rst %{_bindir}/cyborg-api %{_bindir}/cyborg-conductor %{_bindir}/cyborg-dbsync %{_bindir}/cyborg-agent %{_bindir}/cyborg-status %{_bindir}/cyborg-wsgi-api %dir %attr(0750, root, cyborg) %{_sysconfdir}/cyborg/ %config(noreplace) %attr(0640, root, cyborg) %{_sysconfdir}/cyborg/cyborg.conf %config(noreplace) %attr(0640, root, cyborg) %{_sysconfdir}/cyborg/api-paste.ini %config(noreplace) %attr(0640, root, cyborg) %{_sysconfdir}/cyborg/policy.json %config(noreplace) %attr(0640, root, cyborg) %{_sysconfdir}/cyborg/policy.yaml %dir %attr(0750, cyborg, cyborg) %{_localstatedir}/log/cyborg %files -n python3-cyborg %doc README.rst %license LICENSE %{python3_sitelib}/cyborg/ %{python3_sitelib}/openstack_cyborg*.egg-info %files doc %license LICENSE %doc doc/build/html %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