[DRE-commits] [SCM] foreman.git branch, master, updated. upstream/0.63.0-1-g65644a2

Per Andersson avtobiff at gmail.com
Mon Jun 10 00:50:34 UTC 2013


The following commit has been merged in the master branch:
commit 65644a2c86aeba17336266e59229383e18b485cf
Author: Per Andersson <avtobiff at gmail.com>
Date:   Sun Jun 9 21:20:30 2013 +0200

    Initial Debianization

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..16205a0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+foreman (0.63.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #711811)
+
+ -- Per Andersson <avtobiff at gmail.com>  Sun, 09 Jun 2013 01:40:58 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f777f76
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,48 @@
+Source: foreman
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainer at lists.alioth.debian.org>
+Uploaders: Per Andersson <avtobiff at gmail.com>
+Build-Depends:
+ debhelper (>= 7.0.50~),
+ gem2deb (>= 0.3.0~),
+ bundler,
+ rake,
+ rdoc,
+ ruby-rspec
+Standards-Version: 3.9.4
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/foreman.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/foreman.git;a=summary
+Homepage: http://github.com/ddollar/foreman
+XS-Ruby-Versions: all
+
+Package: foreman
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ ruby | ruby-interpreter,
+ ruby-dotenv,
+ ruby-thor
+Suggests:
+ foreman-doc
+Description: manage Procfile-based applications
+ Foreman is a manager for Procfile-based applications. Its aim is to abstract
+ away the details of the Procfile format, and allow you to either run your
+ application directly or export it to some other process management format.
+
+Package: foreman-doc
+Architecture: all
+Section: doc
+Depends:
+ ${misc:Depends},
+ libjs-jquery
+Suggests:
+ foreman
+Description: manage Procfile-based applications (documentation)
+ Foreman is a manager for Procfile-based applications. Its aim is to abstract
+ away the details of the Procfile format, and allow you to either run your
+ application directly or export it to some other process management format.
+ .
+ This package contains examples and html documentation for foreman.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e92b59a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: foreman
+Source: http://github.com/ddollar/foreman
+
+Files: *
+Copyright: 2010-2013 David Dollar <david at dollar.io>
+License: MIT
+
+Files: debian/*
+Copyright: 2013 Per Andersson <avtobiff at gmail.com>
+License: MIT
+
+License: MIT
+ 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.
diff --git a/debian/foreman-doc.doc-base b/debian/foreman-doc.doc-base
new file mode 100644
index 0000000..4c24fb1
--- /dev/null
+++ b/debian/foreman-doc.doc-base
@@ -0,0 +1,12 @@
+Document: foreman-doc
+Title: Debian foreman manual
+Author: David Dollar
+Abstract: manage Procfile-based applications
+ Foreman is a manager for Procfile-based applications. Its aim is to abstract
+ away the details of the Procfile format, and allow you to either run your
+ application directly or export it to some other process management format.
+Section: Programming/Ruby
+
+Format: HTML
+Index: /usr/share/doc/foreman-doc/html/index.html
+Files: /usr/share/doc/foreman-doc/html/*
diff --git a/debian/foreman-doc.examples b/debian/foreman-doc.examples
new file mode 100644
index 0000000..60baa9c
--- /dev/null
+++ b/debian/foreman-doc.examples
@@ -0,0 +1 @@
+data/*
diff --git a/debian/foreman-doc.install b/debian/foreman-doc.install
new file mode 100644
index 0000000..0569289
--- /dev/null
+++ b/debian/foreman-doc.install
@@ -0,0 +1 @@
+doc/*   usr/share/doc/foreman-doc/html/
diff --git a/debian/foreman-doc.links b/debian/foreman-doc.links
new file mode 100644
index 0000000..031c70d
--- /dev/null
+++ b/debian/foreman-doc.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/foreman-doc/html/js/jquery.js
diff --git a/debian/foreman-runner.1 b/debian/foreman-runner.1
new file mode 100644
index 0000000..8565d9c
--- /dev/null
+++ b/debian/foreman-runner.1
@@ -0,0 +1,20 @@
+.TH "FOREMAN-RUNNER" "1" "June 2013" "Foreman 0.63.0" "Foreman Manual"
+.SH NAME
+foreman-runner \- Run a command with exec.
+.SH SYNOPSIS
+.B foreman-runner
+[\fIoptions\fR]... <command> [\fIargs\fR]...
+.P
+Run supplied command and args with exec, optionally changing directory first
+.SH DESCRIPTION
+.TP 10
+\fB\-d\fR dir
+Change directory to \fBdir\fR
+.TP 10
+\fB\-p\fR
+Read $HOME/.profile
+.SH COPYRIGHT
+Foreman is Copyright (C) 2010 David Dollar \fIhttp://daviddollar\.org\fR
+.P
+This manual is Copyright (C) 2013 by Per Andersson and released under the same
+license as foreman, the MIT License..
diff --git a/debian/foreman.manpages b/debian/foreman.manpages
new file mode 100644
index 0000000..38c0b24
--- /dev/null
+++ b/debian/foreman.manpages
@@ -0,0 +1,2 @@
+man/foreman.1
+debian/foreman-runner.1
diff --git a/debian/patches/0001-Remove-taskman-script.patch b/debian/patches/0001-Remove-taskman-script.patch
new file mode 100644
index 0000000..677d941
--- /dev/null
+++ b/debian/patches/0001-Remove-taskman-script.patch
@@ -0,0 +1,26 @@
+From: Per Andersson <avtobiff at gmail.com>
+Date: Mon, 10 Jun 2013 01:36:41 +0200
+Subject: Remove taskman script
+
+Unused leftovers from tmux support.
+
+See http://github.com/ddollar/foreman/issues/242
+---
+ bin/taskman |    8 --------
+ 1 file changed, 8 deletions(-)
+ delete mode 100755 bin/taskman
+
+diff --git a/bin/taskman b/bin/taskman
+deleted file mode 100755
+index ae33123..0000000
+--- a/bin/taskman
++++ /dev/null
+@@ -1,8 +0,0 @@
+-#!/usr/bin/env ruby
+-
+-$:.unshift File.expand_path("../../lib", __FILE__)
+-
+-require "foreman/cli"
+-
+-Foreman::CLI.engine_class = Foreman::TmuxEngine
+-Foreman::CLI.start
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..28f1908
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Remove-taskman-script.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d5df1ea
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,33 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#
+# Uncomment to ignore all test failures (but the tests will run anyway)
+#export DH_RUBY_IGNORE_TESTS=all
+#
+# Uncomment to ignore some test failures (but the tests will run anyway).
+# Valid values:
+#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
+#
+# If you need to specify the .gemspec (eg there is more than one)
+#export DH_RUBY_GEMSPEC=gem.gemspec
+
+%:
+	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf doc
+
+override_dh_auto_build:
+	dh_auto_build
+	# build documentation
+	rdoc --main=README.md lib
+
+override_dh_auto_install:
+	# use utf-8 locale so test cases work
+	LC_ALL=C.UTF-8 dh_auto_install
+	# remove bundled jquery.js
+	rm -f debian/foreman-doc/usr/share/doc/foreman-doc/html/js/jquery.js
+
+override_dh_installchangelogs:
+	dh_installchangelogs Changelog.md
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..4aceb10
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1 @@
+unapply-patches
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..39e8d95
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://githubredir.debian.net/github/ddollar/foreman/ v(.*)\.tar\.gz

-- 
foreman.git



More information about the Pkg-ruby-extras-commits mailing list