Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OpenStack:Upstream:2024.1
openstack-horizon-plugin-neutron-vpnaas-ui
openstack-horizon-plugin-neutron-vpnaas-ui.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openstack-horizon-plugin-neutron-vpnaas-ui.spec of Package openstack-horizon-plugin-neutron-vpnaas-ui
# # spec file for package openstack-horizon-plugin-neutron-vpnaas-ui # # 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 http_dashboard_dir %{_datarootdir}/openstack-dashboard %else %global http_dashboard_dir /srv/www/openstack-dashboard %endif Name: openstack-horizon-plugin-neutron-vpnaas-ui Version: 10.0.0.0~xrc2~dev3 Release: 0 Summary: Neutron VPNaaS management plugin for Horizon License: Apache-2.0 Group: Development/Languages/Python URL: https://docs.openstack.org/neutron-vpnaas-dashboard Source0: neutron-vpnaas-dashboard-stable-2024.1.tar.gz BuildRequires: fdupes BuildRequires: openstack-dashboard BuildRequires: openstack-macros BuildRequires: python311-openstackdocstheme BuildRequires: python311-pbr BuildRequires: python311-python-subunit BuildRequires: python311-reno BuildRequires: python311-testrepository BuildRequires: python311-testscenarios BuildRequires: python311-testtools Requires: python-horizon-plugin-neutron-vpnaas-ui = %{version} BuildArch: noarch %description OpenStack Neutron VPNaaS management plugin for Horizon. %package -n python-horizon-plugin-neutron-vpnaas-ui Summary: Neutron VPNaaS Management Plugin for Horizon - Python module Requires: python3-neutronclient Requires: python311-Django Requires: python311-pbr %description -n python-horizon-plugin-neutron-vpnaas-ui OpenStack Neutron VPNaaS management plugin for Horizon. This package contains the core Python module of the neutron-vpnaas-ui. %package test Summary: Neutron VPNaaS Management Plugin for Horizon - Testsuite Requires: python311-openstackdocstheme Requires: python311-python-subunit Requires: python311-reno Requires: python311-testrepository Requires: python311-testscenarios Requires: python311-testtools %description test OpenStack Neutron VPNaaS management plugin for Horizon. It is used to verify the functionality of the Neutron VPNaaS UI Plugin. %prep %autosetup -n neutron-vpnaas-dashboard-10.0.0.0rc2.dev3 %py_req_cleanup %build %{py3_build} %check PYTHONPATH=%{http_dashboard_dir} python3 manage.py test neutron_vpnaas_dashboard --settings=neutron_vpnaas_dashboard.test.settings %install %{py3_install} install -m 0755 -d %{buildroot}%{http_dashboard_dir}/openstack_dashboard/enabled/ cp -a neutron_vpnaas_dashboard/enabled/_71*.py* %{buildroot}%{http_dashboard_dir}/openstack_dashboard/enabled/ %fdupes %{buildroot}%{python3_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 CONTRIBUTING.rst README.rst %license LICENSE %{http_dashboard_dir}/openstack_dashboard/enabled/_71*.py* %files -n python-horizon-plugin-neutron-vpnaas-ui %doc README.rst %license LICENSE %{python3_sitelib}/neutron_vpnaas_dashboard/ %{python3_sitelib}/neutron_vpnaas_dashboard-*.egg-info %exclude %{python3_sitelib}/neutron_vpnaas_dashboard/test* %files test %{python3_sitelib}/neutron_vpnaas_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