From 01029ef7b90839880b213875166e0abdbf3e6c17 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Fri, 13 Nov 2015 11:47:05 -0500 Subject: adding installation instructions JIRA: APEX-35 Change-Id: Iebbf85bd59844716961c27bb81ff7bbda2d1a1bf --- build/opnfv-apex.spec | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'build/opnfv-apex.spec') diff --git a/build/opnfv-apex.spec b/build/opnfv-apex.spec index 29cede8a..546a92a5 100644 --- a/build/opnfv-apex.spec +++ b/build/opnfv-apex.spec @@ -1,5 +1,5 @@ Name: opnfv-apex -Version: 2.2 +Version: 2.3 Release: %{release} Summary: RDO Manager disk images for deployment @@ -9,7 +9,7 @@ URL: https://gerrit.opnfv.org/gerrit/apex.git Source0: opnfv-apex.tar.gz BuildArch: noarch -BuildRequires: openvswitch qemu-kvm +BuildRequires: openvswitch qemu-kvm python-docutils Requires: openvswitch qemu-kvm bridge-utils libguestfs-tools %description @@ -22,6 +22,8 @@ to deploy an OpenStack overcloud. %build +rst2html docs/installation-instructions/installation-instructions.rst docs/installation-instructions.html +rst2html docs/release-notes/index.rst docs/release-notes.html %install mkdir -p %{buildroot}%{_bindir}/ @@ -44,6 +46,7 @@ install build/opendaylight.yaml %{buildroot}%{_var}/opt/opnfv/ install build/opendaylight.patch %{buildroot}%{_var}/opt/opnfv/ install build/instackenv-virt.json %{buildroot}%{_var}/opt/opnfv/ +install build/instackenv.json.example %{buildroot}%{_var}/opt/opnfv/ install build/stack/deploy-ramdisk-ironic.initramfs %{buildroot}%{_var}/opt/opnfv/stack/ install build/stack/deploy-ramdisk-ironic.kernel %{buildroot}%{_var}/opt/opnfv/stack/ install build/stack/ironic-python-agent.initramfs %{buildroot}%{_var}/opt/opnfv/stack/ @@ -53,6 +56,13 @@ install build/stack/overcloud-full.initrd %{buildroot}%{_var}/opt/opnfv/stack/ install build/stack/overcloud-full.qcow2 %{buildroot}%{_var}/opt/opnfv/stack/ install build/stack/overcloud-full.vmlinuz %{buildroot}%{_var}/opt/opnfv/stack/ +mkdir -p %{buildroot}%{_docdir}/opnfv/ +install LICENSE.rst %{buildroot}%{_docdir}/opnfv/ +install docs/installation-instructions/index.rst %{buildroot}%{_docdir}/opnfv/installation-instructions.rst +install docs/installation-instructions.html %{buildroot}%{_docdir}/opnfv/ +install docs/release-notes/index.rst %{buildroot}%{_docdir}/opnfv/release-notes.rst +install docs/release-notes.html %{buildroot}%{_docdir}/opnfv/ + %files %{_bindir}/opnfv-deploy %{_bindir}/opnfv-clean @@ -68,6 +78,7 @@ install build/stack/overcloud-full.vmlinuz %{buildroot}%{_var}/opt/opnfv/stack/ %{_var}/opt/opnfv/opendaylight.yaml %{_var}/opt/opnfv/opendaylight.patch %{_var}/opt/opnfv/instackenv-virt.json +%{_var}/opt/opnfv/instackenv.json.example %{_var}/opt/opnfv/stack/deploy-ramdisk-ironic.initramfs %{_var}/opt/opnfv/stack/deploy-ramdisk-ironic.kernel %{_var}/opt/opnfv/stack/ironic-python-agent.initramfs @@ -76,8 +87,16 @@ install build/stack/overcloud-full.vmlinuz %{buildroot}%{_var}/opt/opnfv/stack/ %{_var}/opt/opnfv/stack/overcloud-full.initrd %{_var}/opt/opnfv/stack/overcloud-full.qcow2 %{_var}/opt/opnfv/stack/overcloud-full.vmlinuz +%doc %{_docdir}/opnfv/LICENSE.rst +%doc %{_docdir}/opnfv/installation-instructions.rst +%doc %{_docdir}/opnfv/installation-instructions.html +%doc %{_docdir}/opnfv/release-notes.rst +%doc %{_docdir}/opnfv/release-notes.html + %changelog +* Fri Nov 20 2015 Dan Radez - 2.3-1 +- Adding documentation * Thu Nov 12 2015 Dan Radez - 2.2-1 - OpenDaylight and Network Isolation support * Wed Oct 21 2015 Dan Radez - 2.1-1 -- cgit 1.2.3-korg