Sync from SUSE:SLFO:Main sgmltool revision c1caf8fce8bdc7842844aa5e6241ec4e
This commit is contained in:
commit
b5a50dfad3
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
|
17
cflags-sgml-tools-1.0.9.diff
Normal file
17
cflags-sgml-tools-1.0.9.diff
Normal file
@ -0,0 +1,17 @@
|
||||
--- sgml-tools-1.0.9/Makefile.in.~1~ 2005-10-10 11:46:17.000000000 +0200
|
||||
+++ sgml-tools-1.0.9/Makefile.in 2005-10-10 14:05:24.000000000 +0200
|
||||
@@ -49,10 +49,10 @@
|
||||
endif
|
||||
@echo "Compiling preprocessor (in sgmlpre/)..."
|
||||
( cd sgmlpre ; \
|
||||
- $(MAKE) CFLAGS="$(OPTIMIZE)" LEX=flex sgmlpre || exit -1 )
|
||||
+ $(MAKE) OPTIMIZE="$(OPTIMIZE)" LEX=flex sgmlpre || exit -1 )
|
||||
@echo "Compiling RTF conversion tools (in rtf-fix/)..."
|
||||
( cd rtf-fix ; \
|
||||
- $(MAKE) CFLAGS="$(OPTIMIZE)" || exit -1 )
|
||||
+ $(MAKE) OPTIMIZE="$(OPTIMIZE)" || exit -1 )
|
||||
|
||||
install::
|
||||
@echo "Installing binaries in $(bindir) ..."
|
||||
|
||||
Diff finished. Mon Oct 10 14:05:44 2005
|
BIN
lnd-1.0.tar.bz2
(Stored with Git LFS)
Normal file
BIN
lnd-1.0.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
182
sgml-tools-1.0.9-destdir.diff
Normal file
182
sgml-tools-1.0.9-destdir.diff
Normal file
@ -0,0 +1,182 @@
|
||||
--- sgml-tools-1.0.9/./entity-map/Makefile.in.orig Wed Apr 16 16:34:24 2003
|
||||
+++ sgml-tools-1.0.9/./entity-map/Makefile.in Wed Apr 16 16:35:17 2003
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
PACKAGE=@PACKAGE@
|
||||
VERSION=@VERSION@
|
||||
+DESTDIR=
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
@@ -52,14 +53,14 @@
|
||||
-e 's|[@]entitymapdir@|${entitymapdir}|g'
|
||||
|
||||
install: all installdirs
|
||||
- ${INSTALL_DATA} EntityMap.pm ${textmoddir}/EntityMap.pm
|
||||
+ ${INSTALL_DATA} EntityMap.pm $(DESTDIR)${textmoddir}/EntityMap.pm
|
||||
cd sdata; $(MAKE) LIBDIR=${entitymapdir} \
|
||||
PERM_D=755 PERM_F=644 MKDIR="../config/install-sh -d" CP=cp install
|
||||
|
||||
installdirs:
|
||||
for ii in ${prefix} ${perl5libdir} ${textmoddir} \
|
||||
${localentitymapdir} ${entitymapdir}; do \
|
||||
- ./config/install-sh -d $$ii; \
|
||||
+ ./config/install-sh -d $(DESTDIR)$$ii; \
|
||||
done
|
||||
|
||||
installdoc:
|
||||
@@ -66,7 +66,7 @@
|
||||
installdoc:
|
||||
./config/install-sh -d ${docdir}
|
||||
for ii in ${DOCS}; do \
|
||||
- ${INSTALL_DATA} $$ii ${docdir}/$$ii; \
|
||||
+ ${INSTALL_DATA} $$ii $(DESTDIR)${docdir}/$$ii; \
|
||||
done
|
||||
|
||||
Makefile: Makefile.in configure
|
||||
--- sgml-tools-1.0.9/./iso-entities/Makefile.in.orig Wed Apr 16 16:37:12 2003
|
||||
+++ sgml-tools-1.0.9/./iso-entities/Makefile.in Wed Apr 16 16:37:34 2003
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
PACKAGE=@PACKAGE@
|
||||
VERSION=@VERSION@
|
||||
+DESTDIR=
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
@@ -39,14 +40,14 @@
|
||||
all:
|
||||
|
||||
install: all installdirs
|
||||
- ${INSTALL_DATA} iso-entities.cat ${isoentdir}/iso-entities.cat
|
||||
+ ${INSTALL_DATA} iso-entities.cat $(DESTDIR)${isoentdir}/iso-entities.cat
|
||||
for ii in `cd entities; find . -type f`; do \
|
||||
- ${INSTALL_DATA} entities/$$ii ${isoentdir}/$$ii; \
|
||||
+ ${INSTALL_DATA} entities/$$ii $(DESTDIR)${isoentdir}/$$ii; \
|
||||
done
|
||||
|
||||
installdirs:
|
||||
for ii in ${sgmldir} ${isoentdir}; do \
|
||||
- ./config/install-sh -d $$ii; \
|
||||
+ ./config/install-sh -d $(DESTDIR)$$ii; \
|
||||
done
|
||||
|
||||
installdoc:
|
||||
--- sgml-tools-1.0.9/./Makefile.in.orig Wed Apr 16 16:31:13 2003
|
||||
+++ sgml-tools-1.0.9/./Makefile.in Wed Apr 16 16:40:27 2003
|
||||
@@ -6,6 +6,7 @@
|
||||
# © Copyright 1996 Sven Rudolph
|
||||
#
|
||||
|
||||
+DESTDIR=
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
bindir=@BINDIR@
|
||||
@@ -55,13 +56,13 @@
|
||||
|
||||
install::
|
||||
@echo "Installing binaries in $(bindir) ..."
|
||||
- if [ ! -d $(bindir) ]; then mkdir -p $(bindir); fi
|
||||
- -chmod 755 $(bindir)
|
||||
+ if [ ! -d $(DESTDIR)$(bindir) ]; then mkdir -p $(DESTDIR)$(bindir); fi
|
||||
+ -chmod 755 $(DESTDIR)$(bindir)
|
||||
ifeq ($(BUILD_NSGMLS), true)
|
||||
- $(INSTALL_PROGRAM) sp/nsgmls/nsgmls $(bindir)/nsgmls
|
||||
+ $(INSTALL_PROGRAM) sp/nsgmls/nsgmls $(DESTDIR)$(bindir)/nsgmls
|
||||
endif
|
||||
ifeq ($(BUILD_SGMLSASP), true)
|
||||
- $(INSTALL_PROGRAM) sgmls-1.1/sgmlsasp $(bindir)/sgmlsasp
|
||||
+ $(INSTALL_PROGRAM) sgmls-1.1/sgmlsasp $(DESTDIR)$(bindir)/sgmlsasp
|
||||
endif
|
||||
ifeq ($(BUILD_ENTITY_MAP), true)
|
||||
@echo "Installing Entity Mapping library (in entity-map)..."
|
||||
@@ -76,42 +77,42 @@
|
||||
strip sgmlpre/sgmlpre
|
||||
for ii in sgmlpre/sgmlpre rtf-fix/rtf2rtf; do \
|
||||
bn=`basename $$ii`; \
|
||||
- $(INSTALL_PROGRAM) $$ii $(bindir)/$$bn; \
|
||||
+ $(INSTALL_PROGRAM) $$ii $(DESTDIR)$(bindir)/$$bn; \
|
||||
done
|
||||
- $(INSTALL_PROGRAM) bin/sgmltools $(bindir)/sgmltools.v1
|
||||
+ $(INSTALL_PROGRAM) bin/sgmltools $(DESTDIR)$(bindir)/sgmltools.v1
|
||||
@echo "Installing library and support files in $(libdir)..."
|
||||
- if [ ! -d $(libdir) ]; then mkdir -p $(libdir); fi
|
||||
- chmod 755 $(libdir)
|
||||
- cp -r lib/* $(libdir)
|
||||
- cp VERSION $(libdir)
|
||||
+ if [ ! -d $(DESTDIR)$(libdir) ]; then mkdir -p $(DESTDIR)$(libdir); fi
|
||||
+ chmod 755 $(DESTDIR)$(libdir)
|
||||
+ cp -r lib/* $(DESTDIR)$(libdir)
|
||||
+ cp VERSION $(DESTDIR)$(libdir)
|
||||
@echo "Installing man pages in $(mandir1) ..."
|
||||
- if [ ! -d $(mandir1) ]; then mkdir -p $(mandir1) ; fi
|
||||
- -chmod 755 $(mandir1)
|
||||
+ if [ ! -d $(DESTDIR)$(mandir1) ]; then mkdir -p $(DESTDIR)$(mandir1) ; fi
|
||||
+ -chmod 755 $(DESTDIR)$(mandir1)
|
||||
for ii in man/sgml2* man/sgmlcheck.1 man/sgmltools.1; do \
|
||||
bn=`basename $$ii`; \
|
||||
- $(INSTALL_DATA) $$ii $(mandir1)/$$bn; \
|
||||
+ $(INSTALL_DATA) $$ii $(DESTDIR)$(mandir1)/$$bn; \
|
||||
done
|
||||
ifeq ($(BUILD_NSGMLS), true)
|
||||
- $(INSTALL_DATA) man/nsgmls.1 $(mandir1)/nsgmls.1
|
||||
+ $(INSTALL_DATA) man/nsgmls.1 $(DESTDIR)$(mandir1)/nsgmls.1
|
||||
endif
|
||||
ifeq ($(BUILD_SGMLSASP), true)
|
||||
- $(INSTALL_DATA) man/sgmlsasp.1 $(mandir1)/sgmlsasp.1
|
||||
+ $(INSTALL_DATA) man/sgmlsasp.1 $(DESTDIR)$(mandir1)/sgmlsasp.1
|
||||
endif
|
||||
- find $(libdir) -type d -print | xargs chmod 755
|
||||
- find $(libdir) -type f -print | xargs chmod 644
|
||||
- (cd $(libdir)/dist/sgmltool/latin1; rm -f mapping; ln -s ../groff/mapping .)
|
||||
- (cd $(libdir)/dist; rm -f linuxdoc; ln -s sgmltool linuxdoc)
|
||||
- (cd $(libdir)/dist; rm -f linuxdoc96; ln -s sgmltool linuxdoc96)
|
||||
- (cd $(libdir)/dist; rm -f linuxdoc97; ln -s sgmltool linuxdoc97)
|
||||
- (cd $(libdir)/dtd; rm -f linuxdoc.dtd; ln -s linuxdoc96.dtd linuxdoc.dtd)
|
||||
- (cd $(bindir); for i in $(progs); do rm -f $$i; ln sgmltools.v1 $$i;done)
|
||||
+ find $(DESTDIR)$(libdir) -type d -print | xargs chmod 755
|
||||
+ find $(DESTDIR)$(libdir) -type f -print | xargs chmod 644
|
||||
+ (cd $(DESTDIR)$(libdir)/dist/sgmltool/latin1; rm -f mapping; ln -s ../groff/mapping .)
|
||||
+ (cd $(DESTDIR)$(libdir)/dist; rm -f linuxdoc; ln -s sgmltool linuxdoc)
|
||||
+ (cd $(DESTDIR)$(libdir)/dist; rm -f linuxdoc96; ln -s sgmltool linuxdoc96)
|
||||
+ (cd $(DESTDIR)$(libdir)/dist; rm -f linuxdoc97; ln -s sgmltool linuxdoc97)
|
||||
+ (cd $(DESTDIR)$(libdir)/dtd; rm -f linuxdoc.dtd; ln -s linuxdoc96.dtd linuxdoc.dtd)
|
||||
+ (cd $(DESTDIR)$(bindir); for i in $(progs); do rm -f $$i; ln sgmltools.v1 $$i;done)
|
||||
@echo "Installing documentation in $(LINUXDOCDOC) ..."
|
||||
- (cd doc; PATH=${PATH}:$(bindir) sh Makedoc.sh)
|
||||
- if [ ! -d $(LINUXDOCDOC) ]; then mkdir -p $(LINUXDOCDOC); fi
|
||||
- chmod 755 $(LINUXDOCDOC)
|
||||
- cp -r doc/* $(LINUXDOCDOC)
|
||||
- find $(LINUXDOCDOC) -type d -print | xargs chmod 755
|
||||
- find $(LINUXDOCDOC) -type f -print | xargs chmod 644
|
||||
+ (cd doc; PATH=${PATH}:$(DESTDIR)$(bindir) sh Makedoc.sh)
|
||||
+ if [ ! -d $(DESTDIR)$(LINUXDOCDOC) ]; then mkdir -p $(DESTDIR)$(LINUXDOCDOC); fi
|
||||
+ chmod 755 $(DESTDIR)$(LINUXDOCDOC)
|
||||
+ cp -r doc/* $(DESTDIR)$(LINUXDOCDOC)
|
||||
+ find $(DESTDIR)$(LINUXDOCDOC) -type d -print | xargs chmod 755
|
||||
+ find $(DESTDIR)$(LINUXDOCDOC) -type f -print | xargs chmod 644
|
||||
|
||||
# what dirs do the targets clean and distclean need?
|
||||
DDIRS=
|
||||
--- sgml-tools-1.0.9/./entity-map/sdata/Makefile.orig Wed Apr 23 10:01:36 2003
|
||||
+++ sgml-tools-1.0.9/./entity-map/sdata/Makefile Wed Apr 23 10:02:08 2003
|
||||
@@ -14,13 +14,13 @@
|
||||
greek.2html lat1.2sdata
|
||||
|
||||
install:
|
||||
- if [ ! -d $(LIBDIR) ]; then \
|
||||
- $(MKDIR) $(LIBDIR); \
|
||||
- chmod $(PERM_D) $(LIBDIR); \
|
||||
+ if [ ! -d $(DESTDIR)$(LIBDIR) ]; then \
|
||||
+ $(MKDIR) $(DESTDIR)$(LIBDIR); \
|
||||
+ chmod $(PERM_D) $(DESTDIR)$(LIBDIR); \
|
||||
fi
|
||||
- $(CP) $(SDATAFILES) $(LIBDIR)
|
||||
- (cd $(LIBDIR); chmod $(PERM_F) $(SDATAFILES))
|
||||
- (cd $(LIBDIR); \
|
||||
+ $(CP) $(SDATAFILES) $(DESTDIR)$(LIBDIR)
|
||||
+ (cd $(DESTDIR)$(LIBDIR); chmod $(PERM_F) $(SDATAFILES))
|
||||
+ (cd $(DESTDIR)$(LIBDIR); \
|
||||
rm -f ISOlat1.2rtf ISOlat1.2texi ISOlat1.2tr ISOlat1.2l1s ISOlat1.2l1tr \
|
||||
ISOlat2.2l1b ISOlat2.2l1s \
|
||||
ISOdia.2rtf ISOdia.2texi ISOdia.2l1b ISOdia.2l1s ISOdia.2l1tr \
|
22
sgml-tools-1.0.9-latex.diff
Normal file
22
sgml-tools-1.0.9-latex.diff
Normal file
@ -0,0 +1,22 @@
|
||||
--- Makefile.in
|
||||
+++ Makefile.in 2012-07-30 15:03:23.136010100 +0000
|
||||
@@ -24,6 +24,7 @@ BUILD_SGMLSASP=@BUILD_SGMLSASP@
|
||||
BUILD_NSGMLS=@BUILD_NSGMLS@
|
||||
BUILD_ENTITY_MAP=@BUILD_ENTITY_MAP@
|
||||
BUILD_ISO_ENTITIES=@BUILD_ISO_ENTITIES@
|
||||
+TEXMFMAIN=$(shell kpsewhich '-var-value=TEXMFMAIN')
|
||||
|
||||
GENFILES := bin/sgmltools
|
||||
progs := sgml2html sgml2info sgml2latex sgml2lyx sgml2rtf \
|
||||
@@ -83,6 +84,11 @@ endif
|
||||
if [ ! -d $(DESTDIR)$(libdir) ]; then mkdir -p $(DESTDIR)$(libdir); fi
|
||||
chmod 755 $(DESTDIR)$(libdir)
|
||||
cp -r lib/* $(DESTDIR)$(libdir)
|
||||
+ mkdir -p $(DESTDIR)$(TEXMFMAIN)/tex/latex/sgml-tools
|
||||
+ mv $(DESTDIR)$(libdir)/*.sty $(DESTDIR)$(TEXMFMAIN)/tex/latex/sgml-tools/
|
||||
+ mv $(DESTDIR)$(libdir)/*.tex $(DESTDIR)$(TEXMFMAIN)/tex/latex/sgml-tools/
|
||||
+ rm -f $(DESTDIR)$(TEXMFMAIN)/tex/latex/sgml-tools/epsf.*
|
||||
+ rm -f $(DESTDIR)$(TEXMFMAIN)/tex/latex/sgml-tools/url.*
|
||||
cp VERSION $(DESTDIR)$(libdir)
|
||||
@echo "Installing man pages in $(mandir1) ..."
|
||||
if [ ! -d $(DESTDIR)$(mandir1) ]; then mkdir -p $(DESTDIR)$(mandir1) ; fi
|
12
sgml-tools-1.0.9-sgmlpre.diff
Normal file
12
sgml-tools-1.0.9-sgmlpre.diff
Normal file
@ -0,0 +1,12 @@
|
||||
--- sgml-tools-1.0.9/sgmlpre/sgmlpre.l.~1~ 1997-11-21 23:45:37.000000000 +0100
|
||||
+++ sgml-tools-1.0.9/sgmlpre/sgmlpre.l 2005-10-10 16:22:56.000000000 +0200
|
||||
@@ -142,6 +142,7 @@
|
||||
}
|
||||
|
||||
yylex();
|
||||
+ return 0;
|
||||
}
|
||||
|
||||
/* sgmlpre.l ends here */
|
||||
|
||||
Diff finished. Mon Oct 10 16:23:08 2005
|
10
sgml-tools-1.0.9-strip.diff
Normal file
10
sgml-tools-1.0.9-strip.diff
Normal file
@ -0,0 +1,10 @@
|
||||
--- Makefile.in
|
||||
+++ Makefile.in
|
||||
@@ -74,7 +74,6 @@
|
||||
( cd iso-entities; \
|
||||
$(MAKE) install )
|
||||
endif
|
||||
- strip sgmlpre/sgmlpre
|
||||
for ii in sgmlpre/sgmlpre rtf-fix/rtf2rtf; do \
|
||||
bn=`basename $$ii`; \
|
||||
$(INSTALL_PROGRAM) $$ii $(DESTDIR)$(bindir)/$$bn; \
|
83
sgml-tools-1.0.9.dif
Normal file
83
sgml-tools-1.0.9.dif
Normal file
@ -0,0 +1,83 @@
|
||||
--- rtf-fix/rtf2rtf.c
|
||||
+++ rtf-fix/rtf2rtf.c 1999/04/26 23:12:12
|
||||
@@ -543,8 +543,8 @@
|
||||
int section_id = 0; /* used for TOC hyperlinks */
|
||||
int in_appendix = 0;
|
||||
|
||||
-FILE *out = stdout;
|
||||
-FILE *idx_fp = stdout;
|
||||
+FILE *out;
|
||||
+FILE *idx_fp;
|
||||
|
||||
char buf[2048], sectname[256], labeltxt[256];
|
||||
char firstname[256], outname[256];
|
||||
@@ -2079,6 +2079,8 @@
|
||||
main( int argc, char **argv )
|
||||
{
|
||||
int i;
|
||||
+
|
||||
+ out = idx_fp = stdout;
|
||||
|
||||
strcpy( firstname, "RTF" );
|
||||
|
||||
--- rtf-fix/rtf2rtf.l
|
||||
+++ rtf-fix/rtf2rtf.l 1999/04/26 23:11:39
|
||||
@@ -53,8 +53,8 @@
|
||||
int section_id = 0; /* used for TOC hyperlinks */
|
||||
int in_appendix = 0;
|
||||
|
||||
-FILE *out = stdout;
|
||||
-FILE *idx_fp = stdout;
|
||||
+FILE *out;
|
||||
+FILE *idx_fp;
|
||||
|
||||
char buf[2048], sectname[256], labeltxt[256];
|
||||
char firstname[256], outname[256];
|
||||
@@ -384,6 +384,8 @@
|
||||
main( int argc, char **argv )
|
||||
{
|
||||
int i;
|
||||
+
|
||||
+ out = idx_fp = stdout;
|
||||
|
||||
strcpy( firstname, "RTF" );
|
||||
|
||||
--- lib/dist/sgmltool/latex2e/mapping~ Fri Jun 26 21:39:17 1998
|
||||
+++ lib/dist/sgmltool/latex2e/mapping Tue Jun 29 14:51:46 1999
|
||||
@@ -10,7 +10,7 @@
|
||||
"\\usepackage{url}\n"
|
||||
"\\usepackage\[latin1\]{inputenc}\n"
|
||||
"\\usepackage{t1enc}\n"
|
||||
- "\\usepackage{babel}\n"
|
||||
+ "\\usepackage\[english\]{babel}\n"
|
||||
"\\usepackage{epsfig}\n"
|
||||
"\\usepackage{[OPTS]}\n"
|
||||
"\\def\\addbibtoc{\n"
|
||||
@@ -25,7 +25,7 @@
|
||||
"\\usepackage{url}\n"
|
||||
"\\usepackage\[latin1\]{inputenc}\n"
|
||||
"\\usepackage{t1enc}\n"
|
||||
- "\\usepackage{babel}\n"
|
||||
+ "\\usepackage\[english\]{babel}\n"
|
||||
"\\usepackage{epsfig}\n"
|
||||
"\\usepackage{[OPTS]}\n"
|
||||
"\\def\\addbibtoc{\n"
|
||||
@@ -41,7 +41,7 @@
|
||||
"\\usepackage{url}\n"
|
||||
"\\usepackage\[latin1\]{inputenc}\n"
|
||||
"\\usepackage{t1enc}\n"
|
||||
- "\\usepackage{babel}\n"
|
||||
+ "\\usepackage\[english\]{babel}\n"
|
||||
"\\usepackage{epsfig}\n"
|
||||
"\\usepackage{[OPTS]}\n"
|
||||
"\\def\\addbibtoc{\n"
|
||||
@@ -58,7 +58,7 @@
|
||||
"\\usepackage{url}\n"
|
||||
"\\usepackage\[latin1\]{inputenc}\n"
|
||||
"\\usepackage{t1enc}\n"
|
||||
- "\\usepackage{babel}\n"
|
||||
+ "\\usepackage\[english\]{babel}\n"
|
||||
"\\usepackage{epsfig}\n"
|
||||
"\\usepackage{[OPTS]}\n"
|
||||
"\\def\\title#1{\n"
|
||||
|
BIN
sgml-tools-1.0.9.tar.bz2
(Stored with Git LFS)
Normal file
BIN
sgml-tools-1.0.9.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
11
sgml-tools-retval.diff
Normal file
11
sgml-tools-retval.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- sgmls-1.1/replace.c
|
||||
+++ sgmls-1.1/replace.c
|
||||
@@ -274,6 +274,8 @@
|
||||
default:
|
||||
parse_error("bad input character `%c'", c);
|
||||
}
|
||||
+ /* unreached */
|
||||
+ return 0;
|
||||
}
|
||||
|
||||
static
|
43
sgml-tools-temp-vuln-1.0.9.diff
Normal file
43
sgml-tools-temp-vuln-1.0.9.diff
Normal file
@ -0,0 +1,43 @@
|
||||
--- sgml-tools-1.0.9/lib/SGMLTools.bak Wed Apr 25 14:53:48 2001
|
||||
+++ sgml-tools-1.0.9/lib/SGMLTools.pm Wed Apr 25 14:58:42 2001
|
||||
@@ -212,6 +212,14 @@
|
||||
return @files;
|
||||
}
|
||||
|
||||
+# Pre-create temp files safely
|
||||
+sub create_temp {
|
||||
+ my $fh = new FileHandle(shift,O_CREAT|O_EXCL|O_WRONLY,0600);
|
||||
+ $fh or die "$0: failed to create temporary file: $!";
|
||||
+ $fh->close;
|
||||
+}
|
||||
+
|
||||
+
|
||||
=item SGMLTools::process_file
|
||||
|
||||
With all the configuration done, this routine will take a single filename
|
||||
@@ -286,6 +294,7 @@
|
||||
{
|
||||
$ifile = new FileHandle "$global->{NsgmlsPrePipe}|";
|
||||
}
|
||||
+ create_temp("$tmpbase.1");
|
||||
$writensgmls = new FileHandle
|
||||
"$precmd|$main::progs->{NSGMLS} $global->{NsgmlsOpts} $ENV{SGMLDECL} >$tmpbase.1";
|
||||
if ($global->{charset} eq "latin")
|
||||
@@ -386,7 +395,8 @@
|
||||
# preASP ($inhandle, $outhandle);
|
||||
#
|
||||
my $inpreasp = new FileHandle "<$tmpbase.1";
|
||||
- my $outpreasp = new FileHandle ">$tmpbase.2";
|
||||
+ my $outpreasp = new FileHandle "$tmpbase.2",O_WRONLY|O_CREAT|O_EXCL,0600;
|
||||
+
|
||||
if (defined $Formats{$global->{format}}{preASP})
|
||||
{
|
||||
&{$Formats{$global->{format}}{preASP}}($inpreasp, $outpreasp) == 0 or
|
||||
@@ -428,6 +438,7 @@
|
||||
my $mapping = "$main::LibDir/site/$dtd/$global->{format}/mapping";
|
||||
-r $mapping or $mapping = "$main::LibDir/dist/$dtd/$global->{format}/mapping";
|
||||
|
||||
+ create_temp("$tmpbase.3");
|
||||
system ("$main::progs->{SGMLSASP} $style $mapping <$tmpbase.2|
|
||||
expand -$global->{tabsize} >$tmpbase.3");
|
||||
|
11
sgmltool-1.0.9-expandsyntax.diff
Normal file
11
sgmltool-1.0.9-expandsyntax.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- sgml-tools-1.0.9/lib/SGMLTools.pm
|
||||
+++ sgml-tools-1.0.9/lib/SGMLTools.pm
|
||||
@@ -440,7 +440,7 @@
|
||||
|
||||
create_temp("$tmpbase.3");
|
||||
system ("$main::progs->{SGMLSASP} $style $mapping <$tmpbase.2|
|
||||
- expand -$global->{tabsize} >$tmpbase.3");
|
||||
+ expand -t $global->{tabsize} >$tmpbase.3");
|
||||
|
||||
#
|
||||
# If a postASP stage is defined, let the format handle it.
|
22
sgmltool-man-entities.diff
Normal file
22
sgmltool-man-entities.diff
Normal file
@ -0,0 +1,22 @@
|
||||
--- sgml-tools-1.0.9/lib/dist/fmt_txt.pl Mon Jun 29 21:59:17 1998
|
||||
+++ sgml-tools-1.0.9/lib/dist/fmt_txt.pl Mon Jun 29 21:59:17 1998
|
||||
@@ -81,11 +81,12 @@
|
||||
{
|
||||
my ($infile, $outfile) = @_;
|
||||
my (@toc, @lines);
|
||||
- if ($txt->{manpage})
|
||||
- {
|
||||
- copy ($infile, $outfile);
|
||||
- return;
|
||||
- }
|
||||
+ #ke
|
||||
+ #if ($txt->{manpage})
|
||||
+ # {
|
||||
+ # copy ($infile, $outfile);
|
||||
+ # return;
|
||||
+ # }
|
||||
|
||||
# note the conversion of `sdata_dirs' list to an anonymous array to
|
||||
# make a single argument
|
||||
|
||||
Diff finished at Wed Jun 19 14:10:25
|
265
sgmltool.changes
Normal file
265
sgmltool.changes
Normal file
@ -0,0 +1,265 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 30 10:16:15 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Add suplements for the sgml2latex to make sure it gets
|
||||
autoinstalled if one has both latex and sgmltool
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 27 15:54:47 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Move sgml2latex to separate subpackage, avoid pulling in half
|
||||
of TeXLive when e.g. only sgml2html is required.
|
||||
- Really remove sgmltool-flex.patch, was only applied for obsolete
|
||||
distribution versions.
|
||||
- Stop distributing RTF and LyX versions of the guide; plaintext,
|
||||
HTML and Postscript should be sufficient.
|
||||
- spec file cleanup:
|
||||
* drop defattr, use license, use buildroot instead of shell variable
|
||||
* remove long obsolete distro support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 18 17:23:39 UTC 2015 - schwab@linux-m68k.org
|
||||
|
||||
- sgmltool-flex.patch: removed, flex has been fixed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 09:33:08 UTC 2013 - werner@suse.de
|
||||
|
||||
- Use kpsepath to determine texmf main location
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 12 04:34:42 UTC 2012 - nfbrown@suse.com
|
||||
|
||||
- Add buildrequires for groff so that sgml2txt
|
||||
works, and rationalize setting of CFLAGS.
|
||||
In particular having a "\" line continuation
|
||||
before a %configure macro probably doesn't
|
||||
behave as expected.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 19 09:06:57 UTC 2012 - idonmez@suse.com
|
||||
|
||||
- Add sgmltool-flex.patch: yyleng must be size_t with new flex
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 2 12:42:50 UTC 2012 - jengelh@inai.de
|
||||
|
||||
- Parallel build with %_smp_mflags
|
||||
- Remove redundant tags/sections from specfile,
|
||||
use %configure
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 30 15:06:54 UTC 2012 - werner@suse.de
|
||||
|
||||
- Move styles where they belong to
|
||||
- Require packages for sgml2latex
|
||||
- Use texlive infrastructure
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 30 14:26:29 UTC 2012 - werner@suse.de
|
||||
|
||||
- Quote brackets of the babel language mapping otherwise the
|
||||
sgml2latex tool ignores it
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 15 20:24:31 CET 2009 - jengelh@medozas.de
|
||||
|
||||
- enable parallel building
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 7 11:15:53 CEST 2008 - ke@suse.de
|
||||
|
||||
- Improve Perl requires. Recommended by Staphan Kulow, reported by
|
||||
Jan Willamowius [bnc#412525].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 23 12:47:53 CEST 2008 - ro@suse.de
|
||||
|
||||
- do not redefine "name" macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 29 13:39:49 CEST 2007 - ke@suse.de
|
||||
|
||||
- Add BuildRequires: flex.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 27 23:08:52 CEST 2006 - schwab@suse.de
|
||||
|
||||
- Don't strip binaries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:30:58 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 10 16:40:01 CEST 2005 - ke@suse.de
|
||||
|
||||
- Use -fno-strict-aliasing.
|
||||
- Add missing return value; thanks for debugging to Richard Guenther.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 17 14:43:44 CEST 2005 - meissner@suse.de
|
||||
|
||||
- use RPM_OPT_FLAGS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 29 01:32:19 CEST 2004 - ro@suse.de
|
||||
|
||||
- added missing return value (unreached code)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 22:07:12 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %defattr
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 23 10:07:18 CEST 2003 - coolo@suse.de
|
||||
|
||||
- use more of that DESTDIR
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 22 15:53:40 CEST 2003 - coolo@suse.de
|
||||
|
||||
- don't mess with broken Makefiles -> empty it before execution
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 22 13:33:35 CEST 2003 - coolo@suse.de
|
||||
|
||||
- generating docs through brute force
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 17 01:06:47 CEST 2003 - coolo@suse.de
|
||||
|
||||
- use BuildRoot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 7 09:56:32 CEST 2003 - mmj@suse.de
|
||||
|
||||
- The expand syntax changed with new coreutils.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 11:30:48 CET 2002 - ro@suse.de
|
||||
|
||||
- adapted requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 11:26:13 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <sp> to <opensp>
|
||||
- changed neededforbuild <sp-devel> to <>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 20 14:15:00 CEST 2002 - ke@suse.de
|
||||
|
||||
- sgmltool-man-entities.diff: Try to map entities also for manpage
|
||||
output; reported by Michal Svec [# 16536].
|
||||
- enable %clean section.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 8 13:36:28 CET 2002 - kukuk@suse.de
|
||||
|
||||
- Add /usr/lib/entity-map to filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 13 15:51:57 CEST 2001 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <sp_libs> to <sp-devel>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 26 09:53:43 CEST 2001 - ke@suse.de
|
||||
|
||||
- Apply tools-temp-vuln-1.0.9.diff to fix a tmp file vulnerability
|
||||
(patch provided by Sebastian Krahmer) [#6826].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 27 18:51:56 CET 2000 - ke@suse.de
|
||||
|
||||
- add more documentation lnd-1.0.tar.bz2 (thanks to mike for hint).
|
||||
- use macros: %{name}, %{version}, %{_mandir}.
|
||||
- ./configure -> %build section.
|
||||
- add group tag.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 9 17:21:25 MEST 1999 - bs@suse.de
|
||||
|
||||
- fixed path for perl module
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 29 14:55:22 MEST 1999 - ke@suse.de
|
||||
|
||||
- babel now will know the language as an option (werner).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 27 01:13:09 MEST 1999 - ro@suse.de
|
||||
|
||||
- compiler fix: stdout is non constant
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 26 11:36:00 MET 1998 - ke@suse.de
|
||||
|
||||
- update: version 1.0.9 (bugfix release).
|
||||
- mv the perl module to the 5.00502 dir hierarchy (hack).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 18 01:12:54 MET 1998 - ro@suse.de
|
||||
|
||||
- adapt path to perl 5.00502
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 9 18:04:04 MET 1998 - ro@suse.de
|
||||
|
||||
- added sp_libs to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 16 11:37:49 MEST 1998 - ke@suse.de
|
||||
|
||||
- update: version 1.0.8 (bugfix release).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 28 14:22:15 MEST 1998 - ke@suse.de
|
||||
|
||||
- update: version 1.0.7 (bugfix release).
|
||||
- remove jade_dsl from neededforbuild.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 23 17:08:49 MET 1998 - bs@suse.de
|
||||
|
||||
- added sp to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 6 15:30:56 MET 1998 - ke@suse.de
|
||||
|
||||
- update: version 1.0.5.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 28 15:25:47 MET 1998 - bs@suse.de
|
||||
|
||||
- deleted texhash stuff (done by tetex package now)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 15 11:35:18 MET 1998 - ke@suse.de
|
||||
|
||||
- update: version 1.0.4.
|
||||
- simplify file list.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 13 17:11:27 MET 1998 - ke@suse.de
|
||||
|
||||
- update: version 1.0.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 19 14:25:02 MET 1997 - ke@suse.de
|
||||
|
||||
- provide %post and %postun script to maintain /var/texfonts/ls-R.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 17 11:20:22 MET 1997 - ke@suse.de
|
||||
|
||||
- initial package: version 0.99.20.
|
||||
|
168
sgmltool.spec
Normal file
168
sgmltool.spec
Normal file
@ -0,0 +1,168 @@
|
||||
#
|
||||
# spec file for package sgmltool
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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: sgmltool
|
||||
Version: 1.0.9
|
||||
Release: 0
|
||||
Summary: SGML-Tools - a Text-Formatting Package
|
||||
License: SUSE-Public-Domain
|
||||
Group: Productivity/Publishing/SGML
|
||||
Source: ftp://ftp.nllgg.nl/pub2/SGMLtools/v1.0/sgml-tools-%{version}.tar.bz2
|
||||
Source1: lnd-1.0.tar.bz2
|
||||
Patch0: sgml-tools-1.0.9.dif
|
||||
Patch1: sgml-tools-temp-vuln-1.0.9.diff
|
||||
Patch2: sgmltool-man-entities.diff
|
||||
Patch3: sgmltool-1.0.9-expandsyntax.diff
|
||||
Patch4: sgml-tools-1.0.9-destdir.diff
|
||||
Patch5: sgml-tools-retval.diff
|
||||
Patch6: cflags-sgml-tools-1.0.9.diff
|
||||
Patch7: sgml-tools-1.0.9-sgmlpre.diff
|
||||
Patch8: sgml-tools-1.0.9-strip.diff
|
||||
Patch9: sgml-tools-1.0.9-latex.diff
|
||||
BuildRequires: flex
|
||||
BuildRequires: groff
|
||||
BuildRequires: opensp
|
||||
BuildRequires: texlive-kpathsea
|
||||
Requires: opensp
|
||||
Requires: perl = %{perl_version}
|
||||
Requires: perl(Text::EntityMap)
|
||||
Conflicts: linuxdoc
|
||||
Provides: sgml-tools
|
||||
%{expand: %%global _texmfmaindir %(kpsewhich -expand-var='$TEXMFMAIN')}
|
||||
|
||||
%description
|
||||
SGML-Tools is a text-formatting package based on SGML (Standard
|
||||
Generalized Markup Language), which allows you to produce LaTeX, HTML,
|
||||
GNU info, LyX, RTF, and plain ASCII documents (via groff) from a single
|
||||
source.
|
||||
|
||||
This system is tailored for writing technical software documentation,
|
||||
an example of which is the Linux HOWTO documents. It should be useful
|
||||
for all kinds of printed and online documentation.
|
||||
|
||||
This package is the successor to the Linuxdoc package.
|
||||
|
||||
SGML-Tools cannot process arbitrary SGML documents. In such a case, try
|
||||
jade_dsl and write your own DSSSL scripts (take the docbk30 package as
|
||||
an example).
|
||||
|
||||
%package latex
|
||||
Summary: SGML-Tools - LaTeX generator
|
||||
Group: Productivity/Publishing/SGML
|
||||
Requires: sgmltool
|
||||
Requires: texlive-epsf
|
||||
Requires: texlive-latex
|
||||
Requires: texlive-url
|
||||
Requires(post): coreutils
|
||||
Requires(posttrans): texlive-filesystem
|
||||
Requires(postun): coreutils
|
||||
Requires(postun): texlive-kpathsea
|
||||
Supplements: (sgmltool and texlive-filesystem)
|
||||
Provides: sgmltool:%{_bindir}/sgml2latex
|
||||
|
||||
%description latex
|
||||
This package contains the LaTeX generator (sgml2latex) from sgmltool.
|
||||
|
||||
%prep
|
||||
%setup -q -n sgml-tools-%{version} -a1
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8
|
||||
%patch9
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%configure \
|
||||
--prefix="%{buildroot}/%{_prefix}" \
|
||||
--with-installed-nsgmls
|
||||
make %{?_smp_mflags}
|
||||
make %{?_smp_mflags} install DESTDIR=%{buildroot} prefix="%{_prefix}"
|
||||
(cd doc; PATH="$PATH:%buildroot/%{_bindir}" sh Makedoc.sh)
|
||||
cp -p doc/README doc/README.doc
|
||||
# the Makefiles are a bit nasty
|
||||
make %{?_smp_mflags} clean
|
||||
%configure \
|
||||
--with-installed-nsgmls
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
> doc/Makedoc.sh
|
||||
make install DESTDIR="%{buildroot}";
|
||||
rm -fr %{buildroot}%{_prefix}/doc/sgml-tools
|
||||
perlpath=`ls -1d %{_prefix}/lib/perl5/5.*/Text`
|
||||
mkdir -p %{buildroot}$perlpath
|
||||
mv %{buildroot}%{_prefix}/lib/perl5/Text/EntityMap.pm %{buildroot}$perlpath/
|
||||
|
||||
%post latex
|
||||
mkdir -p %{_localstatedir}/run/texlive
|
||||
> %{_localstatedir}/run/texlive/run-mktexlsr
|
||||
|
||||
%postun latex
|
||||
if test $1 = 0; then
|
||||
%{_bindir}/mktexlsr 2> /dev/null || :
|
||||
exit 0
|
||||
fi
|
||||
mkdir -p %{_localstatedir}/run/texlive
|
||||
> %{_localstatedir}/run/texlive/run-mktexlsr
|
||||
|
||||
%posttrans latex
|
||||
VERBOSE=false %{_texmfmaindir}/texconfig/update || :
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc lnd-1.0
|
||||
%doc BUGS CHANGES CONTRIBUTORS README TODO
|
||||
%doc doc/README.doc doc/example.sgml doc/html
|
||||
%doc doc/guide.ps.gz doc/guide.sgml doc/guide.txt
|
||||
%{_bindir}/sgmlsasp
|
||||
%{_bindir}/rtf2rtf
|
||||
%{_bindir}/sgmltools.v1
|
||||
%{_bindir}/sgml2html
|
||||
%{_bindir}/sgml2info
|
||||
%{_bindir}/sgml2lyx
|
||||
%{_bindir}/sgml2rtf
|
||||
%{_bindir}/sgml2txt
|
||||
%{_bindir}/sgmlcheck
|
||||
%{_bindir}/sgmlpre
|
||||
%dir %{_prefix}/lib/entity-map
|
||||
%{_prefix}/lib/entity-map/0.1.0
|
||||
%{_prefix}/lib/perl5/5.*/Text/EntityMap.pm
|
||||
%dir %{_prefix}/lib/sgml
|
||||
%{_prefix}/lib/sgml-tools
|
||||
%{_prefix}/lib/sgml/iso-entities-8879.1986
|
||||
%{_mandir}/man1/sgml2html.1%{?ext_man}
|
||||
%{_mandir}/man1/sgml2info.1%{?ext_man}
|
||||
%{_mandir}/man1/sgml2lyx.1%{?ext_man}
|
||||
%{_mandir}/man1/sgml2rtf.1%{?ext_man}
|
||||
%{_mandir}/man1/sgml2txt.1%{?ext_man}
|
||||
%{_mandir}/man1/sgmlsasp.1%{?ext_man}
|
||||
%{_mandir}/man1/sgmlcheck.1%{?ext_man}
|
||||
%{_mandir}/man1/sgmltools.1%{?ext_man}
|
||||
|
||||
%files latex
|
||||
%{_bindir}/sgml2latex
|
||||
%{_texmfmaindir}/tex/latex/sgml-tools
|
||||
%{_mandir}/man1/sgml2latex.1%{?ext_man}
|
||||
|
||||
%changelog
|
40
sgmltool.test
Normal file
40
sgmltool.test
Normal file
@ -0,0 +1,40 @@
|
||||
Install the following packages:
|
||||
|
||||
- jade_dsl
|
||||
- tetex
|
||||
- gs
|
||||
- sgmltool
|
||||
|
||||
|
||||
1)
|
||||
cd /tmp
|
||||
sgml2html /usr/doc/packages/sgmltool/guide.sgml
|
||||
|
||||
and check the guide*html files.
|
||||
|
||||
|
||||
2)
|
||||
|
||||
cd /tmp
|
||||
sgml2txt /usr/doc/packages/sgmltool/guide.sgml
|
||||
|
||||
-- some error message may occur (sgml-tools 1.0.3) -- and check
|
||||
guide.txt.
|
||||
|
||||
|
||||
3)
|
||||
|
||||
cd /tmp
|
||||
sgml2latex --output=tex /usr/doc/packages/sgmltool/guide.sgml
|
||||
|
||||
and check guide.tex; right now (sgml-tools 1.0.3) the LaTeX backend
|
||||
looks a little bit broken.
|
||||
|
||||
|
||||
4)
|
||||
cd /tmp
|
||||
sgml2rtf /usr/doc/packages/sgmltool/guide.sgml
|
||||
|
||||
and check guide.rtf and guide-0.rtf; viewable, but could be better
|
||||
(sgml-tools 1.0.3)...
|
||||
|
Loading…
Reference in New Issue
Block a user