Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:crowbar:5.0
crowbar-openstack
crowbar-openstack.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crowbar-openstack.spec of Package crowbar-openstack
# # spec file for package crowbar-openstack # # Copyright (c) 2021 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 5.0+git.1616001417.67fd9c2a1 Name: crowbar-openstack Version: 5.0+git.1616001417.67fd9c2a1 Release: 0 Summary: Crowbar component for OpenStack License: Apache-2.0 Group: System/Management URL: http://crowbar.github.io Source0: %{name}-%{version}.tar.bz2 Source3: swift-override.rb Source4: keystone-override.rb Source50: http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-uec.tar.gz Source51: http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-source.tar.gz Source54: http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-aarch64-uec.tar.gz Source55: https://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img Source99: generic-crowbar-rpmlintrc ## Non-upstreamable patches Patch50: mariadb-only.patch Patch52: tech-preview-unsupported.patch ## git format-patch --stdout upstream/master..suse-cloud/master-branding > /tmp/suse-branding.patch Patch53: suse-branding.patch # https://github.com/crowbar/crowbar-openstack/pull/1640 BuildRequires: crowbar-devel BuildRequires: fdupes Requires: crowbar Requires: crowbar-ceph Requires: crowbar-ha BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Provides: crowbar-barclamp-database = %{version} Obsoletes: crowbar-barclamp-database < %{version} Provides: crowbar-barclamp-glance = %{version} Obsoletes: crowbar-barclamp-glance < %{version} Provides: crowbar-barclamp-nova = %{version} Obsoletes: crowbar-barclamp-nova < %{version} Provides: crowbar-barclamp-swift = %{version} Obsoletes: crowbar-barclamp-swift < %{version} Provides: crowbar-barclamp-keystone = %{version} Obsoletes: crowbar-barclamp-keystone < %{version} Provides: crowbar-barclamp-nova_dashboard = %{version} Obsoletes: crowbar-barclamp-nova_dashboard < %{version} Provides: crowbar-barclamp-openstack = %{version} Obsoletes: crowbar-barclamp-openstack < %{version} Provides: crowbar-barclamp-tempest = %{version} Obsoletes: crowbar-barclamp-tempest < %{version} Provides: crowbar-barclamp-openstack = %{version} Obsoletes: crowbar-barclamp-openstack < %{version} Provides: crowbar-barclamp-cinder = %{version} Obsoletes: crowbar-barclamp-cinder < %{version} Provides: crowbar-barclamp-trove = %{version} Obsoletes: crowbar-barclamp-trove < %{version} Provides: crowbar-barclamp-ceilometer = %{version} Obsoletes: crowbar-barclamp-ceilometer < %{version} Provides: crowbar-barclamp-rabbitmq = %{version} Obsoletes: crowbar-barclamp-rabbitmq < %{version} Provides: crowbar-barclamp-heat = %{version} Obsoletes: crowbar-barclamp-heat < %{version} Provides: crowbar-barclamp-neutron = %{version} Obsoletes: crowbar-barclamp-neutron < %{version} Provides: crowbar-barclamp-manila = %{version} Obsoletes: crowbar-barclamp-manila < %{version} %description This is the OpenStack component for Crowbar. Crowbar is a platform for server provisioning and deployment from bare metal. It provides server discovery, firmware upgrades, and operating system installation using PXE Boot. It deploys applications on top of functioning operating systems using Chef. %prep %setup -q %patch50 -p1 %patch52 -p1 %patch53 -p1 ### Annoying -- applying the patch doesn't really remove files nor create symlinks :/ rm crowbar_framework/public/docs/crowbar_deployment_guide.pdf rm crowbar_framework/public/docs/openstack_users_guide.pdf rmdir crowbar_framework/public/docs ### End Annoying %crowbar_component_prep_end %build %crowbar_component_build openstack %install %crowbar_component_install openstack cp -a %{SOURCE3} %{buildroot}%{crowbar_base}/chef/cookbooks/swift/attributes/override.rb # NOTE(toabctl): While switching to Newton we need to switch from "native" to "apache" backend # so don't do the override in the package. The default is currently anyway "native" # and we can add later the override with "apache" # cp -a %{SOURCE4} %{buildroot}%{crowbar_base}/chef/cookbooks/keystone/attributes/override.rb install -d -m 755 %{buildroot}/srv/tftpboot/files/tempest/ install -m 644 %{SOURCE50} %{buildroot}/srv/tftpboot/files/tempest/ install -m 644 %{SOURCE54} %{buildroot}/srv/tftpboot/files/tempest/ install -m 644 %{SOURCE55} %{buildroot}/srv/tftpboot/files/tempest/ %pre %crowbar_component_update_pre openstack %posttrans %crowbar_component_update_posttrans openstack %preun %crowbar_component_update_preun openstack %postun %crowbar_component_update_postun %files %defattr(-,root,root,-) %{crowbar_base}/barclamps/ %{crowbar_base}/bin/ %{crowbar_base}/chef/ %{crowbar_base}/crowbar_framework/ /srv/tftpboot/files/ %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