From 51a3affeaf744a7cb71e2c0a338b57cd4a29c216 Mon Sep 17 00:00:00 2001
From: Tinny Ng <tng@apache.org>
Date: Fri, 10 Jan 2003 16:30:38 +0000
Subject: [PATCH] [Bug 5854] Patches and .spec file for rpm creation of 2.2.0. 
  Patch from Albert Strasheim.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174613 13f79535-47bb-0310-9956-ffa450edef68
---
 doc/build-misc.xml | 15 +++++++++++++++
 doc/build.xml      |  1 +
 2 files changed, 16 insertions(+)

diff --git a/doc/build-misc.xml b/doc/build-misc.xml
index 71cdf8f95..3897b6c41 100644
--- a/doc/build-misc.xml
+++ b/doc/build-misc.xml
@@ -134,6 +134,21 @@ perl packageBinaries.pl -s $HOME/&XercesCSrcInstallDir; -o $HOME/temp/&XercesCIn
         </s3>
     </s2>
 
+    <anchor name="RPMLinux"/>
+    <s2 title="Building &XercesCName; using RPM on Linux">
+        <p>&XercesCName; may be built from the distributed source archive directly on Linux
+        using RPM.  For example: </p>
+<source>
+rpm -ta &XercesCSrcInstallDir;.tar.gz (rpm 4.0 and older)
+or
+rpmbuild -ta &XercesCSrcInstallDir;.tar.gz (rpm 4.1 and later; ships with RedHat 8)
+</source>
+        <p>The &XercesCName; RPM specificattion can be found in
+           <br/><code>&XercesCSrcInstallDir;/xerces-c.spec</code>.</p>
+        <p>Please refer to the <jump href="http://www.rpm.org/RPM-HOWTO">RPM-HOWTO</jump>,
+           for more RPM related information.</p>
+    </s2>
+
     <anchor name="WinCOM"/>
     <s2 title="Building &XercesCName; COM Wrapper on Windows">
         <p>To build the COM module for use with XML on Windows platforms, you
diff --git a/doc/build.xml b/doc/build.xml
index 5ab848fe1..2aa570a41 100644
--- a/doc/build.xml
+++ b/doc/build.xml
@@ -30,6 +30,7 @@
       or jump directly to:</p>
     <ul>
        <li><jump href="build-misc.html#ICUPerl">Building &XercesCName; with ICU</jump></li>
+       <li><jump href="build-misc.html#RPMLinux">Building &XercesCName; using RPM on Linux</jump></li>
        <li><jump href="build-misc.html#WinCOM">Building &XercesCName; COM Wrapper on Windows</jump></li>
        <li><jump href="build-misc.html#UserDoc">Building User Documentation</jump></li>
        <li><jump href="build-misc.html#PortInfo">I wish to port &XercesCProjectName; to my favourite platform. Do you have any suggestions?</jump></li>
-- 
GitLab