changeset 533:92596e6224c1

Add Debian package info.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Sun, 18 Nov 2012 23:46:46 +0200
parents 11e5d1fd39e4
children 0c0f0162a0df
files printarg/Makefile printarg/debian/README.Debian printarg/debian/changelog printarg/debian/compat printarg/debian/control printarg/debian/copyright printarg/debian/rules printarg/debian/source/format
diffstat 8 files changed, 61 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/printarg/Makefile	Sun Nov 18 21:05:35 2012 +0200
+++ b/printarg/Makefile	Sun Nov 18 23:46:46 2012 +0200
@@ -155,6 +155,15 @@
 dist-cygwin: dist-src
 	cygport printarg.cygport prep compile test install package finish
 
+.PHONY: debian-bootstrap
+debian-bootstrap:
+	DEBFULLNAME="Oleksandr Gavenko" DEBEMAIL=gavenkoa@gmail.com \
+	dh_make --createorig --single --addmissing --copyright mit --yes -p printarg_1.0
+
+.PHONY: dist-debian
+dist-debian:
+	debuild -us -uc
+
 ################################################################
 # Clean targets.
 
@@ -163,6 +172,7 @@
 
 DIST_FILES := printarg.tar.gz
 DIST_CYGWIN_FILES := printarg-1.0-1-src.tar.bz2 printarg-1.0-1.tar.bz2
+DIST_DEBIAN_FILES := debian/ ../printarg_1.0.orig.tar.gz
 
 .PHONY: clean
 clean:
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/printarg/debian/README.Debian	Sun Nov 18 23:46:46 2012 +0200
@@ -0,0 +1,4 @@
+printarg for Debian
+-------------------
+
+ -- Oleksandr Gavenko <gavenkoa@gmail.com>, Sun, 18 Nov 2012 23:32:46 +0200
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/printarg/debian/changelog	Sun Nov 18 23:46:46 2012 +0200
@@ -0,0 +1,5 @@
+printarg (1.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Oleksandr Gavenko <gavenkoa@gmail.com>  Sun, 18 Nov 2012 21:10:05 +0200
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/printarg/debian/compat	Sun Nov 18 23:46:46 2012 +0200
@@ -0,0 +1,1 @@
+8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/printarg/debian/control	Sun Nov 18 23:46:46 2012 +0200
@@ -0,0 +1,17 @@
+Source: printarg
+Section: devel
+Priority: extra
+Maintainer: Oleksandr Gavenko <gavenkoa@gmail.com>
+Build-Depends: debhelper (>= 8.0.0)
+Standards-Version: 3.9.3
+Homepage: http://hg.code.sf.net/u/gavenkoa/utils
+Vcs-Hg: http://hg.code.sf.net/u/gavenkoa/utils
+Vcs-Browser: https://sourceforge.net/u/gavenkoa/utils/ci/tip/tree/
+
+Package: printarg
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Print passed arguments
+ Print passed arguments in form to simplify debugging.
+ .
+ It is possible to write to file.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/printarg/debian/copyright	Sun Nov 18 23:46:46 2012 +0200
@@ -0,0 +1,10 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: printarg
+Upstream-Contact: Oleksandr Gavenko <gavenkoa@gmail.com>
+Source: http://hg.code.sf.net/u/gavenkoa/utils
+
+Files: *
+Copyright: 2008 by Oleksandr Gavenko <gavenkoa@gmail.com>
+License: public-domain
+ This work in public domain.
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/printarg/debian/rules	Sun Nov 18 23:46:46 2012 +0200
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/printarg/debian/source/format	Sun Nov 18 23:46:46 2012 +0200
@@ -0,0 +1,1 @@
+3.0 (quilt)