[med-svn] r8581 - trunk/packages/tifffile/trunk/debian

Mathieu Malaterre malat-guest at alioth.debian.org
Wed Nov 16 10:47:22 UTC 2011


Author: malat-guest
Date: 2011-11-16 10:47:22 +0000 (Wed, 16 Nov 2011)
New Revision: 8581

Added:
   trunk/packages/tifffile/trunk/debian/tifffile.1
   trunk/packages/tifffile/trunk/debian/tifffile.1.in
Modified:
   trunk/packages/tifffile/trunk/debian/get-orig-source
   trunk/packages/tifffile/trunk/debian/rules
Log:
add man page

Modified: trunk/packages/tifffile/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/tifffile/trunk/debian/get-orig-source	2011-11-16 10:19:13 UTC (rev 8580)
+++ trunk/packages/tifffile/trunk/debian/get-orig-source	2011-11-16 10:47:22 UTC (rev 8581)
@@ -23,8 +23,9 @@
 cd ${FOLDER}
 wget -c http://www.lfd.uci.edu/~gohlke/code/tifffile.py.html
 wget -c http://www.lfd.uci.edu/~gohlke/code/tifffile.c.html
-links -dump tifffile.py.html > tifffile.py
-sed -i -e 's/^ //g' tifffile.py
+# do not keep .py extension as we install it into usr/bin
+links -dump tifffile.py.html > tifffile
+sed -i -e 's/^ //g' tifffile
 links -dump tifffile.c.html > tifffile.c
 sed -i -e 's/^ //g' tifffile.c
 rm *.html

Modified: trunk/packages/tifffile/trunk/debian/rules
===================================================================
--- trunk/packages/tifffile/trunk/debian/rules	2011-11-16 10:19:13 UTC (rev 8580)
+++ trunk/packages/tifffile/trunk/debian/rules	2011-11-16 10:47:22 UTC (rev 8581)
@@ -4,7 +4,13 @@
 	dh $@ --with python2
 
 override_dh_install:
-	dh_install tifffile.py usr/bin
+	dh_install tifffile usr/bin
 
+override_dh_installman:
+	dh_installman debian/tifffile.1
+
+debian/tifffile.1: debian/tifffile.1.in
+	help2man --include=debian/tifffile.1.in --output=debian/tifffile.1 --no-info tifffile
+
 get-orig-source:
 	./debian/get-orig-source

Added: trunk/packages/tifffile/trunk/debian/tifffile.1
===================================================================
--- trunk/packages/tifffile/trunk/debian/tifffile.1	                        (rev 0)
+++ trunk/packages/tifffile/trunk/debian/tifffile.1	2011-11-16 10:47:22 UTC (rev 8581)
@@ -0,0 +1,67 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.38.2.
+.TH TIFFFILE "1" "November 2011" "tifffile 2011.11.12" "User Commands"
+.SH NAME
+tifffile \- Read image and meta-data from TIFF, STK, LSM, OME-TIFF, and FluoView files.
+.SH SYNOPSIS
+.B tifffile
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+Only a subset of the TIFF specification is supported, mainly uncompressed and
+losslessly compressed 1-32 bit integer as well as 32 and 64-bit float
+images, which are commonly used in scientific imaging.
+
+TIFF, the Tagged Image File Format, is under the control of Adobe Systems.
+STK and LSM are TIFF with custom extensions used by MetaMorph respectively
+Carl Zeiss MicroImaging. Currently only primary info records are read for
+STK, FluoView, and NIH image formats.
+.PP
+Only a subset of the TIFF specification is supported, mainly uncompressed and
+losslessly compressed 1\-32 bit integer as well as 32 and 64\-bit float images,
+which are commonly used in scientific imaging.
+.SH OPTIONS
+.TP
+\fB\-\-version\fR
+show program's version number and exit
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show this help message and exit
+.TP
+\fB\-p\fR PAGE, \fB\-\-page\fR=\fIPAGE\fR
+display single page
+.TP
+\fB\-s\fR SERIES, \fB\-\-series\fR=\fISERIES\fR
+display series of pages of same shape
+.TP
+\fB\-\-noplot\fR
+don't display images
+.TP
+\fB\-\-norgb\fR
+don't try display as RGB(A) color images
+.TP
+\fB\-\-nocolmap\fR
+don't apply color mapping to paletted images
+.TP
+\fB\-\-interpol\fR=\fIINTERPOL\fR
+image interpolation method
+.TP
+\fB\-\-dpi\fR=\fIDPI\fR
+set plot resolution
+.TP
+\fB\-\-test\fR
+try read all images in path
+.TP
+\fB\-\-doctest\fR
+runs the internal tests
+.HP
+\fB\-v\fR, \fB\-\-verbose\fR
+.HP
+\fB\-q\fR, \fB\-\-quiet\fR
+.SH AUTHOR
+Christoph Gohlke <http://www.lfd.uci.edu/~gohlke
+Laboratory for Fluorescence Dynamics, University of California, Irvine
+
+This  manual  page was written by Mathieu Malaterre <mathieu.malaterre at gmail.com> for
+the Debian GNU/Linux system, but may be used by others.
+.SH "SEE ALSO"
+.BR tiffdump (1),
+.BR tiffinfo (1).

Added: trunk/packages/tifffile/trunk/debian/tifffile.1.in
===================================================================
--- trunk/packages/tifffile/trunk/debian/tifffile.1.in	                        (rev 0)
+++ trunk/packages/tifffile/trunk/debian/tifffile.1.in	2011-11-16 10:47:22 UTC (rev 8581)
@@ -0,0 +1,27 @@
+[NAME]
+tifffile \- Read image and meta-data from TIFF, STK, LSM, OME-TIFF, and FluoView files.
+
+[SYNOPSIS]
+.B tifffile
+.RI [ options ] " files" ...
+
+[DESCRIPTION]
+Only a subset of the TIFF specification is supported, mainly uncompressed and
+losslessly compressed 1-32 bit integer as well as 32 and 64-bit float
+images, which are commonly used in scientific imaging.
+
+TIFF, the Tagged Image File Format, is under the control of Adobe Systems.
+STK and LSM are TIFF with custom extensions used by MetaMorph respectively
+Carl Zeiss MicroImaging. Currently only primary info records are read for
+STK, FluoView, and NIH image formats.
+
+[AUTHOR]
+Christoph Gohlke <http://www.lfd.uci.edu/~gohlke
+Laboratory for Fluorescence Dynamics, University of California, Irvine
+
+This  manual  page was written by Mathieu Malaterre <mathieu.malaterre at gmail.com> for
+the Debian GNU/Linux system, but may be used by others.
+
+[SEE ALSO]
+.BR tiffdump (1),
+.BR tiffinfo (1).




More information about the debian-med-commit mailing list