[DRE-commits] [chef-zero] 02/06: Packaging

Stefano Rivera stefano at rivera.za.net
Wed Jan 15 15:54:11 UTC 2014


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

stefanor pushed a commit to branch master
in repository chef-zero.

commit 53108e753613a800389116944a8c44fec38b2c50
Author: Stefano Rivera <stefanor at debian.org>
Date:   Thu Jan 9 17:46:48 2014 +0200

    Packaging
---
 debian/chef-zero.docs |  3 +--
 debian/control        | 32 ++++++++++++++++++++++++--------
 debian/copyright      | 42 +++++++++++++++++-------------------------
 debian/ruby-tests.rb  | 17 ++++-------------
 4 files changed, 46 insertions(+), 48 deletions(-)

diff --git a/debian/chef-zero.docs b/debian/chef-zero.docs
index 07b3c9e..b43bf86 100644
--- a/debian/chef-zero.docs
+++ b/debian/chef-zero.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.md
+README.md
diff --git a/debian/control b/debian/control
index f18ba2c..c899fd6 100644
--- a/debian/control
+++ b/debian/control
@@ -3,17 +3,33 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Stefano Rivera <stefanor at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.1~)
-Standards-Version: 3.9.4
-#Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/chef-zero.git
-#Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/chef-zero.git;a=summary
+Build-Depends:
+ debhelper (>= 8.1~),
+ gem2deb (>= 0.6.1~),
+ ruby-hashie (>= 2),
+ ruby-mixlib-log (>= 1.3),
+ ruby-rack,
+ ruby-rspec
+Standards-Version: 3.9.5
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/chef-zero.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/chef-zero.git;a=summary
 Homepage: http://www.opscode.com
 XS-Ruby-Versions: all
 
 Package: chef-zero
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-# mixlib-log (~> 1.3), hashie (~> 2.0), moneta (< 0.7.0), json (>= 0), rack (>= 0), rake (>= 0, development), rspec (>= 0, development)
-Description: Self-contained, easy-setup, fast-start in-memory Chef server for testing and solo setup purposes
- Self-contained, easy-setup, fast-start in-memory Chef server for testing and solo setup purposes
+Depends:
+ ruby | ruby-interpreter,
+ ruby-hashie (>= 2),
+ ruby-json,
+ ruby-mixlib-log (>= 1.3),
+ ruby-moneta (<< 0.7),
+ ruby-rack,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: in-memory Chef server (for testing and solo purposes)
+ Chef is a systems integration framework and configuration management library
+ written in Ruby.
+ Chef-zero is a self-contained, easy-setup, fast-start in-memory Chef server
+ for testing and solo setup purposes.
diff --git a/debian/copyright b/debian/copyright
index 587a2c2..8d37734 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,27 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: chef-zero
-Source: FIXME <http://example.com/>
+Source: https://github.com/opscode/chef-zero
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2012-2014, Opscode, Inc.
+License: Apache-2.0
 
 Files: debian/*
-Copyright: 2014 Stefano Rivera <stefanor at debian.org>
-License: GPL-2+ (FIXME)
-Comment: the Debian packaging is licensed under the same terms as the original package.
+Copyright: 2014, Stefano Rivera <stefanor at debian.org>
+License: Apache-2.0
 
-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: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
  .
- 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.
+    http://www.apache.org/licenses/LICENSE-2.0
  .
- 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
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied. See the License for the specific language governing
+ permissions and limitations under the License.
  .
- 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'.
+ On Debian systems, the full text of the Apache licence can be found
+ in /usr/share/common-licenses/Apache-2.0
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..ee0124a 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,13 +1,4 @@
-# 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")
+require 'rbconfig'
+ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
+ENV['SKIP_PEDANT'] = '1'
+exec("#{ruby} -I. spec/run.rb")

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



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