summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorBenjamin Drung <bdrung@ubuntu.com>2010-03-10 18:02:46 +0100
committerBenjamin Drung <bdrung@ubuntu.com>2010-03-10 18:02:46 +0100
commitf6bf73ca4b9a69f918749be99edd35a98f93f912 (patch)
treec0b480c87e2fa7cef7c009ac7e73b6bcc6aff428 /man
parent94ff24b5400b40cc179511a7be162b2d3b023cad (diff)
* add new xpi-repack script
- add man/xpi-repack.1 - add src/xpi-repack - update src/Makefile
Diffstat (limited to 'man')
-rw-r--r--man/xpi-repack.153
1 files changed, 53 insertions, 0 deletions
diff --git a/man/xpi-repack.1 b/man/xpi-repack.1
new file mode 100644
index 0000000..657b3f7
--- /dev/null
+++ b/man/xpi-repack.1
@@ -0,0 +1,53 @@
+.\"Copyright (c) 2010 Benjamin Drung <bdrung@ubuntu.com>
+.\"
+.\"Permission is hereby granted, free of charge, to any person obtaining a copy
+.\"of this software and associated documentation files (the "Software"), to deal
+.\"in the Software without restriction, including without limitation the rights
+.\"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+.\"copies of the Software, and to permit persons to whom the Software is
+.\"furnished to do so, subject to the following conditions:
+.\"
+.\"The above copyright notice and this permission notice shall be included in
+.\"all copies or substantial portions of the Software.
+.\"
+.\"THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+.\"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+.\"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+.\"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+.\"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+.\"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+.\"THE SOFTWARE.
+.TH XPI-REPACK "1" "March 2010" "xpi-repack" "mozilla-devscripts suite"
+.SH NAME
+xpi-repack \- repack a xpi file into a tarball
+.SH SYNOPSIS
+.B xpi-repack
+[\fIoptions\fP]
+\fIxpi-file\fR
+.SH DESCRIPTION
+.B xpi-repack
+is a helper tool for packaging XUL extensions. It repacks the given xpi file
+into a proper tarball that can be used as source tarball for the Debian package.
+It is designed to work with uscan. Here is an example for debian/watch:
+
+version=3
+.br
+ftp://ftp.mozilla.org/pub/mozilla.org/addons/<id>/<package>-([\\d\\.]+)\-.*\\.xpi debian xpi-repack
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Display a brief help message.
+.TP
+\fB\-p\fR \fIpackage\fP, \fB\-\-package\fR=\fIpackage\fP
+The \fIpackage\fP name will be used for naming the resulting tarball. If this
+parameter is not provided, the source package name in debian/control will be
+used.
+.TP
+\fB\-u\fR \fIversion\fP, \fB\-\-upstream\-version\fR=\fIversion\fP
+The \fIversion\fP will be used for naming the resulting tarball. You have to
+specify this parameter.
+.TP
+\fB\-v\fR, \fB\-\-verbose\fR
+Print more information.
+.SH AUTHOR
+Benjamin Drung <bdrung@gmail.com>