wok-current rev 18510
xmlto: add all required format files to the package
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 23 23:34:03 2015 +0300 (2015-10-23) |
parents | 8df548d06b11 |
children | f111123cc72e |
files | xmlto/description.txt xmlto/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xmlto/description.txt Fri Oct 23 23:34:03 2015 +0300 1.3 @@ -0,0 +1,47 @@ 1.4 +xmlto 1.5 +----- 1.6 + 1.7 +Utility `xmlto` is a simple shell script for converting XML files to various 1.8 +formats. It serves as easy to use command line frontend to make fine output 1.9 +without remembering many long options and searching for the syntax of the 1.10 +backends. 1.11 + 1.12 +At the moment it supports conversion from docbook, xhtml1 and fo format to 1.13 +various output formats (awt, fo, htmlhelp, javahelp, mif, pdf, svg, xhtml, dvi, 1.14 +html, html-nochunks, man , pcl, ps, txt, xhtml-nochunks). 1.15 + 1.16 +Some output formats may be unavailable if you use don't have all prerequisities 1.17 +installed, as xmlto uses backends (xsltproc, passivetex/fop/dblatex) for 1.18 +processing. 1.19 + 1.20 +You could check the documentation online at 1.21 +<https://fedorahosted.org/xmlto/wiki/xmlto> 1.22 +(or generate the offline version with xmlto from doc/xmlto.xml sources). 1.23 + 1.24 +If you received xmlto as a part of distribution, you should already have 1.25 +xmlto(1) manpage on your machine. 1.26 + 1.27 + 1.28 +xmlif 1.29 +----- 1.30 + 1.31 +`xmlif` utility filters XML according to conditionalizing markup. This can be 1.32 +useful for formatting one of several versions of a XML document depending on 1.33 +conditions passed to the command. 1.34 + 1.35 +You could check the documentation online at 1.36 +<https://fedorahosted.org/xmlto/wiki/xmlif> 1.37 +(or generate the offline version with xmlto from doc/xmlif.xml sources). 1.38 + 1.39 +If you received xmlif as a part of distribution, you should already have 1.40 +xmlif(1) manpage on your machine. 1.41 + 1.42 + 1.43 +How to contact authors 1.44 +---------------------- 1.45 + 1.46 +Since xmlto 0.19, xmlto is maintained by Ondřej Vašík <ovasik@redhat.com>. 1.47 + 1.48 +You can contact me directly via email or leave a ticket on project's trac 1.49 +instance at <https://fedorahosted.org/xmlto/newticket>. 1.50 +Registered fedoraproject.org account is required for this.
2.1 --- a/xmlto/receipt Thu Oct 22 19:03:32 2015 +0300 2.2 +++ b/xmlto/receipt Fri Oct 23 23:34:03 2015 +0300 2.3 @@ -1,25 +1,23 @@ 2.4 # SliTaz package receipt. 2.5 -# Forked from https://gitorious.org/chakra-packages/platform/source/89f5fdf6ea894c3a187beb7833dfc5ff41875ba6:xmlto/PKGBUILD 2.6 2.7 PACKAGE="xmlto" 2.8 VERSION="0.0.26" 2.9 CATEGORY="utilities" 2.10 LICENSE="GPL" 2.11 -SHORT_DESC="Tool to convert xml to many other formats." 2.12 +SHORT_DESC="Tool for converting XML files to various formats" 2.13 MAINTAINER="yuripourre@gmail.com" 2.14 TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.15 WEB_SITE="http://cyberelk.net/tim/software/xmlto/" 2.16 WGET_URL="https://fedorahosted.org/releases/x/m/$PACKAGE/$TARBALL" 2.17 2.18 DEPENDS="libxslt perl-yaml-syck perl-test-pod bash" 2.19 -BUILD_DEPENDS="docbook-xsl util-linux-getopt" 2.20 +BUILD_DEPENDS="docbook-xsl util-linux-getopt flex" 2.21 2.22 # Rules to configure and make the package. 2.23 compile_rules() 2.24 { 2.25 - ./configure BASH=/bin/bash \ 2.26 - --prefix=/usr \ 2.27 - --mandir=/usr/share/man || return 1 \ 2.28 + ./configure \ 2.29 + --prefix=/usr \ 2.30 $CONFIGURE_ARGS && 2.31 make && 2.32 make DESTDIR=$DESTDIR install 2.33 @@ -27,6 +25,7 @@ 2.34 2.35 genpkg_rules() 2.36 { 2.37 - mkdir -p $fs/usr 2.38 + mkdir -p $fs/usr/share/xmlto 2.39 cp -a $install/usr/bin $fs/usr 2.40 + cp -a $install/usr/share/xmlto/format $fs/usr/share/xmlto 2.41 }