forked from pool/xmlto
Accepting request 26966 from Publishing
Copy from Publishing/xmlto based on submit request 26966 from user keichwa OBS-URL: https://build.opensuse.org/request/show/26966 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlto?expand=0&rev=8
This commit is contained in:
parent
56ed3b4611
commit
dc70fa12dc
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:64db67e1a3b32fada20370792493c97fa9a37bc2dafc767603689036de9b344b
|
|
||||||
size 91275
|
|
@ -1,5 +1,5 @@
|
|||||||
--- xmlto-0.0.18/xmlto.in.~1~ 2004-01-02 13:03:24.000000000 +0100
|
--- xmlto.in.orig 2009-09-21 14:41:17.000000000 +0200
|
||||||
+++ xmlto-0.0.18/xmlto.in 2007-12-12 15:39:19.000000000 +0100
|
+++ xmlto.in 2009-12-16 15:38:31.000000000 +0100
|
||||||
@@ -37,6 +37,7 @@
|
@@ -37,6 +37,7 @@
|
||||||
-o directory put output in the specified directory instead of
|
-o directory put output in the specified directory instead of
|
||||||
the current working directory
|
the current working directory
|
||||||
@ -8,17 +8,17 @@
|
|||||||
--extensions turn on stylesheet extensions for this tool chain
|
--extensions turn on stylesheet extensions for this tool chain
|
||||||
--searchpath colon-separated list of fallback directories
|
--searchpath colon-separated list of fallback directories
|
||||||
--skip-validation
|
--skip-validation
|
||||||
@@ -156,7 +157,7 @@
|
@@ -251,7 +252,7 @@
|
||||||
|
|
||||||
# Process any options
|
# Process any options
|
||||||
ARGS=$(${GETOPT} \
|
ARGS=$(${GETOPT} \
|
||||||
- --longoptions=help,version,extensions,searchpath:,skip-validation \
|
- --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex \
|
||||||
+ --longoptions=help,version,extensions,searchpath:,skip-validation,xsltopts: \
|
+ --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex,xsltopts: \
|
||||||
-n xmlto -- x:m:o:p:v "$@")
|
-n xmlto -- x:m:o:p:v "$@")
|
||||||
[ $? != 0 ] && { usage; exit 1; }
|
[ $? != 0 ] && { usage; exit 1; }
|
||||||
eval set -- "$ARGS"
|
eval set -- "$ARGS"
|
||||||
@@ -222,6 +223,10 @@
|
@@ -356,6 +357,10 @@
|
||||||
SKIP_VALIDATION=1
|
fi
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
+ --xsltopts)
|
+ --xsltopts)
|
||||||
@ -28,5 +28,3 @@
|
|||||||
--)
|
--)
|
||||||
shift
|
shift
|
||||||
break
|
break
|
||||||
|
|
||||||
Diff finished. Wed Dec 12 15:39:29 2007
|
|
3
xmlto-0.0.23.tar.bz2
Normal file
3
xmlto-0.0.23.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a9ffb2760ded55924708cf42f575aaa87cf38fce4d9019ad287213303a8cb1c4
|
||||||
|
size 105201
|
@ -1,6 +1,6 @@
|
|||||||
--- xmlif/xmlif.l
|
--- xmlif/xmlif.l.orig 2009-12-16 15:29:45.000000000 +0100
|
||||||
+++ xmlif/xmlif.l
|
+++ xmlif/xmlif.l 2009-12-16 15:45:19.000000000 +0100
|
||||||
@@ -30,7 +30,7 @@
|
@@ -43,7 +43,7 @@
|
||||||
|
|
||||||
static char **selections; /* selection tokens */
|
static char **selections; /* selection tokens */
|
||||||
static int nselections; /* number of selections */
|
static int nselections; /* number of selections */
|
||||||
@ -9,7 +9,7 @@
|
|||||||
static char *attribute; /* last attribute scanned */
|
static char *attribute; /* last attribute scanned */
|
||||||
|
|
||||||
struct stack_t {
|
struct stack_t {
|
||||||
@@ -71,7 +71,7 @@
|
@@ -84,7 +84,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -18,7 +18,7 @@
|
|||||||
/* stash an attribute away for comparison */
|
/* stash an attribute away for comparison */
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
@@ -163,7 +163,7 @@
|
@@ -176,7 +176,7 @@
|
||||||
end->suppressed = suppress(attribute, val);
|
end->suppressed = suppress(attribute, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -27,7 +27,7 @@
|
|||||||
/* process <?xmlif else> tag */
|
/* process <?xmlif else> tag */
|
||||||
{
|
{
|
||||||
end->suppressed = end->matched;
|
end->suppressed = end->matched;
|
||||||
@@ -217,9 +217,12 @@
|
@@ -230,9 +230,12 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
--- 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
|
|
@ -1,6 +1,6 @@
|
|||||||
--- xmlif/xmlif.c
|
--- xmlif/xmlif.c.orig 2009-03-16 17:53:22.000000000 +0100
|
||||||
+++ xmlif/xmlif.c
|
+++ xmlif/xmlif.c 2009-12-16 15:29:45.000000000 +0100
|
||||||
@@ -2413,6 +2413,7 @@
|
@@ -2435,6 +2435,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
yylex();
|
yylex();
|
||||||
@ -8,9 +8,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
--- xmlif/xmlif.l
|
--- xmlif/xmlif.l.orig 2009-03-16 17:52:01.000000000 +0100
|
||||||
+++ xmlif/xmlif.l
|
+++ xmlif/xmlif.l 2009-12-16 15:29:45.000000000 +0100
|
||||||
@@ -246,6 +246,7 @@
|
@@ -259,6 +259,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
yylex();
|
yylex();
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 16 15:46:37 CET 2009 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.0.23; reported by Andreas Schwab.
|
||||||
|
- Drop obsolete patch.
|
||||||
|
- Rebuild old patches.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 28 19:50:22 CEST 2009 - pth@suse.de
|
Tue Apr 28 19:50:22 CEST 2009 - pth@suse.de
|
||||||
|
|
||||||
|
50
xmlto.spec
50
xmlto.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xmlto (Version 0.0.18)
|
# spec file for package xmlto (Version 0.0.23)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -21,17 +21,18 @@
|
|||||||
Name: xmlto
|
Name: xmlto
|
||||||
BuildRequires: docbook-xsl-stylesheets flex libxslt sgml-skel
|
BuildRequires: docbook-xsl-stylesheets flex libxslt sgml-skel
|
||||||
Summary: Tool for Converting XML Files to Various Formats
|
Summary: Tool for Converting XML Files to Various Formats
|
||||||
Version: 0.0.18
|
Version: 0.0.23
|
||||||
Release: 185
|
Release: 1
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
Group: Productivity/Publishing/XML
|
Group: Productivity/Publishing/XML
|
||||||
Url: http://cyberelk.net/tim/xmlto/
|
Url: http://cyberelk.net/tim/xmlto/
|
||||||
Source0: ftp://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2
|
Source0: https://fedorahosted.org/releases/x/m/xmlto/%{name}-%{version}.tar.bz2
|
||||||
Source10: %{name}-README.SuSE
|
Source10: %{name}-README.SuSE
|
||||||
Patch: xmlto-nonvoid.patch
|
Patch: xmlto-nonvoid.patch
|
||||||
Patch1: xmlto-0.0.18-overflow.patch
|
Patch1: xmlto-0.0.18-overflow.patch
|
||||||
Patch2: xmlto-find-cmd.diff
|
# is in
|
||||||
Patch3: xmlto-0.0.18-xsltopts.diff
|
# Patch2: xmlto-find-cmd.diff
|
||||||
|
Patch3: xmlto-0.0.23-xsltopts.diff
|
||||||
Patch4: xmlto-codecleanup.patch
|
Patch4: xmlto-codecleanup.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# We rely entirely on the DocBook XSL stylesheets!
|
# We rely entirely on the DocBook XSL stylesheets!
|
||||||
@ -53,8 +54,8 @@ for print output it makes use of passivetex.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch
|
%patch
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
# %patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p0
|
||||||
%patch4
|
%patch4
|
||||||
cp %{S:10} README.SuSE
|
cp %{S:10} README.SuSE
|
||||||
rm -f xmlif/xmlif.c
|
rm -f xmlif/xmlif.c
|
||||||
@ -83,34 +84,3 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/xmlto
|
%{_datadir}/xmlto
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Apr 28 2009 pth@suse.de
|
|
||||||
- Fix comiler warnings.
|
|
||||||
- BuildRequire flex and remove xmlif.c to get it regenerated.
|
|
||||||
* Tue Sep 09 2008 ke@suse.de
|
|
||||||
- Improve README.SUSE; bnc#67190.
|
|
||||||
* Mon Mar 17 2008 werner@suse.de
|
|
||||||
- Use texlive-xmltex instead of passivetex
|
|
||||||
* Fri Dec 14 2007 ke@suse.de
|
|
||||||
- Require libxslt again.
|
|
||||||
* Wed Dec 12 2007 ke@suse.de
|
|
||||||
- Cleanup spec file.
|
|
||||||
- Apply xmlto-0.0.18-xsltopts.diff to provide a command line switch for
|
|
||||||
specifying the HTML output encoding; see # 197484 (thanks to Thomas
|
|
||||||
Schraitle).
|
|
||||||
* 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].
|
|
||||||
|
Loading…
Reference in New Issue
Block a user