[Kimchi-devel] [PATCH 2/4] doc: Add help files to dist packages

Crístian Viana vianac at linux.vnet.ibm.com
Mon Feb 17 05:43:09 UTC 2014


The DITA help files should also be included in the RPM and DEB files
which will distribute Kimchi. Only the generated HTML files will be
added

Also, update the README to list the dependecies needed to convert the
DITA files to HTML.

Signed-off-by: Crístian Viana <vianac at linux.vnet.ibm.com>
---
 contrib/DEBIAN/control.in     | 2 +-
 contrib/kimchi.spec.fedora.in | 5 +++++
 contrib/kimchi.spec.suse.in   | 5 +++++
 docs/README.md                | 7 ++++---
 4 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/contrib/DEBIAN/control.in b/contrib/DEBIAN/control.in
index 762b3a0..0952490 100644
--- a/contrib/DEBIAN/control.in
+++ b/contrib/DEBIAN/control.in
@@ -22,6 +22,6 @@ Depends: python-cherrypy3 (>= 3.2.0),
          python-lxml,
          open-iscsi,
          firewalld
-Build-Depends:
+Build-Depends: libxslt
 Maintainer: Aline Manera <alinefm at br.ibm.com>
 Description: Kimchi web server
diff --git a/contrib/kimchi.spec.fedora.in b/contrib/kimchi.spec.fedora.in
index 5140c5e..0511527 100644
--- a/contrib/kimchi.spec.fedora.in
+++ b/contrib/kimchi.spec.fedora.in
@@ -28,6 +28,7 @@ Requires:	python-ipaddr
 Requires:	python-lxml
 Requires:	nfs-utils
 Requires:	iscsi-initiator-utils
+BuildRequires: libxslt
 
 %if 0%{?rhel} == 6
 Requires:	python-ordereddict
@@ -175,6 +176,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/kimchi/ui/libs/themes/base/images/*.gif
 %{_datadir}/kimchi/ui/libs/themes/base/jquery-ui.min.css
 %{_datadir}/kimchi/ui/pages/*.html.tmpl
+%{_datadir}/kimchi/ui/pages/help/*.html
 %{_datadir}/kimchi/ui/pages/tabs/*.html.tmpl
 %{_sysconfdir}/kimchi/kimchi.conf
 %{_sysconfdir}/kimchi/distros.d/debian.json
@@ -195,6 +197,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Tue Feb 11 2014 Crístian Viana <vianac at linux.vnet.ibm.com> 1.1.0
+- Add help pages and XSLT dependency
+
 * Tue Jul 16 2013 Adam Litke <agl at us.ibm.com> 0.1.0-1
 - Adapted for autotools build
 
diff --git a/contrib/kimchi.spec.suse.in b/contrib/kimchi.spec.suse.in
index 15db59b..cbb7b67 100644
--- a/contrib/kimchi.spec.suse.in
+++ b/contrib/kimchi.spec.suse.in
@@ -23,6 +23,7 @@ Requires:	python-ipaddr
 Requires:	python-lxml
 Requires:	nfs-client
 Requires:	open-iscsi
+BuildRequires: libxslt-tools
 
 %if 0%{?sles_version} == 11
 Requires:       python-ordereddict
@@ -95,6 +96,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/kimchi/ui/libs/themes/base/images/*.gif
 %{_datadir}/kimchi/ui/libs/themes/base/jquery-ui.min.css
 %{_datadir}/kimchi/ui/pages/*.html.tmpl
+%{_datadir}/kimchi/ui/pages/help/*.html
 %{_datadir}/kimchi/ui/pages/tabs/*.html.tmpl
 %{_sysconfdir}/kimchi/kimchi.conf
 %{_sysconfdir}/kimchi/distros.d/debian.json
@@ -105,6 +107,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_initrddir}/kimchid
 
 %changelog
+* Tue Feb 11 2014 Crístian Viana <vianac at linux.vnet.ibm.com> 1.1.0
+- Add help pages and XSLT dependency
+
 * Thu Jul 18 2013 Adam Litke <agl at us.ibm.com> 0.1.0-1
 - Adapted for autotools build
 - Split Suse and Fedora spec files
diff --git a/docs/README.md b/docs/README.md
index 0b22b9d..fcf53c5 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -53,7 +53,7 @@ Install Dependencies
                         PyPAM m2crypto python-jsonschema rpm-build \
                         qemu-kvm python-psutil python-ethtool sos \
                         python-ipaddr python-lxml nfs-utils \
-                        iscsi-initiator-utils
+                        iscsi-initiator-utils libxslt
      # If using RHEL6, install the following additional packages:
      $ sudo yum install python-unittest2 python-ordereddict
      # Restart libvirt to allow configuration changes to take effect
@@ -75,7 +75,7 @@ for more information on how to configure your system to access this repository.
                            python-pam python-m2crypto python-jsonschema \
                            qemu-kvm libtool python-psutil python-ethtool \
                            sosreport python-ipaddr python-lxml nfs-common \
-                           open-iscsi lvm2
+                           open-iscsi lvm2 xsltproc
 
     Packages version requirement:
         python-jsonschema >= 1.3.0
@@ -88,7 +88,8 @@ for more information on how to configure your system to access this repository.
                           libvirt python-libxml2 python-imaging \
                           python-pam python-M2Crypto python-jsonschema \
                           rpm-build kvm python-psutil python-ethtool \
-                          python-ipaddr python-lxml nfs-client open-iscsi
+                          python-ipaddr python-lxml nfs-client open-iscsi \
+                          libxslt-tools
 
     Packages version requirement:
         python-psutil >= 0.6.0
-- 
1.8.5.3




More information about the Kimchi-devel mailing list