Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OpenStack:Zed
openstack-horizon-plugin-freezer-ui
openstack-horizon-plugin-freezer-ui.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openstack-horizon-plugin-freezer-ui.spec of Package openstack-horizon-plugin-freezer-ui
# # spec file for package openstack-horizon-plugin-freezer-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/ # %if 0%{?rhel} || 0%{?fedora} %global http_dashboard_dir %{_datarootdir}/openstack-dashboard %else %global http_dashboard_dir /srv/www/openstack-dashboard %endif Name: openstack-horizon-plugin-freezer-ui Version: 13.0.0.0~xrc2~dev2 Release: 0 Summary: The Freezer Web UI License: Apache-2.0 Group: Development/Languages/Python URL: https://docs.openstack.org/freezer Source0: freezer-web-ui-stable-zed.tar.gz BuildRequires: fdupes BuildRequires: openstack-dashboard BuildRequires: openstack-macros BuildRequires: python3-freezerclient Requires: python-horizon-plugin-freezer-ui = %{version} BuildArch: noarch %description The Freezer UI Horizon plugin adds Freezer panel to the OpenStack dashboard. %package -n python-horizon-plugin-freezer-ui Summary: The Freezer Web UI - Python module Requires: python3-freezerclient Requires: python39-Django %description -n python-horizon-plugin-freezer-ui The Freezer UI Horizon plugin adds Freezer panel to the OpenStack dashboard. %prep %autosetup -n freezer-web-ui-13.0.0.0rc2.dev2 %py_req_cleanup %build %py3_build %install %py3_install install -m 0755 -d %{buildroot}%{http_dashboard_dir}/openstack_dashboard/enabled/ cp -a disaster_recovery/enabled/_50*.py* %{buildroot}%{http_dashboard_dir}/openstack_dashboard/enabled/ %fdupes %{buildroot}%{python2_sitelib} %fdupes %{buildroot}%{http_dashboard_dir} %post su %{apache_user} -s /bin/sh -c "python3 %{http_dashboard_dir}/manage.py collectstatic --noinput --clear > /dev/null" %postun su %{apache_user} -s /bin/sh -c "python3 %{http_dashboard_dir}/manage.py collectstatic --noinput --clear > /dev/null" %files %doc ChangeLog README.rst %license LICENSE %{http_dashboard_dir}/openstack_dashboard/enabled/*.py* %files -n python-horizon-plugin-freezer-ui %doc README.rst %license LICENSE %{python3_sitelib}/disaster_recovery %{python3_sitelib}/freezer_web_ui-*.egg-info %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