Sync from SUSE:SLFO:Main docbook-toys revision 8b454f304d3d0ebaa0cfafcc89657a2d
This commit is contained in:
commit
08f8f69284
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
21
docbook-toys-1.51.0-pdf-exit.diff
Normal file
21
docbook-toys-1.51.0-pdf-exit.diff
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
--- docbook-toys-1.51.0/db2x.sh.in.~1~ 2007-06-04 15:22:08.000000000 +0200
|
||||||
|
+++ docbook-toys-1.51.0/db2x.sh.in 2007-06-04 15:24:13.000000000 +0200
|
||||||
|
@@ -455,13 +455,13 @@
|
||||||
|
end=pdf
|
||||||
|
gen_outfile
|
||||||
|
echo pdf file name is "$output"
|
||||||
|
- pdfjadetex "$texfile"
|
||||||
|
+ pdfjadetex "$texfile" || exit 1
|
||||||
|
|
||||||
|
# if there are unresolved references, re-run pdfjadetex, twice
|
||||||
|
if egrep '^LaTeX Warning: There were undefined references.$' "${outputlog}" >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
- pdfjadetex "$texfile"
|
||||||
|
- pdfjadetex "$texfile"
|
||||||
|
+ pdfjadetex "$texfile" || exit 1
|
||||||
|
+ pdfjadetex "$texfile" || exit 1
|
||||||
|
fi
|
||||||
|
} # do_pdf
|
||||||
|
|
||||||
|
|
||||||
|
Diff finished. Mon Jun 4 15:24:34 2007
|
BIN
docbook-toys-1.51.0.tar.bz2
(Stored with Git LFS)
Normal file
BIN
docbook-toys-1.51.0.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
17
docbook-toys-README.SUSE
Normal file
17
docbook-toys-README.SUSE
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
README.SUSE
|
||||||
|
===========
|
||||||
|
|
||||||
|
Starting with SuSE Linux 8.2 openjade is the only DSSSL engine
|
||||||
|
available; thus the -o resp. --use-openjade option is obsolete by now.
|
||||||
|
|
||||||
|
For PostScript and PDF support you must install package "jadetex" and
|
||||||
|
the teTeX packages "jadetex" depends on.
|
||||||
|
|
||||||
|
By default, "sloppy" validation will be done if jade will start to work
|
||||||
|
on SGML files; this means, minimizations are allowed. You --strict if
|
||||||
|
you're interesting in SGML file conforming with the "official" DocBook
|
||||||
|
catalog.
|
||||||
|
|
||||||
|
For more info, please read README.
|
||||||
|
|
||||||
|
2002-11-08 14:00:17 CET -ke-
|
72
docbook-toys-outdir.diff
Normal file
72
docbook-toys-outdir.diff
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
--- db2x.sh.in 2004-01-14 12:54:14.000000000 +0100
|
||||||
|
+++ db2x.sh.in 2004-01-14 12:51:37.000000000 +0100
|
||||||
|
@@ -13,6 +13,7 @@
|
||||||
|
SGML_CATALOG_FILES=
|
||||||
|
# SP_ENCODING=
|
||||||
|
[ -z "$SP_CHARSET_FIXED" ] || SP_CHARSET_FIXED=YES
|
||||||
|
+DIR=.
|
||||||
|
|
||||||
|
jade_prefix=o
|
||||||
|
|
||||||
|
@@ -51,6 +52,7 @@
|
||||||
|
-S, --strict use the SGML declaration coming with the DocBook DTDs
|
||||||
|
(no minimizations are allowed)
|
||||||
|
-j, --jade VAR... set \"jade\" variables; e.g., \"-V %shade-verbatim%\"
|
||||||
|
+ -o, --output DIR set output DIR
|
||||||
|
-J, --use-jade use jade instead of openjade
|
||||||
|
-c, --catalog FILE use FILE as the catalog
|
||||||
|
-s, --style FILE use FILE as driver style
|
||||||
|
@@ -89,7 +91,9 @@
|
||||||
|
-j | --jade) if test $# -gt 2; then JADEVARS=$2; shift 2;
|
||||||
|
else echo "$usage"; exit 1; fi ;;
|
||||||
|
# for compatibility
|
||||||
|
- -o | --use-open*) true; shift ;;
|
||||||
|
+ #-o | --use-open*) true; shift ;;
|
||||||
|
+ -o | --out*) if test $# -gt 2; then [ -n "$2" ] && DIR="$2"; shift 2;
|
||||||
|
+ else echo "$usage"; exit 1; fi ;;
|
||||||
|
# --nochunks ) nochunks=yes; verbose="" ; JADEHTML='-V nochunks'; shift;;
|
||||||
|
--noc* ) nochunks=yes; quiet=yes ; JADEHTML='-V nochunks'; shift;;
|
||||||
|
# --catalog) if test $# -gt 2; then MYSTYLE=$2; shift 2;
|
||||||
|
@@ -134,7 +138,19 @@
|
||||||
|
|
||||||
|
WHICH='type -p'
|
||||||
|
|
||||||
|
-file=$1
|
||||||
|
+case "$1" in
|
||||||
|
+/*) file="$1" ;;
|
||||||
|
+*) file="$PWD/$1" ;;
|
||||||
|
+esac
|
||||||
|
+
|
||||||
|
+if [ $mode != db2html ]; then
|
||||||
|
+ # echo $mode
|
||||||
|
+ if ! cd "$DIR"; then
|
||||||
|
+ echo "Cannot change to directory \"$DIR\". Exiting." >&2
|
||||||
|
+ exit 1
|
||||||
|
+ fi
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
# echo $file
|
||||||
|
if [ ! -r "$file" ]; then
|
||||||
|
echo Cannot read \"$file\". Exiting. >&2
|
||||||
|
@@ -145,7 +161,8 @@
|
||||||
|
quiet=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
-basefile=${file%\.*}
|
||||||
|
+dirbasefile="${file%\.*}"
|
||||||
|
+basefile="${dirbasefile##*/}"
|
||||||
|
suffix=${file##*\.}
|
||||||
|
|
||||||
|
SGML_DECL_SLOPPY=$sgmldir/docbook/$package/docbook-sloppy.dcl
|
||||||
|
@@ -359,7 +376,8 @@
|
||||||
|
do_html(){
|
||||||
|
#if echo "$file" | egrep -i '\.sgml$|\.sgm$|\.xml$' >/dev/null 2>&1; then
|
||||||
|
end=
|
||||||
|
- gen_outfile
|
||||||
|
+ [ "$DIR" = "." ] && gen_outfile || output="$DIR"
|
||||||
|
+ #echo $output
|
||||||
|
#else
|
||||||
|
#output="${file}-html"
|
||||||
|
# input_file=${file##*/}
|
||||||
|
|
||||||
|
Diff finished at Wed Jan 14 12:54:48
|
39
docbook-toys-suffix.diff
Normal file
39
docbook-toys-suffix.diff
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
--- docbook-toys-1.51.0/db2x.sh.in 2002-11-12 20:19:13.000000000 +0100
|
||||||
|
+++ docbook-toys-1.51.0/db2x.sh.in 2003-07-01 13:36:34.000000000 +0200
|
||||||
|
@@ -174,7 +174,12 @@
|
||||||
|
case $suffix in
|
||||||
|
sgm | sgml) flavor=sgml ;;
|
||||||
|
xml) flavor=xml ;;
|
||||||
|
- *) echo $"Filename suffix \"$suffix\" ambiguous: $file" ; exit 1 ;;
|
||||||
|
+ *) if file "$file" | cut -d: -f 2 | grep -q XML; then
|
||||||
|
+ flavor=xml
|
||||||
|
+ else
|
||||||
|
+ flavor=sgml
|
||||||
|
+ fi ;;
|
||||||
|
+ # echo $"Filename suffix \"$suffix\" ambiguous: $file" ; exit 1 ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# SuSE Linux >= 7.2
|
||||||
|
@@ -352,14 +357,16 @@
|
||||||
|
|
||||||
|
|
||||||
|
do_html(){
|
||||||
|
- if echo "$file" | egrep -i '\.sgml$|\.sgm$|\.xml$' >/dev/null 2>&1; then
|
||||||
|
+ #if echo "$file" | egrep -i '\.sgml$|\.sgm$|\.xml$' >/dev/null 2>&1; then
|
||||||
|
end=
|
||||||
|
gen_outfile
|
||||||
|
+ #else
|
||||||
|
+ #output="${file}-html"
|
||||||
|
# input_file=${file##*/}
|
||||||
|
# output="`echo $input_file | sed 's,\.\(sgml\|sgm\|xml\)$,,'`"
|
||||||
|
- if [ -z "$quiet" ]; then
|
||||||
|
- echo "input file was called $input_file -- output will be in $output"
|
||||||
|
- fi
|
||||||
|
+ #fi
|
||||||
|
+ if [ -z "$quiet" ]; then
|
||||||
|
+ echo "input file was called $input_file -- output will be in $output"
|
||||||
|
fi
|
||||||
|
|
||||||
|
TMPDIR=$(mktemp -d db2html.XXXXXX) || exit 1
|
||||||
|
|
||||||
|
Diff finished at Tue Jul 1 13:37:22
|
297
docbook-toys.changes
Normal file
297
docbook-toys.changes
Normal file
@ -0,0 +1,297 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 22 09:17:14 UTC 2023 - Karl Eichwalder <ke@suse.com>
|
||||||
|
|
||||||
|
- Set URL of URL and Source to
|
||||||
|
https://users.suse.com/~ke/docbook-toys/.
|
||||||
|
- Mark COPYING as %license.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 9 08:54:38 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Rename README.SuSE to README.SUSE, adhering to the correct
|
||||||
|
spelling.
|
||||||
|
- Do not package the test directory as documentation.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 1 16:45:01 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- add automake as buildrequire to avoid implicit dependency
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant tags/sections from specfile
|
||||||
|
(cf. packaging guidelines)
|
||||||
|
- Use %_smp_mflags for parallel build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 30 15:28:37 UTC 2009 - aj@suse.de
|
||||||
|
|
||||||
|
- make patch0 usage consistent
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 17 11:15:39 CET 2008 - werner@suse.de
|
||||||
|
|
||||||
|
- Use texlive-jadetex instead of jadetex
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 4 15:44:39 CEST 2007 - ke@suse.de
|
||||||
|
|
||||||
|
- Drop obsolete Provide/Obsolete (docbooktls).
|
||||||
|
- Return 1 if do_pdf fails; reported by Andreas Kleen [#270905].
|
||||||
|
- Move config files to %{_sysconfdir}.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:46:10 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 16 15:29:06 CEST 2004 - ke@suse.de
|
||||||
|
|
||||||
|
- Require "jadetex" [#38989].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 15 13:56:36 CET 2004 - ke@suse.de
|
||||||
|
|
||||||
|
- Use proper output dir for HTML even if -o isn't set (reported by
|
||||||
|
Stanislav Visnovsky).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 14 12:59:25 CET 2004 - ke@suse.de
|
||||||
|
|
||||||
|
- Use -o to set output directory (proposed by Hansjoerg Lipp).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 25 10:44:05 CEST 2003 - meissner@suse.de
|
||||||
|
|
||||||
|
- autoreconf -i -f for ppc64.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 1 13:49:24 CEST 2003 - ke@suse.de
|
||||||
|
|
||||||
|
- docbook-toys-suffix.diff: Allow arbitrary file names.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 13 14:19:10 CET 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 1.51.0; from NEWS:
|
||||||
|
* Abort when jade fails (print backends).
|
||||||
|
Reported by Martin Vidner [# 20276].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 12 10:40:59 CET 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 1.50.1; from NEWS:
|
||||||
|
* Use openjade instead of the unmaintained jade (jade_dsl) package.
|
||||||
|
* Copy the driver file suse-both.dsl to the working directory.
|
||||||
|
* Read suse-html.dsl and suse-print.dsl.
|
||||||
|
* Detect encoding of XML files automatically.
|
||||||
|
* Add charset info to the HTML output files; partly fix for [# 6591].
|
||||||
|
- Drop obsolete pachtes.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 8 14:00:43 CET 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Replace jade_dsl with openjade.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 5 15:27:25 CET 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Fix docbook-toys-detect-encoding.diff to make it recognize trivial
|
||||||
|
cases to; reported by Michal Svec.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 5 11:15:16 CET 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Apply docbook-toys-detect-encoding.diff to make use of the XML
|
||||||
|
encoding info automatically [# 20766].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 12 16:49:18 CEST 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Fix db2x.sh.in (do_rtf): Add missing $SGML_DECL_SLOPPY.
|
||||||
|
Reported by Norbert Eicker.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 1 10:49:41 CEST 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Fix shell script syntax to allow validation of .xml files.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 20 12:41:24 CEST 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Patch the db2x.sh script to make it possible to use openjade and
|
||||||
|
related binaries (switch -o). This hack helps to work around a
|
||||||
|
problem reported by Pavel Janik [# 14905].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 30 11:45:50 CET 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.61.0:
|
||||||
|
- Support .../docbook/dsssl-stylesheets/... directory.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 29 12:27:31 CET 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Rename package: docbktls -> docbook-toys.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 7 13:52:15 CET 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.60.4.
|
||||||
|
This version includes all the previous patches:
|
||||||
|
docbktls-sgml-vs-xml-cat.diff, docbktls-xml-dcl-check.diff,
|
||||||
|
docbook-toys-html-out.diff, and docbook-toys-script.dif.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 24 16:17:57 CEST 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Fix validation switches -V and -W for SGML. CAT_NSGMLS was overridden
|
||||||
|
on systems with DocBook XML catalogs installed; these catalogs are
|
||||||
|
coming with the 'docbook_4' package.
|
||||||
|
Problem reported by Uwe Drechsel [#12027].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 15 15:23:55 CEST 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Apply docbktls-xml-dcl-check.diff to improve check for the XML
|
||||||
|
declaration; problem reported by Joerg Menke [#11826].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 1 15:53:38 CEST 2001 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix quoting in shell script.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 27 13:01:55 CEST 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Apply docbook-toys-html-out.diff to fix name of HTML output directory;
|
||||||
|
reported by Ruediger Oertel.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 27 12:21:03 CEST 2001 - ro@suse.de
|
||||||
|
|
||||||
|
- added <jade_dsl> to neededforbuild
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 27 09:09:50 CEST 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.60.1:
|
||||||
|
- Process DocBook XML (version 4) files.
|
||||||
|
- Rename docbktls-README.SuSE to README.SuSE.
|
||||||
|
- Cleanup spec file.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 18 14:00:00 CEST 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.51.0.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 16 14:51:06 CEST 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.50.1.
|
||||||
|
- Update README.SuSE.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 13 13:24:41 CEST 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Fix files list.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 13 11:20:35 CEST 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.16.0 (and drop docbook-toys-0.15.2-which.diff).
|
||||||
|
- Start README.SuSE.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 13 02:32:02 CEST 2001 - ro@suse.de
|
||||||
|
|
||||||
|
- use frames instead of test (no longer in current dssl package).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 23 08:26:03 CEST 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Apply docbook-toys-0.15.2-which.diff: replace 'which' by
|
||||||
|
'type -p'; [#6841].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 28 09:08:47 CEST 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Fix neededforbuild: s/docbkdsl/docbook-dsssl-stylesheets/ [#6842].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 27 10:07:50 CEST 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.15.2 [#6841].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 19 13:31:51 CET 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.15.1
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 15 13:52:54 CET 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.15.0.
|
||||||
|
- Add patch to make use of /usr/share/sgml/CATALOG.jade_dsl.
|
||||||
|
- Fix neededforbuild: s/docbk30/docbook_3/ and s/docbk_4/docbook_4
|
||||||
|
[#6669].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 5 10:46:42 CET 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Apply patch to make use of CATALOG.gnome, too.
|
||||||
|
- Provide a dbnochunks script.
|
||||||
|
- Remove obsolete spec file comments.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 21 09:58:57 CET 2000 - ke@suse.de
|
||||||
|
|
||||||
|
- update to version 0.14.0 [this update is considered to fix #4155].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 2 18:40:21 CET 2000 - ke@suse.de
|
||||||
|
|
||||||
|
- update to version 0.13.0.
|
||||||
|
- spec file: use macros more consistently.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 14 11:12:55 CET 2000 - ke@suse.de
|
||||||
|
|
||||||
|
- update to version 0.8.1.
|
||||||
|
- add offcial group tag.
|
||||||
|
- ./configure -> %build.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 11 16:00:02 CET 2000 - ke@suse.de
|
||||||
|
|
||||||
|
- update: version 0.7.1.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 5 16:08:18 CET 1999 - ke@suse.de
|
||||||
|
|
||||||
|
- update: version 0.6.
|
||||||
|
- package is "noarch".
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||||
|
|
||||||
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 2 12:54:53 MEST 1999 - ke@suse.de
|
||||||
|
|
||||||
|
- update: version 0.5.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 14 11:04:43 MEST 1999 - ke@suse.de
|
||||||
|
|
||||||
|
- update: version 0.4.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 9 19:30:19 MEST 1999 - ke@suse.de
|
||||||
|
|
||||||
|
- initial package: version 0.2
|
||||||
|
|
||||||
|
|
91
docbook-toys.spec
Normal file
91
docbook-toys.spec
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
#
|
||||||
|
# spec file for package docbook-toys
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: docbook-toys
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: docbook-dsssl-stylesheets
|
||||||
|
BuildRequires: openjade
|
||||||
|
%define sysconfdir %{_sysconfdir}
|
||||||
|
Provides: docbook-tools
|
||||||
|
Requires: docbook-dsssl-stylesheets
|
||||||
|
Requires: docbook_3
|
||||||
|
Requires: docbook_4
|
||||||
|
Requires: iso_ent
|
||||||
|
Requires: openjade
|
||||||
|
Requires: texlive-jadetex
|
||||||
|
Version: 1.51.0
|
||||||
|
Release: 0
|
||||||
|
Summary: DocBook Tools
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
Group: Productivity/Publishing/DocBook
|
||||||
|
Source: https://users.suse.com/~ke/docbook-toys/docbook-toys-%{version}.tar.bz2
|
||||||
|
Source1: %{name}-README.SUSE
|
||||||
|
Patch0: docbook-toys-suffix.diff
|
||||||
|
Patch1: docbook-toys-outdir.diff
|
||||||
|
Patch2: docbook-toys-1.51.0-pdf-exit.diff
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
URL: https://users.suse.com/~ke/docbook-toys/
|
||||||
|
|
||||||
|
%description
|
||||||
|
A shell script to convert SGML documents based on the DocBook DTD.
|
||||||
|
|
||||||
|
For usage information read:
|
||||||
|
|
||||||
|
/usr/share/doc/packages/docbook-toys/README
|
||||||
|
|
||||||
|
%define INSTALL install -m755 -s
|
||||||
|
%define INSTALL_DIR install -d -m755
|
||||||
|
%define INSTALL_DATA install -m644
|
||||||
|
%define INSTALL_SCRIPT install -m755
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n docbook-toys-%{version}
|
||||||
|
%{INSTALL_DATA} %{SOURCE1} README.SUSE
|
||||||
|
%patch -p 1 -P 0
|
||||||
|
%patch -p 0 -P 1
|
||||||
|
%patch -p 1 -P 2
|
||||||
|
|
||||||
|
%build
|
||||||
|
autoreconf -i -f
|
||||||
|
%configure
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT mk_links
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%sysconfdir/%{name}
|
||||||
|
# move config files to _sysconfdir
|
||||||
|
pushd $RPM_BUILD_ROOT%{_datadir}/sgml/docbook/docbook-toys
|
||||||
|
for f in suse-*.dsl gdp-both.dsl docbook-sloppy.dcl; do
|
||||||
|
mv $f $RPM_BUILD_ROOT%sysconfdir/%{name}
|
||||||
|
ln -s %sysconfdir/%{name}/$f $f
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc README.SUSE
|
||||||
|
%doc AUTHORS NEWS README THANKS TODO
|
||||||
|
%doc texmf.conf.diff
|
||||||
|
%license COPYING
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_datadir}/sgml/docbook/docbook-toys
|
||||||
|
%config %{sysconfdir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user