summaryrefslogtreecommitdiffstats
path: root/build/opnfv-apex-undercloud.spec
blob: 9477551b175fd759ebd93d870063c0a1c6f76799 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Name:		opnfv-apex-undercloud
Version:	2.1
Release:	%{release}
Summary:	Scripts and Disk images to launch the Undercloud for OPNFV Apex

Group:		System Environment
License:	Apache 2.0
URL:		https://gerrit.opnfv.org/gerrit/apex.git
Source0:	opnfv-apex-undercloud.tar.gz

BuildArch:	noarch
BuildRequires:	openvswitch libvirt qemu-kvm python-docutils
Requires:	openvswitch libvirt qemu-kvm bridge-utils libguestfs-tools

%description
Scripts and Disk images to launch the Undercloud for OPNFV Apex
https://wiki.opnfv.org/apex

%prep
%setup -q

%install
mkdir -p %{buildroot}%{_var}/opt/opnfv/images/
mkdir -p %{buildroot}%{_var}/opt/opnfv/nics/

install build/undercloud.qcow2 %{buildroot}%{_var}/opt/opnfv/images/
install build/network-environment.yaml %{buildroot}%{_var}/opt/opnfv/
install build/nics/controller.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/controller_private.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_private.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/controller_storage.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_storage.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/controller_private_storage.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_private_storage.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_br-ex.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_private_br-ex.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_storage_br-ex.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_private_storage_br-ex.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_no-public-ip.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_private_no-public-ip.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_storage_no-public-ip.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_private_storage_no-public-ip.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_br-ex_no-public-ip.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_private_br-ex_no-public-ip.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_storage_br-ex_no-public-ip.yaml %{buildroot}%{_var}/opt/opnfv/nics/
install build/nics/compute_private_storage_br-ex_no-public-ip.yaml %{buildroot}%{_var}/opt/opnfv/nics/

%files
%defattr(644, root, root, -)
%{_var}/opt/opnfv/images/undercloud.qcow2
%{_var}/opt/opnfv/network-environment.yaml
%{_var}/opt/opnfv/nics/controller.yaml
%{_var}/opt/opnfv/nics/compute.yaml
%{_var}/opt/opnfv/nics/controller_private.yaml
%{_var}/opt/opnfv/nics/compute_private.yaml
%{_var}/opt/opnfv/nics/controller_storage.yaml
%{_var}/opt/opnfv/nics/compute_storage.yaml
%{_var}/opt/opnfv/nics/controller_private_storage.yaml
%{_var}/opt/opnfv/nics/compute_private_storage.yaml
%{_var}/opt/opnfv/nics/compute_br-ex.yaml
%{_var}/opt/opnfv/nics/compute_private_br-ex.yaml
%{_var}/opt/opnfv/nics/compute_storage_br-ex.yaml
%{_var}/opt/opnfv/nics/compute_private_storage_br-ex.yaml
%{_var}/opt/opnfv/nics/compute_no-public-ip.yaml
%{_var}/opt/opnfv/nics/compute_private_no-public-ip.yaml
%{_var}/opt/opnfv/nics/compute_storage_no-public-ip.yaml
%{_var}/opt/opnfv/nics/compute_private_storage_no-public-ip.yaml
%{_var}/opt/opnfv/nics/compute_br-ex_no-public-ip.yaml
%{_var}/opt/opnfv/nics/compute_private_br-ex_no-public-ip.yaml
%{_var}/opt/opnfv/nics/compute_storage_br-ex_no-public-ip.yaml
%{_var}/opt/opnfv/nics/compute_private_storage_br-ex_no-public-ip.yaml

%changelog
* Thu Jan 14 2016 Dan Radez <dradez@redhat.com> - 2.1-1
- Package Split