[DRE-commits] [ruby-ffi-rzmq] 02/03: first Debian build based on gem2deb

Dmitry Borodaenko angdraug at alioth.debian.org
Mon Sep 2 21:23:25 UTC 2013


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

angdraug pushed a commit to branch master
in repository ruby-ffi-rzmq.

commit 04c6c00938d9d96fa91bdf05dbf21ee9a5b70edb
Author: Dmitry Borodaenko <angdraug at gmail.com>
Date:   Sun Sep 1 17:01:27 2013 -0700

    first Debian build based on gem2deb
---
 debian/changelog              |    2 +-
 debian/control                |   23 +++++++++++++--------
 debian/copyright              |   46 ++++++++++++++++++++---------------------
 debian/ruby-ffi-rzmq.docs     |    3 +--
 debian/ruby-ffi-rzmq.examples |    4 +---
 debian/ruby-test-files.yaml   |   21 -------------------
 debian/ruby-tests.rb          |    3 +++
 7 files changed, 42 insertions(+), 60 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5ed228f..00a7457 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
 ruby-ffi-rzmq (1.0.1-1) UNRELEASED; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #nnnn).
 
  -- Dmitry Borodaenko <angdraug at debian.org>  Sun, 01 Sep 2013 12:13:59 -0700
diff --git a/debian/control b/debian/control
index 05431cb..70c03d8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,20 +3,25 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Dmitry Borodaenko <angdraug at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.4.1~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.4.1~), ruby-ffi, libzmq3, ruby-rspec (>= 2.6~)
 Standards-Version: 3.9.4
 #Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-ffi-rzmq.git
 #Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-ffi-rzmq.git;a=summary
 Homepage: http://github.com/chuckremes/ffi-rzmq
-XS-Ruby-Versions: all
+XS-Ruby-Versions: ruby1.9.1
 
 Package: ruby-ffi-rzmq
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-# ffi (>= 0), rspec (~> 2.6, development), rake (>= 0, development)
-Description: This gem wraps the ZeroMQ (0mq) networking library using Ruby FFI (foreign function interface).
- This gem wraps the ZeroMQ networking library using the ruby FFI (foreign
- function interface). It's a pure ruby wrapper so this gem can be loaded
- and run by any ruby runtime that supports FFI. That's all of the major ones -
- MRI, Rubinius and JRuby.
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-ffi, libzmq3
+Description: FFI based Ruby bindings for ZeroMQ (ØMQ) networking library
+ ØMQ is a library which extends the standard socket interfaces with features
+ traditionally provided by specialised messaging middleware products.
+ .
+ ØMQ sockets provide an abstraction of asynchronous message queues, multiple
+ messaging patterns, message filtering (subscriptions), seamless access to
+ multiple transport protocols and more.
+ .
+ This module wraps ØMQ using Ruby FFI (foreign function interface). It is a
+ pure Ruby wrapper so it can be used with any Ruby runtime that supports FFI,
+ including MRI, Rubinius and JRuby.
diff --git a/debian/copyright b/debian/copyright
index c2a1b77..2ea93d0 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,33 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: ffi-rzmq
-Source: FIXME <http://example.com/>
+Source: http://zeromq.org/bindings:ruby-ffi
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2013 Chuck Remes
+License: Expat
 
 Files: debian/*
 Copyright: 2013 Dmitry Borodaenko <angdraug at debian.org>
-License: GPL-2+ (FIXME)
+License: Expat
 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.
+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:
  .
- 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.
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
  .
- 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'.
+ 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/ruby-ffi-rzmq.docs b/debian/ruby-ffi-rzmq.docs
index 0d5eab8..e475c53 100644
--- a/debian/ruby-ffi-rzmq.docs
+++ b/debian/ruby-ffi-rzmq.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.rdoc
+README.rdoc
diff --git a/debian/ruby-ffi-rzmq.examples b/debian/ruby-ffi-rzmq.examples
index d970cc8..e39721e 100644
--- a/debian/ruby-ffi-rzmq.examples
+++ b/debian/ruby-ffi-rzmq.examples
@@ -1,3 +1 @@
-# FIXME: examples/ dir found in source. Consider installing the examples.
-# Examples:
-# examples/*
+examples/*
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 1c46ba0..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
----
-- !binary |-
-  c3BlYy9jb250ZXh0X3NwZWMucmI=
-- !binary |-
-  c3BlYy9kZXZpY2Vfc3BlYy5yYg==
-- !binary |-
-  c3BlYy9tZXNzYWdlX3NwZWMucmI=
-- !binary |-
-  c3BlYy9tdWx0aXBhcnRfc3BlYy5yYg==
-- !binary |-
-  c3BlYy9ub25ibG9ja2luZ19yZWN2X3NwZWMucmI=
-- !binary |-
-  c3BlYy9wb2xsX3NwZWMucmI=
-- !binary |-
-  c3BlYy9wdXNocHVsbF9zcGVjLnJi
-- !binary |-
-  c3BlYy9yZXFyZXBfc3BlYy5yYg==
-- !binary |-
-  c3BlYy9zb2NrZXRfc3BlYy5yYg==
-- !binary |-
-  c3BlYy9zcGVjX2hlbHBlci5yYg==
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..e80680f
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,3 @@
+$: << 'spec'
+require 'rspec/autorun'
+Dir['spec/**/*_spec.rb'].each { |f| require f }

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



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