[DRE-commits] [ruby-mina] 02/04: Initial Debian packaging

Aggelos Avgerinos avgerinos-guest at moszumanska.debian.org
Wed Jan 14 11:50:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

avgerinos-guest pushed a commit to branch master
in repository ruby-mina.

commit 1ef39db08c43b49ac0cb198066f4804713d06209
Author: Aggelos Avgerinos <avgerinos at skroutz.gr>
Date:   Wed Jan 14 10:27:09 2015 +0200

    Initial Debian packaging
---
 debian/changelog        |  5 +++++
 debian/compat           |  1 +
 debian/control          | 22 ++++++++++++++++++++++
 debian/copyright        | 31 +++++++++++++++++++++++++++++++
 debian/mina.docs        |  1 +
 debian/mina.examples    |  1 +
 debian/ruby-tests.rake  |  7 +++++++
 debian/rules            | 16 ++++++++++++++++
 debian/source/format    |  1 +
 debian/tests/control.ex | 13 +++++++++++++
 debian/watch            |  2 ++
 11 files changed, 100 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d8f6997
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-mina (0.3.1-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #771060)
+
+ -- Aggelos Avgerinos <evaggelos.avgerinos at gmail.com>  Wed, 26 Nov 2014 14:28:24 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2410d17
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: ruby-mina
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders:  Aggelos Avgerinos <evaggelos.avgerinos at gmail.com>
+Build-Depends: debhelper (>= 9~), gem2deb, ruby-rspec, rake, ruby-open4 (>= 1.3.4)
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-mina.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-mina.git;a=summary
+Homepage: http://mina-deploy.github.io/mina/
+Testsuite: autopkgtest
+XS-Ruby-Versions: all
+
+Package: mina
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Description: deployer and server automation tool
+ Mina is a fast deploy Bash script generator. It generates an entire
+ deployment procedure as a Bash script and runs it remotely on a server,
+ creating a single SSH session per deploy, minimizing the SSH connection
+ overhead. Its syntax is similar to Capistrano.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..47046b6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: mina
+Source: https://github.com/mina-deploy/mina
+
+Files: *
+Copyright: 2014 Nadarei, Inc.
+License: MIT
+
+Files: debian/*
+Copyright: 2014 Aggelos Avgerinos <evaggelos.avgerinos at gmail.com>
+License: MIT
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+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/mina.docs b/debian/mina.docs
new file mode 100644
index 0000000..ad1245d
--- /dev/null
+++ b/debian/mina.docs
@@ -0,0 +1 @@
+Readme.md
diff --git a/debian/mina.examples b/debian/mina.examples
new file mode 100644
index 0000000..60baa9c
--- /dev/null
+++ b/debian/mina.examples
@@ -0,0 +1 @@
+data/*
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..99987ae
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  spec.pattern = './spec/*_spec.rb'
+end
+
+task :default => :spec
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c53dafe
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#
+# Uncomment to ignore all test failures (but the tests will run anyway)
+# Disabling because tests depend on rspec >= 3.0.0 and it's not yet packaged
+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=ruby2.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
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/tests/control.ex b/debian/tests/control.ex
new file mode 100644
index 0000000..429a392
--- /dev/null
+++ b/debian/tests/control.ex
@@ -0,0 +1,13 @@
+# AUTOGENERATED FILE
+#
+# As of autopkgtest 3.5, Ruby packages that use gem2deb are automatically
+# detected, and if debian/tests/control does not exist the contents below will
+# be assumed (with the exception of gem2deb being filtered out from
+# @builddeps@):
+
+Test-Command: gem2deb-test-runner --autopkgtest 2>&1
+Depends: @, @builddeps@, gem2deb-test-runner
+
+# if you would need to change something to the above, to that and rename this
+# file to `control`. Otherwise, you should probably delete this file
+# (recommended).
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..56d6243
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/mina .*/mina-(.*).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-mina.git



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