--- xml2rfc-1.29.orig/debian/changelog +++ xml2rfc-1.29/debian/changelog @@ -0,0 +1,79 @@ +xml2rfc (1.29-1) unstable; urgency=low + + * New upstream release. + * Updates boilerplates, partially fixing Debian bug #303131. More + IETF-conformance changes are expected. + + -- Florian Weimer Tue, 3 May 2005 13:24:18 +0200 + +xml2rfc (1.26-1) unstable; urgency=low + + * New upstream release. + * Fix unwanted localization. Closes: 274191. + + -- Florian Weimer Thu, 30 Sep 2004 11:11:54 +0200 + +xml2rfc (1.25-1) unstable; urgency=low + + * New upstream release. + * Add watch file. Closes: #258182. + + -- Florian Weimer Tue, 17 Aug 2004 10:25:18 +0200 + +xml2rfc (1.24-2) unstable; urgency=low + + * Repackage as a non-native package. + + -- Florian Weimer Sat, 10 Jul 2004 11:45:26 +0200 + +xml2rfc (1.24-1) unstable; urgency=low + + * New upstream release. Closes: #258182. + + -- Florian Weimer Sat, 10 Jul 2004 11:25:42 +0200 + +xml2rfc (1.23-1) unstable; urgency=low + + * New upstream release + + -- Florian Weimer Sun, 4 Apr 2004 12:20:35 +0200 + +xml2rfc (1.22-1) unstable; urgency=low + + * New upstream release + + -- Florian Weimer Fri, 27 Feb 2004 11:19:46 +0100 + +xml2rfc (1.21-1) unstable; urgency=low + + * New upstream release + + -- Florian Weimer Thu, 20 Nov 2003 15:08:34 +0100 + +xml2rfc (1.20-1) unstable; urgency=low + + * New upstream release + + * Upstream now incorporates the relevant parts of the "--"/"+" fix. + + * Fixed typo in manpage. + + * Updated copyright statement. + + -- Florian Weimer Sun, 14 Sep 2003 12:12:12 +0200 + +xml2rfc (1.15-2) unstable; urgency=low + + * Dont rely on "--" is "+". Closes: #185793. + (Basic patch from Chris Waters, slightly extended.) + + * Remove debian/files in "clean" target. + + -- Florian Weimer Sat, 22 Mar 2003 18:23:45 +0100 + +xml2rfc (1.15-1) unstable; urgency=low + + * First version. Closes: #175412. + + -- Florian Weimer Sun, 5 Jan 2003 12:20:54 +0100 + --- xml2rfc-1.29.orig/debian/catalog +++ xml2rfc-1.29/debian/catalog @@ -0,0 +1,2 @@ +SYSTEM "rfc2629.dtd" "dtd/rfc2629.dtd" +DOCTYPE rfc "dtd/rfc2629.dtd" --- xml2rfc-1.29.orig/debian/postinst +++ xml2rfc-1.29/debian/postinst @@ -0,0 +1,10 @@ +#!/bin/sh +set -e +if [ "$1" = configure ] +then + CENCAT=/etc/sgml/xml2rfc.cat + ORDCAT=/usr/share/sgml/xml2rfc/catalog + update-catalog --add $CENCAT $ORDCAT + update-catalog --add --super $CENCAT +fi +exit 0 --- xml2rfc-1.29.orig/debian/watch +++ xml2rfc-1.29/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://xml.resource.org/authoring/ xml2rfc-(.*)\.tgz debian uupdate --- xml2rfc-1.29.orig/debian/control +++ xml2rfc-1.29/debian/control @@ -0,0 +1,16 @@ +Source: xml2rfc +Section: text +Priority: optional +Maintainer: Florian Weimer +Standards-Version: 3.6.1.0 + +Package: xml2rfc +Architecture: all +Depends: tcl8.4 | tclsh, sgml-base +Suggests: wish +Description: XML-based formatting tool for RFCs + This package provides xml2rfc, a tool which creates text, HTML and + nroff output in the format required for Internet-Drafts and RFCs. The + text and nroff output is suitable for input to the RFC editor. + . + The DTD used by the XML documents is described in RFC 2629. --- xml2rfc-1.29.orig/debian/changelog~ +++ xml2rfc-1.29/debian/changelog~ @@ -0,0 +1,71 @@ +xml2rfc (1.26-1) unstable; urgency=low + + * New upstream release. + * Fix unwanted localization. Closes: 274191. + + -- Florian Weimer Thu, 30 Sep 2004 11:11:54 +0200 + +xml2rfc (1.25-1) unstable; urgency=low + + * New upstream release. + * Add watch file. Closes: #258182. + + -- Florian Weimer Tue, 17 Aug 2004 10:25:18 +0200 + +xml2rfc (1.24-2) unstable; urgency=low + + * Repackage as a non-native package. + + -- Florian Weimer Sat, 10 Jul 2004 11:45:26 +0200 + +xml2rfc (1.24-1) unstable; urgency=low + + * New upstream release. Closes: #258182. + + -- Florian Weimer Sat, 10 Jul 2004 11:25:42 +0200 + +xml2rfc (1.23-1) unstable; urgency=low + + * New upstream release + + -- Florian Weimer Sun, 4 Apr 2004 12:20:35 +0200 + +xml2rfc (1.22-1) unstable; urgency=low + + * New upstream release + + -- Florian Weimer Fri, 27 Feb 2004 11:19:46 +0100 + +xml2rfc (1.21-1) unstable; urgency=low + + * New upstream release + + -- Florian Weimer Thu, 20 Nov 2003 15:08:34 +0100 + +xml2rfc (1.20-1) unstable; urgency=low + + * New upstream release + + * Upstream now incorporates the relevant parts of the "--"/"+" fix. + + * Fixed typo in manpage. + + * Updated copyright statement. + + -- Florian Weimer Sun, 14 Sep 2003 12:12:12 +0200 + +xml2rfc (1.15-2) unstable; urgency=low + + * Dont rely on "--" is "+". Closes: #185793. + (Basic patch from Chris Waters, slightly extended.) + + * Remove debian/files in "clean" target. + + -- Florian Weimer Sat, 22 Mar 2003 18:23:45 +0100 + +xml2rfc (1.15-1) unstable; urgency=low + + * First version. Closes: #175412. + + -- Florian Weimer Sun, 5 Jan 2003 12:20:54 +0100 + --- xml2rfc-1.29.orig/debian/prerm +++ xml2rfc-1.29/debian/prerm @@ -0,0 +1,10 @@ +#!/bin/sh +set -e +if [ "$1" = remove ] +then + CENCAT=/etc/sgml/xml2rfc.cat + ORDCAT=/usr/share/sgml/xml2rfc/catalog + update-catalog --remove --super $CENCAT + update-catalog --remove $CENCAT $ORDCAT +fi +exit 0 --- xml2rfc-1.29.orig/debian/copyright +++ xml2rfc-1.29/debian/copyright @@ -0,0 +1,30 @@ +This Debian package is based on software downloaded from +. The software is released under the +following license: + +(c) 2003 Marshall T. Rose +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the author nor the names of the contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUHTORS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. --- xml2rfc-1.29.orig/debian/rules +++ xml2rfc-1.29/debian/rules @@ -0,0 +1,56 @@ +#!/usr/bin/make -f + +STAGING = debian/tmp +DOCDIR_REL = usr/share/doc/xml2rfc +DOCDIR = $(STAGING)/$(DOCDIR_REL) + +build: build-stamp +build-stamp: + touch build-stamp + +clean: + -rm build-stamp debian/files + -rm -rf $(STAGING) + + +install: build + rm -rf $(STAGING) + install -d $(STAGING)/DEBIAN + install -d $(STAGING)/usr/bin + install -d $(STAGING)/usr/share/man/man1 + install -d $(STAGING)/usr/share/sgml/xml2rfc/dtd + install -d $(DOCDIR)/examples + + install -m 755 debian/postinst $(STAGING)/DEBIAN/ + install -m 755 debian/prerm $(STAGING)/DEBIAN/ + + install -m 644 debian/copyright $(DOCDIR)/ + install -m 644 debian/changelog $(DOCDIR)/changelog.Debian + gzip -9 $(DOCDIR)/changelog.Debian + install -m 644 *.txt *.html $(DOCDIR) + gzip -9 $(DOCDIR)/*.txt $(DOCDIR)/*.html + + install -m 644 *.xml $(DOCDIR)/examples + gzip -9 $(DOCDIR)/examples/* + mv $(DOCDIR)/sample.txt.gz $(DOCDIR)/examples/ + + install -m 755 xml2rfc.tcl $(STAGING)/usr/bin/xml2rfc + install -m 644 debian/xml2rfc.1 $(STAGING)/usr/share/man/man1/ + gzip -9 $(STAGING)/usr/share/man/man1/xml2rfc.1 + + install -m 644 debian/catalog $(STAGING)/usr/share/sgml/xml2rfc/ + install -m 644 rfc2629.dtd $(STAGING)/usr/share/sgml/xml2rfc/dtd/ + +# Build architecture-independent files here. +binary-indep: build install + dpkg-gencontrol -isp -pxml2rfc + chown -R root.root $(STAGING) + chmod -R g-ws $(STAGING) + dpkg --build debian/tmp .. + + +# Build architecture-dependent files here. +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- xml2rfc-1.29.orig/debian/xml2rfc.1 +++ xml2rfc-1.29/debian/xml2rfc.1 @@ -0,0 +1,54 @@ +.\" This is an -*- nroff -*- source file. +.\" +.\" Copyright (C) 2003 Florian Weimer +.\" +.\" This manual page is released under the BSD license, as found in +.\" /usr/share/common-licenses/BSD. +.\" +.TH "XML2RFC" 1 "Jan 2003" "Debian Project" "Debian Linux" +.SH NAME +xml2rfc - format RFCs using XML markup +.SH SYNOPSIS +.B xml2rfc +.I source +.br +.B xml2rfc +.I source +.IR output .txt +.br +.B xml2rfc +.I source +.IR output .html +.br +.B xml2rfc +.I source +.IR output .nr +.br +.B xml2rfc +.SH DESCRIPTION +.B xml2rfc +converts an XML document using the DTD describe in RFC 2629 +to plain text, nroff or HTML format. +.PP +When invoked with a single argument, +.B xml2rfc +converts the given source file to text format and writes the result to +a file having the same basename and the extension +.BR .txt . +Otherwise, the output format is controlled by the extension of the +output file (given in the second argument). +.PP +When +.B xml2rfc +is invoked with no arguments, and the DISPLAY environment variable is +set, the user can interactively choose the file to convert. +.SH ENVIRONMENT VARIABLES +The following environment variables are processed by +.BR xml2rfc : +.IP DISPLAY +This environment variable is used to locate an X11 display. +.SH SEE ALSO +.B RFC 2629 +.SH AUTHOR +This manpage has been written by Florian Weimer , +for the Debian GNU/Linux project.