Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OpenStack:Pike:Staging
openstack-horizon-plugin-sahara-ui
openstack-horizon-plugin-sahara-ui.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openstack-horizon-plugin-sahara-ui.spec of Package openstack-horizon-plugin-sahara-ui
# # spec file for package openstack-horizon-plugin-sahara-ui # # 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/ # %define version_unconverted 7.0.4.dev1 Name: openstack-horizon-plugin-sahara-ui Version: 7.0.4~dev1 Release: 0 Summary: Sahara UI Plugin for OpenStack Horizon License: Apache-2.0 Group: Development/Languages/Python URL: https://launchpad.net/sahara Source: http://tarballs.openstack.org/sahara-dashboard/sahara-dashboard-stable-pike.tar.gz BuildRequires: fdupes BuildRequires: openstack-dashboard BuildRequires: openstack-suse-macros BuildRequires: openstack-suse-sudo BuildRequires: python-base BuildRequires: python-pbr BuildRequires: python-saharaclient Requires: python-horizon-plugin-sahara-ui = %{version} Requires(post): python-horizon-plugin-sahara-ui = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description OpenStack Sahara management plugin for Horizon. %package -n python-horizon-plugin-sahara-ui Summary: Sahara Management Plugin for Horizon - Python module Group: Development/Languages/Python Requires: python >= 2.7 Requires: python-Babel >= 2.3.4 Requires: python-Django >= 1.8 Requires: python-designateclient >= 1.5.0 Requires: python-django_compressor >= 2.0 Requires: python-django_openstack_auth >= 2.4.0 Requires: python-iso8601 >= 0.1.11 Requires: python-keystoneclient >= 3.8.0 Requires: python-manilaclient >= 1.12.0 Requires: python-neutronclient >= 6.3.0 Requires: python-novaclient >= 9.0.0 Requires: python-pbr >= 2.0.0 Requires: python-pytz >= 2013.6 Requires: python-saharaclient >= 1.1.0 %description -n python-horizon-plugin-sahara-ui OpenStack Sahara management plugin for Horizon. %package test Summary: Sahara Management Plugin for Horizon - Testsuite Group: Development/Languages/Python Requires: python-Sphinx >= 1.2.1 Requires: python-ddt >= 1.0.1 Requires: python-django-nose >= 1.4.4 Requires: python-mock >= 2.0 Requires: python-mox3 >= 0.7.0 Requires: python-netifaces >= 0.10.4 Requires: python-nose-exclude Requires: python-oslosphinx >= 4.7.0 Requires: python-python-subunit >= 0.0.18 Requires: python-reno >= 1.8.0 Requires: python-testrepository >= 0.0.18 Requires: python-testscenarios >= 0.4 Requires: python-testtools >= 1.4.0 %description test The Sahara project testsuite %prep %setup -q -n sahara-dashboard-%{version_unconverted} %openstack_cleanup_prep %build python setup.py build %install python setup.py install --skip-build --prefix=%{_prefix} --root=%{buildroot} install -m 0755 -d %{buildroot}/srv/www/openstack-dashboard/openstack_dashboard/enabled/ cp -a sahara_dashboard/enabled/_1810_data_processing_panel_group.py %{buildroot}/srv/www/openstack-dashboard/openstack_dashboard/enabled/ cp -a sahara_dashboard/enabled/_1820_data_processing_clusters_panel.py %{buildroot}/srv/www/openstack-dashboard/openstack_dashboard/enabled/ cp -a sahara_dashboard/enabled/_1830_data_processing_plugins_panel.py %{buildroot}/srv/www/openstack-dashboard/openstack_dashboard/enabled/ cp -a sahara_dashboard/enabled/_1840_data_processing_jobs_panel.py %{buildroot}/srv/www/openstack-dashboard/openstack_dashboard/enabled/ ### misc %fdupes %{buildroot}%{python_sitelib}/sahara_dashboard %post su wwwrun -s /bin/sh -c "python /srv/www/openstack-dashboard/manage.py collectstatic --noinput --clear > /dev/null" %postun su wwwrun -s /bin/sh -c "python /srv/www/openstack-dashboard/manage.py collectstatic --noinput --clear > /dev/null" %files %defattr(-,root,root) /srv/www/openstack-dashboard/openstack_dashboard/enabled %doc ChangeLog README.rst LICENSE %files -n python-horizon-plugin-sahara-ui %defattr(-,root,root,-) %doc LICENSE %{python_sitelib}/sahara_dashboard/ %{python_sitelib}/sahara_dashboard-*.egg-info %exclude %{python_sitelib}/sahara_dashboard/test* %files test %defattr(-,root,root) %{python_sitelib}/sahara_dashboard/test* %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