[weasel-commit] Source: docbook-sgml-utils=0.6.14-1

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Wed, 30 Jun 2010 11:45:00 -0400

================================
docbook-sgml-utils:source=0.6.14-1
cvc rdiff docbook-sgml-utils -1 /weasel.rpath.org@wgl:3-devel/0.6.14-1
================================
0.6.14-1 Filip Brcic (brcha@xxxxxxxxxxxx) Wed Jun 30 11:44:49 2010
    docbook-sgml-utils 0.6.14

docbook-utils-0.6.14.tar.gz: new
docbook-utils-0.6.14-elinks.patch: new
--- /dev/null
+++ docbook-utils-0.6.14-elinks.patch
@@ -0,0 +14 @@
+diff -NurdB docbook-utils-0.6.14/backends/txt 
docbook-utils-0.6.14-patched/backends/txt
+--- docbook-utils-0.6.14/backends/txt  2004-02-11 08:58:03.000000000 -0500
++++ docbook-utils-0.6.14-patched/backends/txt  2006-06-05 21:57:23.000000000 
-0500
+@@ -10,6 +10,10 @@
+ then
+   CONVERT=/usr/bin/links
+   ARGS="-dump"
++elif [ -x /usr/bin/elinks ]
++then
++  CONVERT=/usr/bin/elinks
++  ARGS="-dump"
+ elif [ -x /usr/bin/w3m ]
+ then
+   CONVERT=/usr/bin/w3m

docbook-sgml-utils.recipe: new
--- /dev/null
+++ docbook-sgml-utils.recipe
@@ -0,0 +55 @@
+#
+# Copyright (c) 2010 Weasel GNU/Linux [Filip Brcic (brcha@xxxxxxxxxxxx)]
+# Distributed under the terms of the GNU General Public License v3
+#
+
+class DocbookSgmlUtils(AutoPackageRecipe):
+    name = 'docbook-sgml-utils'
+    version = '0.6.14'
+
+    buildRequires = [
+        'perl:devellib',
+        ]
+
+    runtimeRequires = [
+        'docbook-dsssl-stylesheets:data', 'openjade:runtime',
+        'perl-SGMLSpm:perl', 'docbook-xml-simple-dtd-4124:data',
+        'docbook-xml-simple-dtd-10:data', 'docbook-xml-dtd-45:data',
+        'docbook-sgml-dtd-30:data', 'docbook-sgml-dtd-31:data',
+        'docbook-sgml-dtd-40:data', 'docbook-sgml-dtd-41:data',
+        'jadetex:runtime', 'which:runtime', 'elinks:runtime',
+        'build-docbook-catalog:runtime',
+        ]
+    buildRequires.extend(runtimeRequires)
+
+    shortDesc  = 'Shell scripts to manage DocBook documents'
+    longDesc   = """
+docbook-tools is a collection of all the free software tools you need
+to work on and format DocBook documents. RPMs are provided for those
+using RedHat Linux; the sourceware are all conveniently available from
+a single place if you're using some other OS. For those curious about
+DocBook, it is an SGML (or XML) DTD for writing technical manuals that
+cover hardware or software. It provides a standardized set of tags for
+all the kinds of things you need when you're writing software
+documentation and such things.
+"""
+    url        = 'http://sources.redhat.com/docbook-tools/'
+    licenses   = [ 'GPL-2' ]
+    categories = [ 'Applications/Text' ]
+
+    def unpack(r):
+        r.macros.archive_name = r.name.replace('-sgml', '')
+        
r.addArchive('ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/')
+        
+        r.addPatch('docbook-utils-0.6.14-elinks.patch')
+
+    def makeinstall(r):
+        r.MakeInstall(
+            ' htmldir="%(thisdocdir)s/html"'
+            )
+
+        r.Doc('AUTHORS', 'ChangeLog', 'NEWS', 'README', 'TODO')
+
+    def policy(r):
+        for req in r.runtimeRequires:
+            r.Requires(req, '%(bindir)s/')


Committed by: brcha

Other related posts: