- Add patch for RH bug #438638 (monospace <package> elements).

epel9
Matthew Barnes 16 years ago
parent 7decf16853
commit 9d175a88df

@ -0,0 +1,26 @@
diff -up gnome-doc-utils-0.14.0/xslt/docbook/html/db2html-css.xsl.package gnome-doc-utils-0.14.0/xslt/docbook/html/db2html-css.xsl
--- gnome-doc-utils-0.14.0/xslt/docbook/html/db2html-css.xsl.package 2008-09-22 16:06:09.000000000 -0400
+++ gnome-doc-utils-0.14.0/xslt/docbook/html/db2html-css.xsl 2008-11-29 11:35:54.000000000 -0500
@@ -465,6 +465,7 @@ span.medialabel { font-style: italic; }
span.methodname { font-family: monospace; }
span.ooclass, span.ooexception, span.oointerface { font-family: monospace; }
span.option { font-family: monospace; }
+span.package { font-family: monospace; }
span.parameter { font-family: monospace; }
span.paramdef span.parameter { font-style: italic; }
span.prompt { font-family: monospace; }
diff -up gnome-doc-utils-0.14.0/xslt/docbook/html/db2html-inline.xsl.package gnome-doc-utils-0.14.0/xslt/docbook/html/db2html-inline.xsl
--- gnome-doc-utils-0.14.0/xslt/docbook/html/db2html-inline.xsl.package 2008-09-22 16:06:09.000000000 -0400
+++ gnome-doc-utils-0.14.0/xslt/docbook/html/db2html-inline.xsl 2008-11-29 11:35:54.000000000 -0500
@@ -669,6 +669,11 @@ FIXME
<xsl:call-template name="db2html.inline"/>
</xsl:template>
+<!-- = package = -->
+<xsl:template match="package">
+ <xsl:call-template name="db2html.inline"/>
+</xsl:template>
+
<!-- = pagenums = -->
<xsl:template match="pagenums">
<xsl:call-template name="db2html.inline"/>

@ -2,7 +2,7 @@
Name: gnome-doc-utils
Version: 0.14.0
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+ and LGPLv2+ and GFDL
Group: Development/Tools
Summary: Documentation utilities for GNOME
@ -14,6 +14,9 @@ BuildArch: noarch
### Patches ###
# RH bug #438638 / GNOME bug #524207
Patch1: gnome-doc-utils-0.14.0-package.patch
### Dependencies ###
Requires: libxml2 >= 2.6.12
@ -58,6 +61,7 @@ are used by the tools in gnome-doc-utils and by yelp.
%prep
%setup -q
%patch1 -p1 -b .package
%build
%configure --disable-scrollkeeper
@ -95,6 +99,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/xml/gnome
%changelog
* Sat Nov 29 2008 Matthew Barnes <mbarnes@redhat.com> - 0.14.0-3
- Add patch for RH bug #438638 (monospace <package> elements).
* Sun Nov 23 2008 Matthias Clasen <mclasen@redhat.com> - 0.14.0-2
- Tweak %%summary and %%description

Loading…
Cancel
Save