SHA256
1
0
forked from pool/xmlto
OBS User unknown 2007-01-15 23:43:04 +00:00 committed by Git OBS Bridge
commit 1e2bd24010
10 changed files with 217 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

0
ready Normal file
View File

View File

@ -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 <string.h>
#include <stdio.h>
#include <unistd.h>
-
+#include <sys/socket.h>
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
#ifdef c_plusplus
Diff finished. Wed Jul 6 11:41:33 2005

3
xmlto-0.0.18.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:64db67e1a3b32fada20370792493c97fa9a37bc2dafc767603689036de9b344b
size 91275

14
xmlto-README.SuSE Normal file
View File

@ -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

13
xmlto-find-cmd.diff Normal file
View File

@ -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

20
xmlto-nonvoid.patch Normal file
View File

@ -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;
}
/*

42
xmlto.changes Normal file
View File

@ -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].

85
xmlto.spec Normal file
View File

@ -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].