[DRE-commits] [ruby-pcaprub] 01/14: Initial Debianization using gem2deb 0.4.1

Jérémy Bobbio lunar at alioth.debian.org
Sat Aug 24 17:04:46 UTC 2013


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

lunar pushed a commit to branch master
in repository ruby-pcaprub.

commit d16d3fc97d1e458b0431c2c9259b2814f1fc51a3
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Sat Aug 24 18:23:21 2013 +0200

    Initial Debianization using gem2deb 0.4.1
---
 debian/changelog             |    5 +++++
 debian/compat                |    1 +
 debian/control               |   18 ++++++++++++++++++
 debian/copyright             |   35 +++++++++++++++++++++++++++++++++++
 debian/ruby-pcaprub.docs     |    2 ++
 debian/ruby-pcaprub.examples |    3 +++
 debian/ruby-tests.rb         |   13 +++++++++++++
 debian/rules                 |   15 +++++++++++++++
 debian/source/format         |    1 +
 debian/watch                 |    2 ++
 10 files changed, 95 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e9a4ac1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-pcaprub (0.11.3-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #nnnn)
+
+ -- Jérémy Bobbio <lunar at debian.org>  Sat, 24 Aug 2013 18:19:25 +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..6114e73
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: ruby-pcaprub
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Jérémy Bobbio <lunar at debian.org>
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.4.1~)
+Standards-Version: 3.9.4
+#Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-pcaprub.git
+#Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-pcaprub.git;a=summary
+Homepage: http://github.com/shadowbq/pcaprub
+XS-Ruby-Versions: all
+
+Package: ruby-pcaprub
+Architecture: any
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Description: libpcap bindings for ruby
+ libpcap bindings for ruby compat with JRUBY Ruby1.8 Ruby1.9
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c4b9ebb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pcaprub
+Source: FIXME <http://example.com/>
+
+Files: *
+Copyright: <years> <put author's name and email here>
+           <years> <likewise for another author>
+License: GPL-2+ (FIXME)
+
+Files: debian/*
+Copyright: 2013 Jérémy Bobbio <lunar at debian.org>
+License: GPL-2+ (FIXME)
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+License: GPL-2+ (FIXME)
+ This program 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 program 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 package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/ruby-pcaprub.docs b/debian/ruby-pcaprub.docs
new file mode 100644
index 0000000..0d5eab8
--- /dev/null
+++ b/debian/ruby-pcaprub.docs
@@ -0,0 +1,2 @@
+# FIXME: READMEs found
+# README.rdoc
diff --git a/debian/ruby-pcaprub.examples b/debian/ruby-pcaprub.examples
new file mode 100644
index 0000000..d970cc8
--- /dev/null
+++ b/debian/ruby-pcaprub.examples
@@ -0,0 +1,3 @@
+# FIXME: examples/ dir found in source. Consider installing the examples.
+# Examples:
+# examples/*
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..eac5ce6
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,13 @@
+# FIXME
+# there's a spec/ or a test/ directory in the upstream source, but
+# no test suite was defined in the Gem specification. It would be
+# a good idea to define it here so the package gets tested at build time.
+# Examples:
+# $: << 'lib' << '.'
+# Dir['{spec,test}/**/*.rb'].each { |f| require f }
+#
+# require 'test/ts_foo.rb'
+#
+# require 'rbconfig'
+# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
+# exec("#{ruby} -I. test/runtests.rb")
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a5e7dc8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/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
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/watch b/debian/watch
new file mode 100644
index 0000000..ea4b300
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/pcaprub .*/pcaprub-(.*).tar.gz

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



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