From: Thomas Monjalon <thomas.monjalon@6wind.com>
Date: Fri, 19 Dec 2014 13:34:40 +0000 (+0100)
Subject: pkg: support sphinx documentation
X-Git-Tag: spdx-start~9861
X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7c765072b582e1548eb39c1869a22ac2f188703e;p=dpdk.git

pkg: support sphinx documentation

Guides have been added in release 1.8.0.
They use sphinx to process rst files.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Siobhan Butler <siobhan.a.butler@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
---

diff --git a/pkg/dpdk-core.spec b/pkg/dpdk-core.spec
index 0366995790..6b98a66fb3 100644
--- a/pkg/dpdk-core.spec
+++ b/pkg/dpdk-core.spec
@@ -44,7 +44,7 @@ ExclusiveArch: i686, x86_64
 %global target %{_arch}-native-linuxapp-gcc
 %global machine default
 
-BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel, doxygen
+BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel, doxygen, python-sphinx
 
 %description
 Intel(r) DPDK core includes kernel modules, core libraries and tools.
@@ -64,7 +64,8 @@ for fast packet processing on x86 platforms.
 Summary: Intel(r) Data Plane Development Kit API documentation
 BuildArch: noarch
 %description doc
-Intel(r) DPDK doc explains the API details in doxygen HTML format.
+Intel(r) DPDK doc is divided in two parts: API details in doxygen HTML format
+and guides in sphinx HTML format.
 
 %global destdir %{buildroot}%{_prefix}
 %global moddir  /lib/modules/%(uname -r)/extra