rpms/docbook-slides/devel docbook-slides-tests.tar.gz, NONE, 1.1 docbook-slides.spec, 1.10, 1.11 sources, 1.4, 1.5

Ondrej Vasik ovasik at fedoraproject.org
Fri Nov 21 12:57:09 UTC 2008


Author: ovasik

Update of /cvs/extras/rpms/docbook-slides/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12124

Modified Files:
	docbook-slides.spec sources 
Added Files:
	docbook-slides-tests.tar.gz 
Log Message:
License should be MIT, moved tests from main tarball to separate one match upstream md5sum(sourceaudit)


--- NEW FILE docbook-slides-tests.tar.gz ---
tests/
 
STYLE=tables
NOFRAMESTYLE=../xsl/html/$(STYLE).xsl
FRAMESTYLE=../xsl/html/frames.xsl
FOSTYLE=../xsl/fo/plain.xsl
VARS=chunker.output.doctype-system=1 draft.mode="no"
FORMATTER=fop
FORMATTER_OPTS=-q
BROWSER=
MULTIFRAME=0
FRAMES=0
OVERLAY=1
TIDY=0
XML_FILES=dbgentext.xml dbhtml-dir.xml minimal.xml test-full.xml test.xml testcust.xml testfull.xml tr-862918.xml
PDF_FILES  = $(foreach file,$(basename $(XML_FILES)),$(file).pdf)
HTML_FILES = $(foreach file,$(basename $(XML_FILES)),$(file).html)

ifeq ($(FRAMES),0)
  HTMLSTYLE=$(NOFRAMESTYLE)
else
  HTMLSTYLE=$(FRAMESTYLE)
endif

ifeq ($(BROWSER),)
  PARAMS=$(VARS) multiframe=$(MULTIFRAME) overlay=$(OVERLAY)
else
  PARAMS=$(VARS) $(BROWSER)=1 multiframe=$(MULTIFRAME) overlay=$(OVERLAY)
endif

all: $(HTML_FILES) tidy $(PDF_FILES)
#	@echo Select a target

tidy:
ifeq ($(TIDY),1)
	for i in *.html; do \
		if [ "$$i" != "ns4toc.html" ] ; then \
			tidy -iq -latin0 -mn $$i; \
		fi \
	done
endif

%.html: %.xml
	$(XJPARSE) $<
	$(XSLT) $< $(HTMLSTYLE) - $(PARAMS)
	touch $@

%.fo : %.xml
ifeq ($(FORMATTER),tex)
	$(XSLT) $< $(FOSTYLE) $(FORMATTER_OPTS) $@ passivetex.extensions=1 $(VARS)
else
ifeq ($(FORMATTER),fop)
	$(XSLT) $< $(FOSTYLE) -q $(FORMATTER_OPTS) $@ fop.extensions=1 $(VARS)
else
	$(XSLT) $< $(FOSTYLE) $(FORMATTER_OPTS) $@ $(VARS)
endif
endif

%.pdf : %.fo
ifeq ($(FORMATTER),tex)
	pdftex "&pdfxmltex" $<
	@if [ `grep Rerun $(basename $@).log | wc -l` -gt 0 ]; then \
		pdftex "&pdfxmltex" $< ; \
	fi
	@if [ `grep Rerun $(basename $@).log | wc -l` -gt 0 ]; then \
		pdftex "&pdfxmltex" $< ; \
	fi
else
ifeq ($(FORMATTER),fop)
	fop $< $@
else
ifeq ($(FORMATTER),xep)
	xep $<
else
	echo How would you like me to make the PDF file?
endif
endif
endif

