commit 1e2bd24010759c3d7d180a393cff921abb09e76b10b85f001efb7416a3f89ee3 Author: OBS User unknown Date: Mon Jan 15 23:43:04 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlto?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4 diff --git a/xmlto-0.0.18-overflow.patch b/xmlto-0.0.18-overflow.patch new file mode 100644 index 0000000..9cfbb16 --- /dev/null +++ b/xmlto-0.0.18-overflow.patch @@ -0,0 +1,16 @@ +--- xmlto-0.0.18/xmlif/xmlif.c.~1~ 2004-01-21 12:07:55.000000000 +0100 ++++ xmlto-0.0.18/xmlif/xmlif.c 2005-07-06 11:41:15.000000000 +0200 +@@ -8,9 +8,10 @@ + #define YY_FLEX_MAJOR_VERSION 2 + #define YY_FLEX_MINOR_VERSION 5 + ++#include + #include + #include +- ++#include + + /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ + #ifdef c_plusplus + +Diff finished. Wed Jul 6 11:41:33 2005 diff --git a/xmlto-0.0.18.tar.bz2 b/xmlto-0.0.18.tar.bz2 new file mode 100644 index 0000000..19f7133 --- /dev/null +++ b/xmlto-0.0.18.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64db67e1a3b32fada20370792493c97fa9a37bc2dafc767603689036de9b344b +size 91275 diff --git a/xmlto-README.SuSE b/xmlto-README.SuSE new file mode 100644 index 0000000..5746e59 --- /dev/null +++ b/xmlto-README.SuSE @@ -0,0 +1,14 @@ +Limitation Producing PDF Output +=============================== + +For PDF output "xmlto" relies on "pdfxmltex" (passivetex) which +currently does not support the complete FO standard. If you encounter +problems within this tool chain, try another FO processor like "fop". + +1. Produce FO using "xmlto": + + xmlto fo file.xml + +2. Run "fop" on the .fo file: + + fop file.fo diff --git a/xmlto-find-cmd.diff b/xmlto-find-cmd.diff new file mode 100644 index 0000000..d0d88dc --- /dev/null +++ b/xmlto-find-cmd.diff @@ -0,0 +1,13 @@ +--- xmlto-0.0.18/xmlto.in.~1~ 2004-01-02 13:03:24.000000000 +0100 ++++ xmlto-0.0.18/xmlto.in 2006-08-28 11:39:28.000000000 +0200 +@@ -47,7 +47,7 @@ + EOF + if [ -d "$FORMAT_DIR" ] + then +- for source in $(${FIND} "$FORMAT_DIR" -type d -maxdepth 1) ++ for source in $(${FIND} "$FORMAT_DIR" -maxdepth 1 -type d) + do + if [ "$source" = "$FORMAT_DIR" ]; then continue; fi + + +Diff finished. Mon Aug 28 11:39:45 2006 diff --git a/xmlto-nonvoid.patch b/xmlto-nonvoid.patch new file mode 100644 index 0000000..98e134c --- /dev/null +++ b/xmlto-nonvoid.patch @@ -0,0 +1,20 @@ +--- xmlif/xmlif.c ++++ xmlif/xmlif.c +@@ -2413,6 +2413,7 @@ + } + + yylex(); ++ return 0; + } + + /* +--- xmlif/xmlif.l ++++ xmlif/xmlif.l +@@ -246,6 +246,7 @@ + } + + yylex(); ++ return 0; + } + + /* diff --git a/xmlto.changes b/xmlto.changes new file mode 100644 index 0000000..d692b62 --- /dev/null +++ b/xmlto.changes @@ -0,0 +1,42 @@ +------------------------------------------------------------------- +Mon Aug 28 11:37:03 CEST 2006 - ke@suse.de + +- Fix find argument sequence; reported by Marcus Rueckert [#201749]. + +------------------------------------------------------------------- +Wed Jan 25 21:43:15 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Thu Sep 29 03:04:28 CEST 2005 - dmueller@suse.de + + - add norootforbuild + +------------------------------------------------------------------- +Wed Jul 6 13:33:54 CEST 2005 - ke@suse.de + +- xmlto-0.0.18-overflow.patch: Include more *.h to avoid potential + buffer overflows. + +------------------------------------------------------------------- +Thu Mar 3 12:01:19 CET 2005 - ke@suse.de + +- Add README.SuSE to address issues producing PDF output; [# 67190]. + +------------------------------------------------------------------- +Wed Oct 13 13:47:26 CEST 2004 - ke@suse.de + +- Add libgpg-error and libgcrypt to neededforbuild. + +------------------------------------------------------------------- +Wed May 19 02:12:06 CEST 2004 - ro@suse.de + +- added return to non-void function (main) + +------------------------------------------------------------------- +Tue Feb 24 13:18:09 CET 2004 - ke@suse.de + +- New package: version 0.0.18. Proposed by Richard Bos [# 34918]. + + diff --git a/xmlto.spec b/xmlto.spec new file mode 100644 index 0000000..9a22879 --- /dev/null +++ b/xmlto.spec @@ -0,0 +1,85 @@ +# +# spec file for package xmlto (Version 0.0.18) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: xmlto +BuildRequires: docbook-xsl-stylesheets libxslt sgml-skel +Summary: Tool for Converting XML Files to Various Formats +Version: 0.0.18 +Release: 43 +License: GPL +Group: Productivity/Publishing/XML +URL: http://cyberelk.net/tim/xmlto/ +Source0: ftp://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2 +Source10: %{name}-README.SuSE +Patch: xmlto-nonvoid.patch +Patch1: xmlto-0.0.18-overflow.patch +Patch2: xmlto-find-cmd.diff +BuildRoot: %{_tmppath}/%{name}-%{version}-build +# We rely entirely on the DocBook XSL stylesheets! +Requires: docbook-xsl-stylesheets >= 1.56.0 +# For full functionality, we need passivetex. +Requires: passivetex >= 1.11 +Requires: libxslt +Requires: docbook_4 + +%description +This is a package for converting XML files to various formats using XSL +stylesheets. As a processor it depends on xsltproc and as a formatter +for print output it makes use of passivetex. + + + +%prep +%setup -q +%patch +%patch -p 1 -P 1 -p 1 -P 2 +cp %{S:10} README.SuSE + +%build +%configure +make +make check + +%install +rm -rf %{buildroot} +%makeinstall +[ -d %{buildroot}%{_datadir}/xmlto/xsl ] || \ + mkdir %{buildroot}%{_datadir}/xmlto/xsl + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc README.SuSE +%{_bindir}/* +%{_mandir}/*/* +%{_datadir}/xmlto + +%changelog -n xmlto +* Mon Aug 28 2006 - ke@suse.de +- Fix find argument sequence; reported by Marcus Rueckert [#201749]. +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Thu Sep 29 2005 - dmueller@suse.de +- add norootforbuild +* Wed Jul 06 2005 - ke@suse.de +- xmlto-0.0.18-overflow.patch: Include more *.h to avoid potential + buffer overflows. +* Thu Mar 03 2005 - ke@suse.de +- Add README.SuSE to address issues producing PDF output; [# 67190]. +* Wed Oct 13 2004 - ke@suse.de +- Add libgpg-error and libgcrypt to neededforbuild. +* Wed May 19 2004 - ro@suse.de +- added return to non-void function (main) +* Tue Feb 24 2004 - ke@suse.de +- New package: version 0.0.18. Proposed by Richard Bos [# 34918].