Source

vcprompt-mq / debian.diff

files for debian package

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+vcprompt (0.0.0.20110322hg95cd6b390fdb-1) unstable; urgency=low
+
+  * Initial release (Closes: #622087)
+
+ -- Yuya Nishihara <yuya@tcha.org>  Sun, 10 Apr 2011 14:50:12 +0900
diff --git a/debian/compat b/debian/compat
new file mode 100644
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1,1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: vcprompt
+Section: vcs
+Priority: optional
+Maintainer: Yuya Nishihara <yuya@tcha.org>
+Build-Depends: cdbs, debhelper (>= 7)
+Standards-Version: 3.9.1
+Vcs-Hg: http://vc.gerg.ca/hg/vcprompt/
+Vcs-Browser: http://vc.gerg.ca/hg/vcprompt/
+
+Package: vcprompt
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: cvs, fossil, git, mercurial, subversion
+Description: prints a short string about VCS for shell prompt
+ vcprompt is a little C program that prints a short string, designed to
+ be included in your prompt, with barebones information about the current
+ working directory for various version control systems.  It is designed
+ to be small and lightweight rather than comprehensive.
+ .
+ Supported VCS:
+ .
+  * CVS
+  * Fossil
+  * Git
+  * Mercurial
+  * Subversion
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,43 @@
+This work was packaged for Debian by:
+
+    Yuya Nishihara <yuya@tcha.org> on Sun, 17 Jan 2010 15:55:14 +0900
+
+It was downloaded from:
+
+    http://vc.gerg.ca/hg/vcprompt/
+
+Upstream Author(s):
+
+    Greg Ward <greg@gerg.ca>
+    and contributors
+
+Copyright:
+
+    Copyright (C) 2009, 2010, Gregory P. Ward and contributors.
+
+License:
+
+    This package 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 package 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, see <http://www.gnu.org/licenses/>
+
+On Debian systems, the complete text of the GNU General
+Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+The Debian packaging is:
+
+    Copyright (C) 2010 Yuya Nishihara <yuya@tcha.org>
+
+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.
diff --git a/debian/docs b/debian/docs
new file mode 100644
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,1 @@
+README.txt
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1,1 @@
+debian/vcprompt.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+
+DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/vcprompt PREFIX=/usr
+DEB_MAKE_CHECK_TARGET := check
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1,1 @@
+3.0 (quilt)
diff --git a/debian/vcprompt.1 b/debian/vcprompt.1
new file mode 100644
--- /dev/null
+++ b/debian/vcprompt.1
@@ -0,0 +1,73 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH VCPROMPT 1 "September 23, 2010"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+vcprompt \- prints a short string about VCS for shell prompt
+.SH SYNOPSIS
+.B vcprompt
+[-h] [-d] [-f FORMAT]
+.SH DESCRIPTION
+This manual page documents briefly the
+.B vcprompt
+commands.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+\fBvcprompt\fP is a little C program that prints a short string, designed to
+be included in your prompt, with barebones information about the current
+working directory for various version control systems.  It is designed
+to be small and lightweight rather than comprehensive.
+.SH OPTIONS
+.TP
+.B \-h
+show summary of options and formats
+.TP
+.B \-d
+enable debugging output
+.TP
+.B \-f
+specify output format
+.SH FORMATS
+.B %b
+show branch
+.br
+.B %r
+show revision
+.br
+.B %u
+show unknown
+.br
+.B %m
+show modified
+.br
+.B %n
+show VC name
+.br
+.B %%
+show '%'
+.SH ENVIRONMENT VARIABLES
+.TP
+.B VCPROMPT_FORMAT
+It specifies output format, overriden by
+.B \-f
+option.
+.SH AUTHOR
+Gregory P. Ward and contributors.
+.PP
+This manual page was written by Yuya Nishihara <yuya@tcha.org>,
+for the Debian project (and may be used by others).
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.