clean:
	rm -f *.html *.fo *.pdf *.ps
	rm -f *.log *.aux *.out
	rm -f dbhtml-dir-test/*.html


<!DOCTYPE slides SYSTEM "../schema/dtd/slides-custom.dtd">
<?dbhtml graphics-dir="../graphics"?>
<?dbhtml css-stylesheet="../browser/slides.css"?>
<?dbhtml script-dir="../browser"?>
<slides>
<slidesinfo>
<title>Test Slides Title</title>
</slidesinfo>
<foil><title>Test Slides Title</title>
<para>...</para>
</foil>
<foil><title>Test Slides Title</title>
<para>...</para>
<screen>
this is a screen
</screen>
</foil>
</slides>

<!DOCTYPE slides SYSTEM "../schema/dtd/slides.dtd">
<?dbhtml graphics-dir="../graphics"?>
<?dbhtml css-stylesheet="../browser/slides.css"?>
<?dbhtml script-dir="../browser"?>
<slides>
<slidesinfo>
  <title>Test Slides Title That's Really Really Long and Would Never Really Be Used Exactly Like This</title>
  <copyright><year>2001</year><holder>Norman Walsh</holder></copyright>
</slidesinfo>

<speakernotes>
<para>Welcome the audience</para>
</speakernotes>

<foilgroup><title>Foilgroup 1</title>

<speakernotes>
<para>Introduce the foilgroup</para>
</speakernotes>

<foil><title>Test Slides Title 1</title>

<speakernotes>
<para>Tell a funny joke. Remember, I said a funny one.</para>
</speakernotes>

<para>...</para>
</foil>

<foil><title>Test Slides Title 2</title>
<para>...</para>
<screen>
this is a screen
</screen>

<screen>
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
this is a long screen
</screen>
</foil>

</foilgroup>
<foilgroup><title>Foilgroup 2</title>

<foil><title>Test Slides Title 1</title>
<para>...<footnote><para>This is a footnote.</para></footnote></para>
</foil>

<foil><title>Test Slides Title 2</title>
<para>...</para>
<screen>
this is a screen
</screen>
</foil>

</foilgroup>

</slides>

<!DOCTYPE slides SYSTEM "../schema/dtd/slides.dtd">
<!--
<?dbhtml graphics-dir="../graphics" css-stylesheet-dir="../browser"?>
<?dbhtml script-dir="../browser"?>
-->
<slides><?dbhtml dir="dbhtml-dir-test" ?>
<slidesinfo>
  <title>Supporting Localized Generated Text</title>
  <titleabbrev>Generated Text</titleabbrev>
  <author><firstname>Norman</firstname><surname>Walsh</surname></author>
  <pubdate>Sunday, 08 Apr 2001</pubdate>
  <confgroup>
    <conftitle>XSLTUK-01</conftitle>
    <confdates>08 Apr - 09 Apr 2001</confdates>
    <conftitle role="address">Keble College, Oxford, UK</conftitle>
    <confnum>1</confnum>
  </confgroup>
  <releaseinfo role="version">Version TEST</releaseinfo>
  <copyright><year>2001</year>
             <holder>Sun Microsystems, Inc.</holder></copyright>
</slidesinfo>

<foil><title>Introduction</title>

<speakernotes>
<para>Say something pithy in the introduction</para>
</speakernotes>

<para>This is the introductory slide</para>
</foil>

<foilgroup><title>The Problem</title>

<para>This is on the foilgroup slide.</para>

<speakernotes>
<para>Remember to describe the use-caess</para>
</speakernotes>

<foil><title>Generated Text</title>
<itemizedlist>
<listitem><para>Semantic markup often omits text that can be generated
automatically
</para></listitem>
<listitem><para>Different contexts require different generated text,
naturally
</para></listitem>
<listitem><para>Generated text is locale-specific
</para></listitem>
</itemizedlist>
</foil>

<foil><title>An Example</title>
<para>An obvious, common example is chapter title markup. Consider:</para>

<programlisting><emphasis
><chapter label="3"><title>Some Title</title></emphasis> ...</programlisting>

<para>The title page for a chapter varies by location:</para>

<itemizedlist>
<listitem><para>English:
</para>
<para><emphasis>Chapter 3. Some Title</emphasis></para>
</listitem>
<listitem><para>French:
</para>
<para><emphasis>Chapitre 3. Some Title</emphasis></para>
</listitem>
</itemizedlist>
</foil>

</foilgroup>
<foilgroup><title>A Solution</title>

<foil><title>The Old Solution</title>

<para>Replace this</para>

<screen><![CDATA[<xsl:template match="chapter">
  <h1>
    ]]><?Pub _font blue?><![CDATA[Chapter ]]><?Pub /_font?><![CDATA[
    <xsl:number from="book" format="1."/>
    ]]><?Pub _font green?><![CDATA[<xsl:text> </xsl:text>]]><?Pub /_font?><![CDATA[
    <xsl:apply-templates select="title"/>
  </h1>
</xsl:template>]]></screen>

<para>with this</para>

<screen><![CDATA[<xsl:template match="chapter">
  <h1>
    ]]><?Pub _font blue?><![CDATA[<xsl:call-template name="gentext">
      <xsl:with-param name="key">Chapter</xsl:with-param>
    </xsl:call-template>]]><?Pub /_font?><![CDATA[
    ]]><?Pub _font green?><![CDATA[<xsl:call-template name="gentext.space"/>]]><?Pub /_font?><![CDATA[
    <xsl:number from="book" format="1."/>
    ]]><?Pub _font green?><![CDATA[<xsl:call-template name="gentext.space"/>]]><?Pub /_font?><![CDATA[
    <xsl:apply-templates select="title"/>
  </h1>
</xsl:template>]]></screen>
</foil>

<foil><title>Generated from Localization Data</title>
<titleabbrev>L10N Data</titleabbrev>

<para>Where the generated text for words like <quote>Chapter</quote>
is taken from an independently maintained lookup table:</para>

<screen><![CDATA[<internationalization>

<localization language="ca">
<gentext key="Appendix" text="Ap&#x00E8;ndix"/>
<gentext key="Chapter" text="Capítol"/>
...
<localization language="cs">
...]]></screen>
</foil>

<foil><title>Problems</title>
<itemizedlist>
<listitem><para>Single-word localization (doesn't support Japanese)
</para></listitem>
<listitem><para>Hard-coded presentation elements (number and title)
</para></listitem>
<listitem><para>Hard-coded presentation order (gentext, number, title)
</para></listitem>
<listitem><para>Hard-coded number format
</para></listitem>
</itemizedlist>
</foil>

</foilgroup>
<foilgroup><title>A Better Solution</title>

<foil><title>Use Markup Templates</title>

<para>Use a lookup function to determine the markup template in addition
to the keywords. For example, the <quote>markup template</quote> lookup
table for a chapter title looks something like this:</para>

<informaltable frame="none" pgwide="1">
<tgroup cols="2">
<?dbhtml table-summary="Template lookup table"?>
<thead>
<row><entry align="left">Localization</entry><entry align="left">Template Returned</entry></row>
</thead>
<tbody>
<row><entry>English</entry><entry><literal>Chapter %n. %t</literal></entry></row>
<row><entry>French</entry><entry><literal>Chapitre %n. %t</literal></entry></row>
</tbody>
</tgroup>
</informaltable>

<para>The markers, <literal>%n</literal>, <literal>%t</literal>, and
<literal>%s</literal> (not shown) are replaced by the lable, title, and
subtitle of the component, respectively.</para>

</foil>

<foil><title>The <quote>New</quote> Solution</title>

<para>Find the template and fill it in:</para>

<screen><![CDATA[<xsl:template match="*" mode="object.title.markup">
  <xsl:variable name="template">
    <xsl:apply-templates select="." mode="object.title.template"/>
  </xsl:variable>

  <xsl:call-template name="substitute-markup">
    <xsl:with-param name="allow-anchors" select="1"/>
    <xsl:with-param name="template" select="$template"/>
  </xsl:call-template>
</xsl:template>]]></screen>
</foil>

<foil><title>Generated from Localization Data</title>
<titleabbrev>L10N Data</titleabbrev>

<para>In order to make this work, the localization data is extended:</para>

<screen><![CDATA[<internationalization>

<localization language="ca">
<gentext key="Appendix" text="Ap&#x00E8;ndix"/>
<gentext key="Chapter"  text="Capítol"/>
...
]]><?Pub _font blue?><![CDATA[<context name="title">
<template name="appendix">]]><?Pub _font green?><![CDATA[<Appendix/>]]><?Pub /_font?><![CDATA[ %n. %t</template>
<template name="chapter">]]><?Pub _font green?><![CDATA[<Chapter/>]]><?Pub /_font?><![CDATA[ %n. %t</template>
]]><?Pub /_font?><![CDATA[...
]]></screen>
</foil>

</foilgroup>

<foilgroup><title>Resources</title>
<foil><title>Resources</title>
<itemizedlist>
<listitem><para><ulink url="http://www.oasis-open.org/docbook/"/>, the
DocBook Home Page.
</para></listitem>
<listitem><para><ulink url="http://sourceforge.net/projects/docbook/"/>, the
stylesheets and related document types (including the slides layer that
was used to produce this presentation.)
</para></listitem>
<listitem><para>Mailing lists: <email>docbook at lists.oasis-open.org</email>,
for questions about DocBook; <email>docbook-apps at lists.oasis-open.org</email>,
for questions about DocBook applications, stylesheets, and other tool-related
queries.
</para></listitem>
</itemizedlist>
</foil>
</foilgroup>
</slides>

<!DOCTYPE slides SYSTEM "../schema/dtd/slides-full.dtd">
<?dbhtml graphics-dir="../graphics"?>
<?dbhtml css-stylesheet="../browser/slides.css"?>
<?dbhtml script-dir="../browser"?>
<slides>
<slidesinfo>
<title>Test Slides Title</title>
</slidesinfo>
<foil><title>Test Slides Title</title>
<para>...</para>
</foil>
<foil><title>Test Slides Title</title>
<para>...</para>
<screen>
this is a screen
</screen>
</foil>
</slides>

 
<!DOCTYPE slides SYSTEM "../schema/dtd/slides.dtd">
<slides>
<slidesinfo>
<title>Presentation Title</title>
</slidesinfo>
<foilgroup><title>Foilgroup Title</title>
<subtitle>Foilgroup Subtitle</subtitle>
<para>Some premable.</para>
<foil><title>Foil Title</title>
<subtitle>Foil Subtitle</subtitle>
<para>Foil content</para>
</foil>
</foilgroup>
</slides>


<!DOCTYPE slides SYSTEM "../schema/dtd/slides-full.dtd">
<slides>
<slidesinfo>
  <title>Test Slides Title</title>
  <copyright><year>2001</year><holder>Norman Walsh</holder></copyright>
</slidesinfo>

<foilgroup><title>Section 1</title>

<foil><title>Test Slides Title 1</title>
<para>...<keycombo><keycap>X</keycap></keycombo></para>
</foil>

<foil><title>Test Slides Title 2</title>
<para>...</para>
<screen>
this is a screen
</screen>
</foil>

</foilgroup>
<foilgroup><title>Section 2</title>

<foil><title>Test Slides Title 1</title>
<para>...</para>
</foil>

<foil><title>Test Slides Title 2</title>
<para>...</para>
<screen>
this is a screen
</screen>
</foil>

</foilgroup>

</slides>

<!DOCTYPE slides SYSTEM "../schema/dtd/slides.dtd">
<!--
<?dbhtml graphics-dir="../graphics" css-stylesheet-dir="../browser"?>
<?dbhtml script-dir="../browser"?>
-->
<slides>
<slidesinfo>
  <title>Supporting Localized Generated Text</title>
  <titleabbrev>Generated Text</titleabbrev>
  <author><firstname>Norman</firstname><surname>Walsh</surname></author>
  <pubdate>Sunday, 08 Apr 2001</pubdate>
  <confgroup>
    <conftitle>XSLTUK-01</conftitle>
    <confdates>08 Apr - 09 Apr 2001</confdates>
    <conftitle role="address">Keble College, Oxford, UK</conftitle>
    <confnum>1</confnum>
  </confgroup>
  <releaseinfo role="version">Version TEST</releaseinfo>
  <copyright><year>2001</year>
             <holder>Sun Microsystems, Inc.</holder></copyright>
</slidesinfo>

<foil><title>Introduction</title>

<speakernotes>
<para>Say something pithy in the introduction</para>
</speakernotes>

<para>This is the introductory slide</para>
</foil>

<foilgroup><title>The Problem</title>

<para>This is on the foilgroup slide.</para>

<speakernotes>
<para>Remember to describe the use-caess</para>
</speakernotes>

<foil><title>Generated Text</title>
<itemizedlist>
<listitem><para>Semantic markup often omits text that can be generated
automatically
</para></listitem>
<listitem><para>Different contexts require different generated text,
naturally
</para></listitem>
<listitem><para>Generated text is locale-specific
</para></listitem>
</itemizedlist>
</foil>

<foil><title>An Example</title>
<para>An obvious, common example is chapter title markup. Consider:</para>

<programlisting><emphasis
><chapter label="3"><title>Some Title</title></emphasis> ...</programlisting>

<para>The title page for a chapter varies by location:</para>

<itemizedlist>
<listitem><para>English:
</para>
<para><emphasis>Chapter 3. Some Title</emphasis></para>
</listitem>
<listitem><para>French:
</para>
<para><emphasis>Chapitre 3. Some Title</emphasis></para>
</listitem>
</itemizedlist>
</foil>

</foilgroup>
<foilgroup><title>A Solution</title>

<foil><title>The Old Solution</title>

<para>Replace this</para>

<screen><![CDATA[<xsl:template match="chapter">
  <h1>
    ]]><?Pub _font blue?><![CDATA[Chapter ]]><?Pub /_font?><![CDATA[
    <xsl:number from="book" format="1."/>
    ]]><?Pub _font green?><![CDATA[<xsl:text> </xsl:text>]]><?Pub /_font?><![CDATA[
    <xsl:apply-templates select="title"/>
  </h1>
</xsl:template>]]></screen>

<para>with this</para>

<screen><![CDATA[<xsl:template match="chapter">
  <h1>
    ]]><?Pub _font blue?><![CDATA[<xsl:call-template name="gentext">
      <xsl:with-param name="key">Chapter</xsl:with-param>
    </xsl:call-template>]]><?Pub /_font?><![CDATA[
    ]]><?Pub _font green?><![CDATA[<xsl:call-template name="gentext.space"/>]]><?Pub /_font?><![CDATA[
    <xsl:number from="book" format="1."/>
    ]]><?Pub _font green?><![CDATA[<xsl:call-template name="gentext.space"/>]]><?Pub /_font?><![CDATA[
    <xsl:apply-templates select="title"/>
  </h1>
</xsl:template>]]></screen>
</foil>

<foil><title>Generated from Localization Data</title>
<titleabbrev>L10N Data</titleabbrev>

<para>Where the generated text for words like <quote>Chapter</quote>
is taken from an independently maintained lookup table:</para>

<screen><![CDATA[<internationalization>

<localization language="ca">
<gentext key="Appendix" text="Ap&#x00E8;ndix"/>
<gentext key="Chapter" text="Capítol"/>
...
<localization language="cs">
...]]></screen>
</foil>

<foil><title>Problems</title>
<itemizedlist>
<listitem><para>Single-word localization (doesn't support Japanese)
</para></listitem>
<listitem><para>Hard-coded presentation elements (number and title)
</para></listitem>
<listitem><para>Hard-coded presentation order (gentext, number, title)
</para></listitem>
<listitem><para>Hard-coded number format
</para></listitem>
</itemizedlist>
</foil>

</foilgroup>
<foilgroup><title>A Better Solution</title>

<foil><title>Use Markup Templates</title>

<para>Use a lookup function to determine the markup template in addition
to the keywords. For example, the <quote>markup template</quote> lookup
table for a chapter title looks something like this:</para>

<informaltable frame="none" pgwide="1">
<tgroup cols="2">
<?dbhtml table-summary="Template lookup table"?>
<thead>
<row><entry align="left">Localization</entry><entry align="left">Template Returned</entry></row>
</thead>
<tbody>
<row><entry>English</entry><entry><literal>Chapter %n. %t</literal></entry></row>
<row><entry>French</entry><entry><literal>Chapitre %n. %t</literal></entry></row>
</tbody>
</tgroup>
</informaltable>

<para>The markers, <literal>%n</literal>, <literal>%t</literal>, and
<literal>%s</literal> (not shown) are replaced by the lable, title, and
subtitle of the component, respectively.</para>

</foil>

<foil><title>The <quote>New</quote> Solution</title>

<para>Find the template and fill it in:</para>

<screen><![CDATA[<xsl:template match="*" mode="object.title.markup">
  <xsl:variable name="template">
    <xsl:apply-templates select="." mode="object.title.template"/>
  </xsl:variable>

  <xsl:call-template name="substitute-markup">
    <xsl:with-param name="allow-anchors" select="1"/>
    <xsl:with-param name="template" select="$template"/>
  </xsl:call-template>
</xsl:template>]]></screen>
</foil>

<foil><title>Generated from Localization Data</title>
<titleabbrev>L10N Data</titleabbrev>

<para>In order to make this work, the localization data is extended:</para>

<screen><![CDATA[<internationalization>

<localization language="ca">
<gentext key="Appendix" text="Ap&#x00E8;ndix"/>
<gentext key="Chapter"  text="Capítol"/>
...
]]><?Pub _font blue?><![CDATA[<context name="title">
<template name="appendix">]]><?Pub _font green?><![CDATA[<Appendix/>]]><?Pub /_font?><![CDATA[ %n. %t</template>
<template name="chapter">]]><?Pub _font green?><![CDATA[<Chapter/>]]><?Pub /_font?><![CDATA[ %n. %t</template>
]]><?Pub /_font?><![CDATA[...
]]></screen>
</foil>

</foilgroup>

<foilgroup><title>Resources</title>
<foil><title>Resources</title>
<itemizedlist>
<listitem><para><ulink url="http://www.oasis-open.org/docbook/"/>, the
DocBook Home Page.
</para></listitem>
<listitem><para><ulink url="http://sourceforge.net/projects/docbook/"/>, the
stylesheets and related document types (including the slides layer that
was used to produce this presentation.)
</para></listitem>
<listitem><para>Mailing lists: <email>docbook at lists.oasis-open.org</email>,
for questions about DocBook; <email>docbook-apps at lists.oasis-open.org</email>,
for questions about DocBook applications, stylesheets, and other tool-related
queries.
</para></listitem>
</itemizedlist>
</foil>
</foilgroup>
</slides>

 tf-8"?>
<!DOCTYPE slides SYSTEM "../schema/dtd/slides-full.dtd">
<slides>

<slidesinfo>
<title>GITK - Generalized Interface ToolKit</title>
<subtitle>Dynamically generated multi-modal application interfaces</subtitle>
<titleabbrev>GITK</titleabbrev>

<authorgroup>
<author>
<honorific>Dipl. Inf</honorific>
<firstname>Stefan</firstname>
<surname>Kost</surname>
</author>

<othercredit>
<honorific>Prof. Dr</honorific>
<firstname>Wolfgang</firstname>
<surname>Wünschmann</surname>
<contrib>Betreuer der Arbeit</contrib>
<affiliation>
<orgname>TU Dresden</orgname>
<orgdiv>FB Informatik, Institut für Angewandte
Informatik</orgdiv>
</affiliation>
</othercredit>

<othercredit>
<honorific>Prof. Dr</honorific>
<firstname>Klaus</firstname>
<surname>Bastian</surname>
<contrib>Betreuer der Arbeit</contrib>
<affiliation>
<orgname>HTWK Leipzig</orgname>
<orgdiv>FB IMN</orgdiv>
</affiliation>
</othercredit>
</authorgroup>

<releaseinfo role="version">0.2.0</releaseinfo>
<copyright>
<year>2003</year>
<holder>Stefan Kost</holder>
</copyright>
<pubdate>16.12.2003</pubdate>
</slidesinfo>

<foilgroup><title>Foilgroup Title</title>
<subtitle>Foilgroup Subtitle</subtitle>
<para>Some premable.</para>
<foil><title>Foil Title</title>
<subtitle>Foil Subtitle</subtitle>
<para>Foil content</para>
</foil>
</foilgroup>
</slides>

<!DOCTYPE slides SYSTEM "../schema/dtd/slides-full.dtd">
<?dbhtml graphics-dir="../graphics"?>
<?dbhtml css-stylesheet="../browser/slides.css"?>
<?dbhtml script-dir="../browser"?>
<slides>
<slidesinfo>
  <title>HTML Test Slides Title</title>
  <copyright><year>2001</year><holder>Norman Walsh</holder></copyright>
</slidesinfo>

<speakernotes>
<para>Welcome the audience</para>
</speakernotes>

<section><title>Section 1</title>

<speakernotes>
<para>Introduce the section</para>
</speakernotes>

<foil><title>Test Slides Title 1</title>

<speakernotes>
<para>Tell a funny joke. Remember, I said a funny one.</para>
</speakernotes>

<para>...</para>
</foil>

<foil><title>Test Slides Title 2</title>
<para>...</para>
<screen>
this is a screen
</screen>
</foil>

</section>
<section><title>Section 2</title>

<foil><title>Test Slides Title 1</title>
<para>...</para>
</foil>

<foil><title>Test Slides Title 2</title>
<para>...</para>
<screen>
this is a screen
</screen>
</foil>

<foil><title>Test Slides Title 3</title>
<para>...</para>
<screen>
this is a screen
</screen>

<html:div xmlns:html='http://www.w3.org/1999/xhtml'>
<html:p>This foil contains some XHTML:</html:p>
<html:ol><html:li>item 1</html:li><html:li>item 2</html:li></html:ol>
</html:div>

</foil>

</section>

</slides>

 
 
 
 
 
 
 
 
 
 

Index: docbook-slides.spec
===================================================================
RCS file: /cvs/extras/rpms/docbook-slides/devel/docbook-slides.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- docbook-slides.spec	18 Jul 2008 12:52:36 -0000	1.10
+++ docbook-slides.spec	21 Nov 2008 12:56:38 -0000	1.11
@@ -2,16 +2,17 @@
 Summary: DocBook Slides document type and stylesheets
 Name: docbook-slides
 Version: 3.4.0
-Release: 4%{?dist}
-License: BSD
+Release: 5%{?dist}
+License: MIT
 Group: Applications/Text
 URL: http://sourceforge.net/projects/docbook
-#in upstream tarball is NOT included tests subdir, but you can download
-#it separately as docbook-slides-demo there if you wish to have it
 Source0: http://downloads.sourceforge.net/docbook/%{name}-%{version}.tar.gz
 Source1: %{name}.xml
 Source2: %{name}.cat
 Source3: %{name}.README.redhat
+#tests update and buildtools could be downloaded at upstream svn ... e.g.
+#http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/slides/tests/
+Source4: %{name}-tests.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildArch: noarch
 Requires: docbook-dtds
@@ -31,6 +32,7 @@
 
 %prep
 %setup -q -n %{pkg}-%{version}
+tar xf %{SOURCE4}
 
 %build
 
@@ -125,7 +127,7 @@
 
 # Hack to workaround bug in install-catalog
   sed -i '/^CATALOG.*log\"$/d' $PKG_SGML_CATALOG
-  sed -i '/^CATALOG.*log$/d' $PKG_SGML_CATALOG   
+  sed -i '/^CATALOG.*log$/d' $PKG_SGML_CATALOG
 fi
 
 ####################################################################
@@ -145,14 +147,19 @@
 if [ "$1" = 0 ]; then
   %{_bindir}/xmlcatalog --sgml --noout --del \
     %{_sysconfdir}/sgml/catalog \
-    "%{_sysconfdir}/sgml/docbook-slides.cat" 
-  
+    "%{_sysconfdir}/sgml/docbook-slides.cat"
+
   %{_bindir}/xmlcatalog --noout --del \
     "file://%{_sysconfdir}/xml/docbook-slides.xml" \
-    %{_sysconfdir}/xml/catalog 
+    %{_sysconfdir}/xml/catalog
 fi
 
 %changelog
+* Fri Nov 21 2008 Ondrej Vasik <ovasik at redhat.com> - 3.4.0-5
+- move tests subdir from tarball (sourceaudit check md5sum
+  failure)
+- license should be MIT
+
 * Fri Jul 18 2008 Ondrej Vasik <ovasik at redhat.com> - 3.4.0-4
 - fix loop in post catalog registration(incomplete sed
   coverage) #455680


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/docbook-slides/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	25 May 2007 11:15:17 -0000	1.4
+++ sources	21 Nov 2008 12:56:38 -0000	1.5
@@ -1 +1 @@
-0fd5d334918d770946017dbc13d68471  docbook-slides-3.4.0.tar.gz
+26e2083077454d7140f2b82ae3d66123  docbook-slides-3.4.0.tar.gz




More information about the fedora-extras-commits mailing list