From 7aad5150f69da42b84994c353283db5daf8e967f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Javier=20Jard=C3=B3n?= <jjardon@gnome.org>
Date: Sun, 26 Nov 2017 23:40:38 +0000
Subject: Add BuildStream converted files

This is made by a conversion made in
commit 8f8992a18d55c3abf28d4b6fc8036bd39d3dc1cf of definitions

Check there to know what exact versions of YBD and defs2bst was used
---
 elements/docutils/docbook-xsl.bst | 52 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 elements/docutils/docbook-xsl.bst

(limited to 'elements/docutils/docbook-xsl.bst')

diff --git a/elements/docutils/docbook-xsl.bst b/elements/docutils/docbook-xsl.bst
new file mode 100644
index 00000000..7a07ef97
--- /dev/null
+++ b/elements/docutils/docbook-xsl.bst
@@ -0,0 +1,52 @@
+kind: manual
+depends:
+- python2-core.bst
+- docutils/docbook-xml.bst
+sources:
+- kind: git
+  url: upstream:docbook-xsl
+  track: docbook-xsl-1.78.1
+  ref: 802da9dd5d4bc18f46a916eedc0c5c1980a15e59
+config:
+  install-commands:
+  - install -v -m755 -d "%{install-root}%{prefix}/share/xml/docbook/xsl-stylesheets-1.78.1"
+  - |
+    cp -v -R VERSION common eclipse epub extensions fo highlighting html \
+             htmlhelp images javahelp lib manpages params profiling \
+             roundtrip slides template tests tools webhelp website \
+             xhtml xhtml-1_1 \
+             "%{install-root}%{prefix}/share/xml/docbook/xsl-stylesheets-1.78.1"
+  - ln -s VERSION "%{install-root}%{prefix}/share/xml/docbook/xsl-stylesheets-1.78.1/VERSION.xsl"
+  - install -v -m644 -D README "%{install-root}%{prefix}/share/doc/docbook-xsl-1.78.1/README.txt"
+  - |
+    install -v -m644    RELEASE-NOTES* NEWS* \
+                        "%{install-root}%{prefix}/share/doc/docbook-xsl-1.78.1"
+  - if [ ! -d "%{install-root}/etc/xml" ]; then install -v -m755 -d "%{install-root}/etc/xml";
+    fi
+  - |
+    if [ ! -e /etc/xml/catalog ]; then
+      echo "Creating new xml catalog"
+      xmlcatalog --noout --create "%{install-root}/etc/xml/catalog"
+    else
+      cp /etc/xml/catalog "%{install-root}/etc/xml/catalog"
+    fi
+  - |
+    xmlcatalog --noout --add "rewriteSystem" \
+          "http://docbook.sourceforge.net/release/xsl/1.78.1" \
+          "/usr/share/xml/docbook/xsl-stylesheets-1.78.1" \
+      "%{install-root}/etc/xml/catalog"
+  - |
+    xmlcatalog --noout --add "rewriteURI" \
+          "http://docbook.sourceforge.net/release/xsl/1.78.1" \
+          "/usr/share/xml/docbook/xsl-stylesheets-1.78.1" \
+      "%{install-root}/etc/xml/catalog"
+  - |
+    xmlcatalog --noout --add "rewriteSystem" \
+           "http://docbook.sourceforge.net/release/xsl/current" \
+           "/usr/share/xml/docbook/xsl-stylesheets-1.78.1" \
+      "%{install-root}/etc/xml/catalog"
+  - |
+    xmlcatalog --noout --add "rewriteURI" \
+          "http://docbook.sourceforge.net/release/xsl/current" \
+          "/usr/share/xml/docbook/xsl-stylesheets-1.78.1" \
+      "%{install-root}/etc/xml/catalog"
-- 
cgit v1.2.1

