[DRE-commits] [tmuxinator] 02/02: Create Debian package
Youhei SASAKI
uwabami-guest at moszumanska.debian.org
Fri Oct 16 17:52:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
uwabami-guest pushed a commit to branch master
in repository tmuxinator.
commit e10f4ec5fea36552b7f35a4dbd59f2bfcb33cf6f
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date: Fri Oct 16 19:02:26 2015 +0900
Create Debian package
Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
debian/changelog | 5 +++
debian/compat | 1 +
debian/control | 34 ++++++++++++++
debian/copyright | 31 +++++++++++++
debian/mux.1 | 78 +++++++++++++++++++++++++++++++++
debian/patches/0001-DropSimpleCov.patch | 43 ++++++++++++++++++
debian/patches/0002-Drop-shebang.patch | 19 ++++++++
debian/patches/series | 2 +
debian/ruby-tests.rake | 5 +++
debian/rules | 14 ++++++
debian/source/format | 1 +
debian/tmuxinator.1 | 78 +++++++++++++++++++++++++++++++++
debian/tmuxinator.manpages | 2 +
debian/tmuxinator.rd | 39 +++++++++++++++++
debian/watch | 3 ++
15 files changed, 355 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b862a88
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+tmuxinator (0.6.11-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #801993)
+
+ -- Youhei SASAKI <uwabami at gfd-dennou.org> Fri, 16 Oct 2015 14:45:01 +0900
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..3829940
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: tmuxinator
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Youhei SASAKI <uwabami at gfd-dennou.org>
+Section: ruby
+Priority: optional
+Build-Depends: debhelper (>= 9),
+ gem2deb (>= 0.2.13~),
+ rake,
+ ruby-thor,
+ ruby-erubis,
+ ruby-rspec,
+ ruby-coveralls,
+ ruby-awesome-print,
+ pry,
+ ruby-factory-girl,
+ tmux
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/tmuxinator.git;a=summary
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/tmuxinator.git
+Homepage: http://github.com/mojombo/tmuxinator
+XS-Ruby-Versions: all
+
+Package: tmuxinator
+Architecture: all
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+ ruby | ruby-interpreter,
+ ruby-thor,
+ ruby-erubis,
+ tmux
+Enhances: tmux
+XB-Ruby-Versions: ${ruby:Versions}
+Description: Create and manage tmux sessions easily
+ Tmuxinator is management tool of tmux sessions.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..215f13c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: tmuxinator
+Source: https://github.com/tmuxinator/tmuxinator
+
+Files: *
+Copyright: 2010-2014 Allen Bargi
+ 2010-2014 Christopher Chow
+License: Expat
+
+Files: debian/*
+Copyright: 2015 Youhei SASAKI <uwabami at gfd-dennou.org>
+License: Expat
+
+License: Expat
+ 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.
\ No newline at end of file
diff --git a/debian/mux.1 b/debian/mux.1
new file mode 100644
index 0000000..ed08cdd
--- /dev/null
+++ b/debian/mux.1
@@ -0,0 +1,78 @@
+.\" DO NOT MODIFY THIS FILE! it was generated by rd2
+.TH TMUXINATOR 1 "October 2015"
+.SH NAME
+.PP
+tmuxinator \- manage complex tmux sessions easily
+.SH SYNOPSIS
+.nf
+\& tmuxinator [commands] [options]
+.fi
+.SH OPTIONS
+.TP
+.fi
+.B
+commands
+Lists commands available in tmuxinator
+.TP
+.fi
+.B
+completions [arg1 arg2]
+Used for shell completion
+.TP
+.fi
+.B
+copy [EXISTING] [NEW]
+Copy an existing project to a new project and ope...
+.TP
+.fi
+.B
+debug [PROJECT]
+Output the shell commands that are generated by t...
+.TP
+.fi
+.B
+delete [PROJECT]
+Deletes given project
+.TP
+.fi
+.B
+doctor
+Look for problems in your configuration
+.TP
+.fi
+.B
+help [COMMAND]
+Describe available commands or one specific command
+.TP
+.fi
+.B
+implode
+Deletes all tmuxinator projects
+.TP
+.fi
+.B
+list
+Lists all tmuxinator projects
+.TP
+.fi
+.B
+new [PROJECT]
+Create a new project file and open it in your editor
+.TP
+.fi
+.B
+start [PROJECT] [SESSION_NAME]
+Start a tmux session using a project's tmuxinator...
+.TP
+.fi
+.B
+version
+Display installed tmuxinator version
+.SH AUTHOR
+.PP
+Copyright (c) 2010\-2014 Allen Bargi, Christopher Chow.
+See /usr/share/doc/tmuxinator/copyright for further details.
+.PP
+This manual page was written by Youhei SASAKI <uwabami at gfd\-dennou.org>,
+for the Debian project (but may ber used others).
+
diff --git a/debian/patches/0001-DropSimpleCov.patch b/debian/patches/0001-DropSimpleCov.patch
new file mode 100644
index 0000000..730efa6
--- /dev/null
+++ b/debian/patches/0001-DropSimpleCov.patch
@@ -0,0 +1,43 @@
+From: Debian Ruby Extras Maintainers
+ <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Date: Fri, 16 Oct 2015 19:02:30 +0900
+Subject: Drop simplecov support
+
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ Gemfile | 1 -
+ spec/spec_helper.rb | 10 ----------
+ 2 files changed, 11 deletions(-)
+
+diff --git a/Gemfile b/Gemfile
+index 6700e4b..b71c4f2 100644
+--- a/Gemfile
++++ b/Gemfile
+@@ -5,7 +5,6 @@ gemspec
+
+ gem 'rake', '~> 10.4'
+ gem 'rspec', '~> 3.1'
+-gem 'simplecov', '~> 0.9'
+ gem 'coveralls', '~> 0.7'
+ gem 'awesome_print', '~> 1.2'
+ gem 'pry', '~> 0.10'
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index 57a6cdb..da73f8b 100644
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,15 +1,5 @@
+ require "coveralls"
+-require "simplecov"
+ require "pry"
+-
+-SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+- SimpleCov::Formatter::HTMLFormatter,
+- Coveralls::SimpleCov::Formatter
+-]
+-SimpleCov.start do
+- add_filter 'vendor/cache'
+-end
+-
+ require "tmuxinator"
+ require "factory_girl"
+
diff --git a/debian/patches/0002-Drop-shebang.patch b/debian/patches/0002-Drop-shebang.patch
new file mode 100644
index 0000000..ae9461a
--- /dev/null
+++ b/debian/patches/0002-Drop-shebang.patch
@@ -0,0 +1,19 @@
+From: Youhei SASAKI <uwabami at gfd-dennou.org>
+Date: Sat, 17 Oct 2015 02:46:06 +0900
+Subject: Drop shebang
+
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ completion/tmuxinator.bash | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/completion/tmuxinator.bash b/completion/tmuxinator.bash
+index 05ba7bb..fe2ead2 100755
+--- a/completion/tmuxinator.bash
++++ b/completion/tmuxinator.bash
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env bash
+-
+ _tmuxinator() {
+ COMPREPLY=()
+ local word
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3d57165
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-DropSimpleCov.patch
+0002-Drop-shebang.patch
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..1fb75fa
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/spectask'
+Gem2Deb::Rake::RSpecTask.new do |spec|
+ spec.pattern = './spec/**/*_spec.rb'
+end
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0a119ac
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_install:
+ dh_auto_install
+ install -D -m644 $(CURDIR)/completion/tmuxinator.zsh \
+ $(CURDIR)/debian/tmuxinator/usr/share/zsh/vendor_completions/_tmuxinator
+ install -D -m644 $(CURDIR)/completion/tmuxinator.bash \
+ $(CURDIR)/debian/tmuxinator/usr/share/bash-completion/completions/tmuxinator
+ install -D -m644 $(CURDIR)/completion/tmuxinator.fish \
+ $(CURDIR)/debian/tmuxinator/usr/share/fish/vendor_completions.d/tmuxinator.fish
+ install -D -m644 $(CURDIR)/completion/mux.fish \
+ $(CURDIR)/debian/tmuxinator/usr/share/fish/vendor_completions.d/mux.fish
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/tmuxinator.1 b/debian/tmuxinator.1
new file mode 100644
index 0000000..ed08cdd
--- /dev/null
+++ b/debian/tmuxinator.1
@@ -0,0 +1,78 @@
+.\" DO NOT MODIFY THIS FILE! it was generated by rd2
+.TH TMUXINATOR 1 "October 2015"
+.SH NAME
+.PP
+tmuxinator \- manage complex tmux sessions easily
+.SH SYNOPSIS
+.nf
+\& tmuxinator [commands] [options]
+.fi
+.SH OPTIONS
+.TP
+.fi
+.B
+commands
+Lists commands available in tmuxinator
+.TP
+.fi
+.B
+completions [arg1 arg2]
+Used for shell completion
+.TP
+.fi
+.B
+copy [EXISTING] [NEW]
+Copy an existing project to a new project and ope...
+.TP
+.fi
+.B
+debug [PROJECT]
+Output the shell commands that are generated by t...
+.TP
+.fi
+.B
+delete [PROJECT]
+Deletes given project
+.TP
+.fi
+.B
+doctor
+Look for problems in your configuration
+.TP
+.fi
+.B
+help [COMMAND]
+Describe available commands or one specific command
+.TP
+.fi
+.B
+implode
+Deletes all tmuxinator projects
+.TP
+.fi
+.B
+list
+Lists all tmuxinator projects
+.TP
+.fi
+.B
+new [PROJECT]
+Create a new project file and open it in your editor
+.TP
+.fi
+.B
+start [PROJECT] [SESSION_NAME]
+Start a tmux session using a project's tmuxinator...
+.TP
+.fi
+.B
+version
+Display installed tmuxinator version
+.SH AUTHOR
+.PP
+Copyright (c) 2010\-2014 Allen Bargi, Christopher Chow.
+See /usr/share/doc/tmuxinator/copyright for further details.
+.PP
+This manual page was written by Youhei SASAKI <uwabami at gfd\-dennou.org>,
+for the Debian project (but may ber used others).
+
diff --git a/debian/tmuxinator.manpages b/debian/tmuxinator.manpages
new file mode 100644
index 0000000..8f3101c
--- /dev/null
+++ b/debian/tmuxinator.manpages
@@ -0,0 +1,2 @@
+debian/tmuxinator.1
+debian/mux.1
diff --git a/debian/tmuxinator.rd b/debian/tmuxinator.rd
new file mode 100644
index 0000000..89d531a
--- /dev/null
+++ b/debian/tmuxinator.rd
@@ -0,0 +1,39 @@
+=begin
+= NAME
+tmuxinator - manage complex tmux sessions easily
+= SYNOPSIS
+ tmuxinator [commands] [options]
+= OPTIONS
+:commands
+ Lists commands available in tmuxinator
+:completions [arg1 arg2]
+ Used for shell completion
+:copy [EXISTING] [NEW]
+ Copy an existing project to a new project and ope...
+:debug [PROJECT]
+ Output the shell commands that are generated by t...
+:delete [PROJECT]
+ Deletes given project
+:doctor
+ Look for problems in your configuration
+:help [COMMAND]
+ Describe available commands or one specific command
+:implode
+ Deletes all tmuxinator projects
+:list
+ Lists all tmuxinator projects
+:new [PROJECT]
+ Create a new project file and open it in your editor
+:start [PROJECT] [SESSION_NAME]
+ Start a tmux session using a project's tmuxinator...
+:version
+ Display installed tmuxinator version
+
+= AUTHOR
+Copyright (c) 2010-2014 Allen Bargi, Christopher Chow.
+See /usr/share/doc/tmuxinator/copyright for further details.
+
+This manual page was written by Youhei SASAKI <uwabami at gfd-dennou.org>,
+for the Debian project (but may ber used others).
+
+=end
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..0cef1c0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/tmuxinator-$1\.tar\.gz/ \
+ https://github.com/tmuxinator/tmuxinator/tags .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/tmuxinator.git
More information about the Pkg-ruby-extras-commits
mailing list