--- tmexpand-0.1.2.0.orig/debian/patches/manpage.dpatch +++ tmexpand-0.1.2.0/debian/patches/manpage.dpatch @@ -0,0 +1,64 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## manpage.dpatch by Jörg Sommer +## +## DP: Removes - (hypen) by \- (dash) in the manpage. + +@DPATCH@ +diff -urNad trunk~/doc/man/tmexpand.1 trunk/doc/man/tmexpand.1 +--- trunk~/doc/man/tmexpand.1 2005-03-26 18:52:50.000000000 +0100 ++++ trunk/doc/man/tmexpand.1 2007-05-27 21:56:27.169123393 +0200 +@@ -8,35 +8,35 @@ + tmexpand \- jed text-macro processor + .SH SYNOPSIS + +-\fBtmexpand\fR [ \fB--version\fR] [ \fB-g\fR] [ \fB-I\fIinclude-dir\fB -I\fIinclude-dir\fB ...\fR] [ \fB\fIinput-file\fB|-\fR] [ \fB\fIoutput-file\fB|-\fR] ++\fBtmexpand\fR [ \fB\-\-version\fR] [ \fB\-g\fR] [ \fB\-I\fIinclude\-dir\fB \-I\fIinclude\-dir\fB ...\fR] [ \fB\fIinput\-file\fB|\-\fR] [ \fB\fIoutput\-file\fB|\-\fR] + + .SH "DESCRIPTION" + .PP +-\fBtmexpand\fR is a simple \fBjed-script\fR program for expanding a text-macro +-file. Both the S-Lang and \fBjed\fR documentation, as well as the +-jedsoft.org web pages are written in text-macro format. ++\fBtmexpand\fR is a simple \fBjed\-script\fR program for expanding a text\-macro ++file. Both the S\-Lang and \fBjed\fR documentation, as well as the ++jedsoft.org web pages are written in text\-macro format. + .PP + Included in the \fBtmexpand\fR distribution are macros for the creation + of jedsoft.org style HTML pages, macros for producing linuxdoc and +-docbook SGML files, and macros for expanding S-Lang function +-text-macro documentation to the S-Lang help file format. ++docbook SGML files, and macros for expanding S\-Lang function ++text\-macro documentation to the S\-Lang help file format. + .SH "OPTIONS" + .TP +-\fB--version\fR ++\fB\-\-version\fR + Print version information + .TP +-\fB-g\fR ++\fB\-g\fR + Load with _traceback set to 1. This is useful for debugging + \fBtmexpand\fR itself. + .TP +-\fB-I\fIinclude-dir\fB\fR +-Append the directory to the macro-directory search list. ++\fB\-I\fIinclude\-dir\fB\fR ++Append the directory to the macro\-directory search list. + .SH "REQUIREMENTS" + .PP +-\fBtmexpand\fR is a S-Lang script that is processed by the \fBjed\fR editor. +-Version 0.99-17 or later of the \fBjed\fR editor is required to run the ++\fBtmexpand\fR is a S\-Lang script that is processed by the \fBjed\fR editor. ++Version 0.99\-17 or later of the \fBjed\fR editor is required to run the + script. To get the most out of \fBtmexpand\fR, jed should be compiled +-against S-Lang version 2. ++against S\-Lang version 2. + .SH "USAGE" + .PP + This section is incomplete. +@@ -53,4 +53,4 @@ + Foundation. + .PP + On Debian systems, the complete text of the GNU General Public +-License can be found in \fI/usr/share/common-licenses/GPL\fR ++License can be found in \fI/usr/share/common\-licenses/GPL\fR --- tmexpand-0.1.2.0.orig/debian/patches/00list +++ tmexpand-0.1.2.0/debian/patches/00list @@ -0,0 +1,2 @@ +manpage +paths-in-example-makefiles --- tmexpand-0.1.2.0.orig/debian/patches/paths-in-example-makefiles.dpatch +++ tmexpand-0.1.2.0/debian/patches/paths-in-example-makefiles.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## paths-in-example-makefiles.dpatch by Rafael Laboissiere +## +## DP: Change paths in TMEXPAND and MACRODIR make variales such that the +## DP: Makefiles in examples/ and examples/web worked for the installed +## DP: package + +@DPATCH@ + +--- tmexpand-0.1.2.0.orig/doc/examples/web/Makefile ++++ tmexpand-0.1.2.0/doc/examples/web/Makefile +@@ -1,7 +1,7 @@ + # -*- sh -*- + +-TMEXPAND = ../../bin/tmexpand +-MACRODIR = ../../macros ++TMEXPAND = /usr/bin/tmexpand ++MACRODIR = /usr/share/tmexpand/macros + + TMFILES = index.tm other.tm + +--- tmexpand-0.1.2.0.orig/doc/examples/Makefile ++++ tmexpand-0.1.2.0/doc/examples/Makefile +@@ -1,5 +1,5 @@ +-TMEXPAND = ../bin/tmexpand +-MACRODIR = ../macros ++TMEXPAND = /usr/bin/tmexpand ++MACRODIR = /usr/share/tmexpand/macros + + TMFILES = help.tm + --- tmexpand-0.1.2.0.orig/debian/control +++ tmexpand-0.1.2.0/debian/control @@ -0,0 +1,17 @@ +Source: tmexpand +Section: text +Priority: optional +Maintainer: Debian JED Group +Uploaders: Rafael Laboissiere , Jörg Sommer +Standards-Version: 3.7.3 +Build-Depends: debhelper, dpatch +Build-Depends-Indep: jed (>= 0.99.17.111-1) | xjed (>= 0.99.17.111-1) +Vcs-Svn: svn://svn.debian.org/svn/pkg-jed/tmexpand/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-jed/tmexpand/ + +Package: tmexpand +Architecture: all +Depends: jed | xjed +Description: text-macro processing script to create HTML and SGML documents + tmexpand is a text-macro processing script written in S-Lang to + facilitate the creation of text, HTML and SGML documents. --- tmexpand-0.1.2.0.orig/debian/compat +++ tmexpand-0.1.2.0/debian/compat @@ -0,0 +1 @@ +4 --- tmexpand-0.1.2.0.orig/debian/watch +++ tmexpand-0.1.2.0/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/-/./" \ + ftp://space.mit.edu/pub/davis/jed/tmexpand tmexpand-(.*)\.tar\.gz --- tmexpand-0.1.2.0.orig/debian/changelog +++ tmexpand-0.1.2.0/debian/changelog @@ -0,0 +1,20 @@ +tmexpand (0.1.2.0-3) unstable; urgency=low + + * debian/control: + + Use the now official Vcs-* fields instead of the obsolete XS-Vcs-* + + Bumped Standards-Version to 3.7.3 (no changes needed) + + -- Rafael Laboissiere Sun, 16 Dec 2007 00:28:17 +0100 + +tmexpand (0.1.2.0-2) unstable; urgency=low + + * Removed the lintian override, because jed-script is now an accepted + script interpreter. + + -- Jörg Sommer Mon, 2 Jul 2007 14:04:15 +0200 + +tmexpand (0.1.2.0-1) unstable; urgency=low + + * Initial release (closes: #426417) + + -- Jörg Sommer Sun, 27 May 2007 21:13:52 +0200 --- tmexpand-0.1.2.0.orig/debian/copyright +++ tmexpand-0.1.2.0/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Jörg Sommer on +Sun, 27 May 2007 21:01:45 +0200 + +It was downloaded from ftp://space.mit.edu/pub/davis/jed/tmexpand. + +Copyright: + +Copyright (C) by John E. Davis + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems the full text of the GPL, version 2 can be found +in /usr/share/common-licenses/GPL-2 --- tmexpand-0.1.2.0.orig/debian/rules +++ tmexpand-0.1.2.0/debian/rules @@ -0,0 +1,60 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +instdir=$(CURDIR)/debian/tmexpand +subdirs=bin doc images macros + +clean: unpatch + dh_testdir + dh_clean + for i in $(subdirs); do \ + make -C $$i distclean; \ + rm -f $$i/Makefile; \ + done + for i in "" web ; do make -C doc/examples/$$i distclean ; done + rm -f config.log config.status Makefile + rm -f build-stamp install-stamp + +config.status: patch-stamp + dh_testdir + ./configure --prefix=/usr + +build: build-stamp +build-stamp: config.status + dh_testdir + make + ( cd doc/examples ; \ + make TMEXPAND=../../bin/tmexpand MACRODIR=../../macros ) + ( cd doc/examples/web ; \ + make TMEXPAND=../../../bin/tmexpand MACRODIR=../../../macros ) + touch build-stamp + +binary-indep: build-stamp + dh_testdir + dh_testroot + # keep dh_install informations (debian/files) and debian/tmp + dh_clean -i --keep + + make DESTDIR=$(instdir) install + mv $(instdir)/usr/man $(instdir)/usr/share/man + dh_installchangelogs -i ChangeLog + dh_installdocs -i + dh_installexamples -i doc/examples/* + + dh_compress -i + dh_fixperms -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: +binary: binary-arch binary-indep + +get-orig-source: + wget -O tmexpand_0.1.2.0.orig.tar.gz \ + ftp://space.mit.edu/pub/davis/jed/tmexpand/tmexpand-0.1.2-0.tar.gz + +.PHONY: build clean binary binary-arch binary-indep get-orig-source