Merge "Fixes inserting ceph OSD into compute role"
[apex.git] / build / rpm_specs / opnfv-apex-common.spec
1 %global srcname opnfv-apex
2
3 Name:           python34-%{srcname}
4 Version:        6.0
5 Release:        %{_release}
6 Summary:        Scripts for OPNFV deployment using Apex
7
8 Group:          System Environment
9 License:        Apache 2.0
10 URL:            https://gerrit.opnfv.org/gerrit/apex.git
11 Source0:        opnfv-apex-common.tar.gz
12
13 BuildArch:      noarch
14 BuildRequires:  python-docutils python34-devel
15 Requires:       opnfv-apex-sdn opnfv-apex-undercloud openvswitch qemu-kvm bridge-utils libguestfs-tools python34-libvirt
16 Requires:       initscripts net-tools iputils iproute iptables python34 python34-yaml python34-jinja2 python3-ipmi python34-virtualbmc
17 Requires:       ipxe-roms-qemu >= 20160127-1
18 Requires:       libvirt-devel ansible
19 Requires:       python34-iptables python34-cryptography python34-pbr
20 Requires:       python34-GitPython python34-pygerrit2
21
22 %description
23 Scripts for OPNFV deployment using Apex
24 https://wiki.opnfv.org/apex
25
26 %prep
27 %autosetup -n %{srcname}-%{version}
28
29 %build
30 rst2html docs/release/installation/index.rst docs/release/installation/installation-instructions.html
31 rst2html docs/release/release-notes/release-notes.rst docs/release/release-notes/release-notes.html
32 %py3_build
33
34 %global __python %{__python3}
35
36 %install
37 mkdir -p %{buildroot}%{_bindir}/
38 %py3_install
39 install ci/util.sh %{buildroot}%{_bindir}/opnfv-util
40
41 mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d/
42 install build/bash_completion_apex %{buildroot}%{_sysconfdir}/bash_completion.d/apex
43
44 mkdir -p %{buildroot}%{_sysconfdir}/opnfv-apex/
45 cp -f %{buildroot}%{_datadir}/opnfv-apex/config/deploy/* %{buildroot}%{_sysconfdir}/opnfv-apex/
46 cp -f %{buildroot}%{_datadir}/opnfv-apex/config/network/* %{buildroot}%{_sysconfdir}/opnfv-apex/
47 rm -f %{buildroot}%{_sysconfdir}/opnfv-apex/os-odl-csit-noha.yaml
48 rm -f %{buildroot}%{_sysconfdir}/opnfv-apex/deploy_settings.yaml
49
50 mkdir -p %{buildroot}%{_docdir}/opnfv/
51 install LICENSE.rst %{buildroot}%{_docdir}/opnfv/
52 install docs/release/installation/installation-instructions.html %{buildroot}%{_docdir}/opnfv/
53 install docs/release/release-notes/index.rst %{buildroot}%{_docdir}/opnfv/release-notes.rst
54 install docs/release/release-notes/release-notes.html %{buildroot}%{_docdir}/opnfv/
55 install config/deploy/deploy_settings.yaml %{buildroot}%{_docdir}/opnfv/deploy_settings.yaml.example
56 install config/network/network_settings.yaml %{buildroot}%{_docdir}/opnfv/network_settings.yaml.example
57 install config/network/network_settings_v6.yaml %{buildroot}%{_docdir}/opnfv/network_settings_v6.yaml.example
58 install config/network/network_settings_vpp.yaml %{buildroot}%{_docdir}/opnfv/network_settings_vpp.yaml.example
59 install config/inventory/pod_example_settings.yaml %{buildroot}%{_docdir}/opnfv/inventory.yaml.example
60
61 %files
62 %{python3_sitelib}/apex/
63 %{python3_sitelib}/apex-*.egg-info
64 %defattr(644, root, root, 644)
65 %attr(755,root,root) %{_bindir}/opnfv-deploy
66 %attr(755,root,root) %{_bindir}/opnfv-clean
67 %attr(755,root,root) %{_bindir}/opnfv-util
68 %{_datadir}/opnfv-apex/
69 %{_sysconfdir}/bash_completion.d/apex
70 %{_sysconfdir}/opnfv-apex/os-nosdn-nofeature-noha.yaml
71 %{_sysconfdir}/opnfv-apex/os-nosdn-bar-noha.yaml
72 %{_sysconfdir}/opnfv-apex/os-nosdn-bar-ha.yaml
73 %{_sysconfdir}/opnfv-apex/os-nosdn-calipso-noha.yaml
74 %{_sysconfdir}/opnfv-apex/os-nosdn-fdio-noha.yaml
75 %{_sysconfdir}/opnfv-apex/os-nosdn-fdio-ha.yaml
76 %{_sysconfdir}/opnfv-apex/os-nosdn-ovs_dpdk-noha.yaml
77 %{_sysconfdir}/opnfv-apex/os-nosdn-nofeature-ha.yaml
78 %{_sysconfdir}/opnfv-apex/os-nosdn-performance-ha.yaml
79 %{_sysconfdir}/opnfv-apex/os-nosdn-pike-noha.yaml
80 %{_sysconfdir}/opnfv-apex/os-odl-pike-noha.yaml
81 %{_sysconfdir}/opnfv-apex/os-nosdn-ovs_dpdk-ha.yaml
82 %{_sysconfdir}/opnfv-apex/os-nosdn-kvm-ha.yaml
83 %{_sysconfdir}/opnfv-apex/os-nosdn-kvm-noha.yaml
84 %{_sysconfdir}/opnfv-apex/os-nosdn-kvm_ovs_dpdk-ha.yaml
85 %{_sysconfdir}/opnfv-apex/os-nosdn-kvm_ovs_dpdk-noha.yaml
86 %{_sysconfdir}/opnfv-apex/os-odl-bgpvpn-ha.yaml
87 %{_sysconfdir}/opnfv-apex/os-odl-bgpvpn-noha.yaml
88 %{_sysconfdir}/opnfv-apex/os-odl-sfc-ha.yaml
89 %{_sysconfdir}/opnfv-apex/os-odl-sfc-noha.yaml
90 %{_sysconfdir}/opnfv-apex/os-odl-fdio-noha.yaml
91 %{_sysconfdir}/opnfv-apex/os-odl_netvirt-fdio-noha.yaml
92 %{_sysconfdir}/opnfv-apex/os-odl-fdio-ha.yaml
93 %{_sysconfdir}/opnfv-apex/os-odl-fdio_dvr-ha.yaml
94 %{_sysconfdir}/opnfv-apex/os-odl-fdio_dvr-noha.yaml
95 %{_sysconfdir}/opnfv-apex/os-odl-ovs_dpdk-noha.yaml
96 %{_sysconfdir}/opnfv-apex/os-odl-ovs_dpdk-ha.yaml
97 %{_sysconfdir}/opnfv-apex/os-odl-nofeature-ha.yaml
98 %{_sysconfdir}/opnfv-apex/os-odl-nofeature-noha.yaml
99 %{_sysconfdir}/opnfv-apex/os-odl-gluon-noha.yaml
100 %{_sysconfdir}/opnfv-apex/os-ovn-nofeature-noha.yaml
101 %{_sysconfdir}/opnfv-apex/os-onos-nofeature-ha.yaml
102 %{_sysconfdir}/opnfv-apex/os-onos-sfc-ha.yaml
103 %{_sysconfdir}/opnfv-apex/os-ocl-nofeature-ha.yaml
104 %{_sysconfdir}/opnfv-apex/network_settings.yaml
105 %{_sysconfdir}/opnfv-apex/network_settings_vlans.yaml
106 %{_sysconfdir}/opnfv-apex/network_settings_v6.yaml
107 %{_sysconfdir}/opnfv-apex/network_settings_vpp.yaml
108 %doc %{_docdir}/opnfv/LICENSE.rst
109 %doc %{_docdir}/opnfv/installation-instructions.html
110 %doc %{_docdir}/opnfv/release-notes.rst
111 %doc %{_docdir}/opnfv/release-notes.html
112 %doc %{_docdir}/opnfv/deploy_settings.yaml.example
113 %doc %{_docdir}/opnfv/network_settings.yaml.example
114 %doc %{_docdir}/opnfv/network_settings_v6.yaml.example
115 %doc %{_docdir}/opnfv/network_settings_vpp.yaml.example
116 %doc %{_docdir}/opnfv/inventory.yaml.example
117
118 %changelog
119 * Wed Nov 29 2017 Tim Rozet <trozet@redhat.com> - 6.0-0
120   Bump version for Fraser
121 * Wed Oct 25 2017 Tim Rozet <trozet@redhat.com> - 5.0-9
122 - Adds GitPython and pygerrit2 dependencies
123 * Mon Oct 2 2017 Tim Rozet <trozet@redhat.com> - 5.0-8
124 - Adds upstream deployment scenario
125 * Wed Sep 20 2017 Tim Rozet <trozet@redhat.com> - 5.0-7
126 - Add calipso
127 * Fri Sep 08 2017 Tim Rozet <trozet@redhat.com> - 5.0-6
128 - Updates clean to use python
129 * Wed Aug 23 2017 Tim Rozet <trozet@redhat.com> - 5.0-5
130 - Updated requirements
131 * Mon Aug 14 2017 Tim Rozet <trozet@redhat.com> - 5.0-4
132 - Updated for python refactoring
133 * Mon May 08 2017 Dan Radez <dradez@redhat.com> - 5.0-3
134 - adding configure-vm
135 * Tue Apr 11 2017 Dan Radez <dradez@redhat.com> - 5.0-2
136 - Remove l2 scenario files
137 * Tue Apr 04 2017 Dan Radez <dradez@redhat.com> - 5.0-1
138 - Version update for Euphrates
139 - rename to ovs_dpdk
140 * Wed Mar 29 2017 Dan Radez <dradez@redhat.com> - 4.0-9
141 - Remove odl_l2-nofeature scenario file
142 - rename all odl_l3 scenario files to odl
143 * Thu Mar 23 2017 Tim Rozet <trozet@redhat.com> - 4.0-8
144 - Adds os-odl_l3-ovs-ha and noha scenarios
145 * Sun Mar 12 2017 Feng Pan <fpan@redhat.com> - 4.0-7
146 - Add os-nosdn-fdio-ha.yaml
147 * Fri Mar 10 2017 Feng Pan <fpan@redhat.com> - 4.0-6
148 - Add os-odl_l3-fdio-noha.yaml and os-odl_l3-fdio-ha.yaml
149 * Wed Mar 08 2017 Dan Radez <dradez@redhat.com> - 4.0-5
150 - Adding kvm4nfv files
151 - Adding OVN files
152 * Tue Feb 14 2017 Feng Pan <fpan@redhat.com> - 4.0-4
153 - Add network_settings_vpp.yaml
154 * Fri Feb 3 2017 Nikolas Hermanns <nikolas.hermanns@ericsson.com> - 4.0-3
155 - change odl_l3-gluon-noha to odl-gluon-noha
156 * Thu Feb 2 2017 Feng Pan <fpan@redhat.com> - 4.0-2
157 - Add odl_l3-gluon-noha config file
158 * Wed Nov 2 2016 Dan Radez <dradez@redhat.com> - 4.0-1
159 - Version update for Danube
160 * Fri Sep 16 2016 Dan Radez <dradez@redhat.com> - 3.0-13
161 - adding bash completion script
162 * Tue Aug 30 2016 Tim Rozet <trozet@redhat.com> - 3.0-12
163 - Add clean library.
164 * Mon Aug 1 2016 Tim Rozet <trozet@redhat.com> - 3.0-11
165 - Add nosdn fdio scenarios.
166 * Tue Jul 5 2016 Dan Radez <dradez@redhat.com> - 3.0-10
167 - Adding functions.sh files
168 * Wed Jun 15 2016 Tim Rozet <trozet@redhat.com> - 3.0-9
169 - Add fdio scenarios.
170 * Tue Jun 14 2016 Feng Pan <fpan@redhat.com> - 3.0-8
171 - Add network_settings_v6.yaml
172 * Thu Jun 2 2016 Michael Chapman <michapma@redhat.com> - 3.0-7
173 - Add custom libvirt domain.xml.
174 * Wed Jun 1 2016 Feng Pan <fpan@redhat.com> - 3.0-6
175 - Add performance deployment file
176 * Sun May 15 2016 Feng Pan <fpan@redhat.com> - 3.0-5
177 - Fixes python3 dependency.
178 * Sun May 8 2016 Feng Pan <fpan@redhat.com> - 3.0-4
179 - Adds dependency for python34-setuptools
180 * Fri Apr 22 2016 Feng Pan <fpan@redhat.com> - 3.0-3
181 - Adds python network setting parsing lib.
182 * Fri Apr 15 2016 Feng Pan <fpan@redhat.com> - 3.0-2
183 - Adds python ip utility lib.
184 * Mon Apr 11 2016 Tim Rozet <trozet@redhat.com> - 3.0-1
185 - adding opnfv-util
186 * Mon Apr 04 2016 Dan Radez <dradez@redhat.com> - 3.0-0
187 - Version update for Colorado
188 * Mon Apr 04 2016 Dan Radez <dradez@redhat.com> - 2.2-0
189 - adding dependencies initscripts net-tools iputils iproute iptables
190 * Wed Jan 27 2016 Tim Rozet <trozet@redhat.com> - 2.1-4
191 - Adds example inventory file and nosdn scenario
192 * Wed Jan 20 2016 Dan Radez <dradez@redhat.com> - 2.1-3
193 - Updating the installation instructions
194 * Thu Jan 14 2016 Dan Radez <dradez@redhat.com> - 2.1-2
195 - Package Split