[SCM] mathpartir packaging branch, master, updated. upstream/1.1.1-10-g7754caa

Ralf Treinen treinen at free.fr
Sun May 15 14:52:55 UTC 2011


The following commit has been merged in the master branch:
commit 1a2dcc9594ef645f31e33bcd668b45f85a41d394
Author: Ralf Treinen <treinen at debian.org>
Date:   Sun Nov 14 21:31:44 2004 +0100

    Imported Debian patch 1.1.1-1

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..854814c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+mathpartir (1.1.1-1) unstable; urgency=low
+
+  * Initial Release (closes: Bug#241359).
+
+ -- Ralf Treinen <treinen at debian.org>  Sun, 14 Nov 2004 21:31:44 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a3fbe18
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: mathpartir
+Section: tex
+Priority: optional
+Maintainer: Ralf Treinen <treinen at debian.org>
+Build-Depends-Indep: debhelper (>= 4.0.0), hevea, dpatch
+Standards-Version: 3.6.1
+
+Package: mathpartir
+Architecture: all
+Depends: tetex-bin
+Description: LaTeX macros for typesetting inference rules
+ This packages contains LaTeX macros for
+  * typesetting a sequence of math formulas in mixed horizontal and vertical
+    mode
+  * typesetting inference rules
+  .
+  Homepage: http://pauillac.inria.fr/~remy/latex/index.html#tir
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a48781b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,13 @@
+This package was debianized by Ralf Treinen <treinen at debian.org> on
+Sun, 14 Nov 2004 21:31:44 +0100.
+
+It was downloaded from http://pauillac.inria.fr/~remy/latex/index.html#tir
+
+Copyright:
+
+Upstream Author: Didier Remy <Didier.Remy at inria.fr>
+
+License: You are free to distribute this software under the terms of
+the GNU General Public License, version 2.  On Debian systems, the
+complete text of the GNU General Public License can be found in the
+/usr/share/common-licenses/GPL file.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..e9ef204
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,3 @@
+usr/share/texmf/tex/latex/mathpartir
+usr/share/texmf/doc/latex/mathpartir
+usr/share/hevea
diff --git a/debian/mathpartir.doc-base b/debian/mathpartir.doc-base
new file mode 100644
index 0000000..9e9f823
--- /dev/null
+++ b/debian/mathpartir.doc-base
@@ -0,0 +1,17 @@
+Document: mathpartir
+Title: Mathpartir Manual
+Author: Didier Remy
+Abstract: This manual describes the mathpartir LaTeX macros
+  and how they can be used to typeset mathematical formulas and
+  inference rules.
+Section: tex
+
+Format: HTML
+Index: /usr/share/doc/mathpartir/mathpartir.html
+Files: /usr/share/doc/mathpartir/mathpartir.html
+
+Format: DVI
+Files: /usr/share/doc/texmf/latex/mathpartir/mathpartir.dvi.gz
+
+
+  
diff --git a/debian/mathpartir.links b/debian/mathpartir.links
new file mode 100644
index 0000000..9d82671
--- /dev/null
+++ b/debian/mathpartir.links
@@ -0,0 +1 @@
+/usr/share/doc/texmf/latex/mathpartir/mathpartir.dvi.gz /usr/share/doc/mathpartir/mathpartir.dvi.gz
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 0000000..d1cb042
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1 @@
+01doc-hevea
diff --git a/debian/patches/01doc-hevea.dpatch b/debian/patches/01doc-hevea.dpatch
new file mode 100644
index 0000000..5752b24
--- /dev/null
+++ b/debian/patches/01doc-hevea.dpatch
@@ -0,0 +1,35 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01doc-hevea.dpatch by Ralf Treinen <treinen at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Warn about the HTML documentation.
+
+ at DPATCH@
+diff -urNad mathpartir-1.1.1/mathpartir.tex /tmp/dpep.xt7mJb/mathpartir-1.1.1/mathpartir.tex
+--- mathpartir-1.1.1/mathpartir.tex	2004-11-16 15:06:30.000000000 +0100
++++ /tmp/dpep.xt7mJb/mathpartir-1.1.1/mathpartir.tex	2004-11-21 19:03:29.000000000 +0100
+@@ -38,7 +38,7 @@
+ \let \lst \verb
+ 
+ \title {Typesetting Inference Rules \\[-1ex]
+-{}\hskip 0em\hbox to 12em {\hrulefill} \\
++\ifhevea\else{}\hskip 0em\hbox to 12em {\hrulefill} \\\fi
+  and other MATH formulas \\ 
+ in PARragraph mode}
+ \author {Didier R{\'{e}}my}
+@@ -85,6 +85,15 @@
+ warranty. 
+ \fi
+ 
++\ifhevea
++\section{Note}
++
++\textit{This HTML version of the documentation can only partially
++  demonstrate the behavior of this package. Please refer to the
++  documentation in DVI format to see how the macros of this package
++  behave when typesetting under width constraints.}
++\fi
++
+ \section {The mathpar environment}
+ 
+ The mathpar environment is a ``paragraph mode for formulas''. 
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..b9d726b
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,53 @@
+#! /bin/sh
+# postinst script for mathpartir
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+TEXCONFIG=/usr/bin/mktexlsr
+
+case "$1" in
+    configure)
+	if [ -e $TEXCONFIG ]
+	then
+	    $TEXCONFIG
+	fi   
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..2138034
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,41 @@
+#! /bin/sh
+# postrm script for mathpartir
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/share/doc/packaging-manual/
+
+TEXCONFIG=/usr/bin/mktexlsr
+
+case "$1" in
+       purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+	    if [ -e $TEXCONFIG ]
+	    then
+		$TEXCONFIG
+	    fi  
+
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 0
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..dc84704
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+# debian/rules for mathpartir
+
+#export DH_VERBOSE=1
+include /usr/share/dpatch/dpatch.make
+INST=debian/mathpartir
+
+build: patch
+	dh_testdir
+	hevea -fix mathpartir.tex
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	dh_clean 
+	-rm -f mathpartir.{html,htoc,haux}
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	cp mathpartir.sty $(INST)/usr/share/texmf/tex/latex/mathpartir
+	cp mathpartir.tex $(INST)/usr/share/texmf/doc/latex/mathpartir
+	cp mathpartir.hva $(INST)/usr/share/hevea
+	gzip mathpartir.dvi --stdout > \
+		$(INST)/usr/share/texmf/doc/latex/mathpartir/mathpartir.dvi.gz
+
+binary-arch: build install
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs mathpartir.html
+	dh_compress
+	dh_fixperms
+	dh_link
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch

-- 
mathpartir packaging



More information about the debian-science-commits mailing list