Packaging of ruby-opennebula-4.4.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 12 Mar 2014 20:37:11 +0000 (21:37 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 12 Mar 2014 20:37:11 +0000 (21:37 +0100)
ruby-opennebula-4.4/debian/changelog
ruby-opennebula-4.4/debian/control
ruby-opennebula-4.4/debian/copyright
ruby-opennebula-4.4/debian/patches/rubygems.patch [new file with mode: 0644]
ruby-opennebula-4.4/debian/patches/series [new file with mode: 0644]
ruby-opennebula-4.4/debian/ruby-opennebula.docs [deleted file]

index 38966ec..a55e89b 100644 (file)
@@ -1,5 +1,5 @@
-ruby-opennebula (4.4.0-1) UNRELEASED; urgency=medium
+ruby-opennebula-4.4 (4.4.0-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * Initial release
 
  -- František Dvořák <valtri@civ.zcu.cz>  Wed, 12 Mar 2014 18:30:49 +0100
index 8b93418..41fa8cc 100644 (file)
@@ -1,19 +1,29 @@
-Source: ruby-opennebula
+Source: ruby-opennebula-4.4
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
 Uploaders: František Dvořák <valtri@civ.zcu.cz>
 Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.1~)
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
 #Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-opennebula.git
 #Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-opennebula.git;a=summary
 Homepage: http://opennebula.org
 XS-Ruby-Versions: all
 
-Package: ruby-opennebula
+Package: ruby-opennebula-4.4
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-json, ruby-nokogiri
 # nokogiri (>= 0), json (>= 0)
-Description: OpenNebula Client API
- Libraries needed to talk to OpenNebula
+Provides: ruby-logstash-event
+Conflicts: ruby-logstash-event
+Description: OpenNebula Client API (OCA)
+ OpenNebula is an open source virtual infrastructure engine that enables the
+ dynamic deployment and re-placement of virtual machines on a pool of physical
+ resources.
+ .
+ ONE (OpenNebula) extends the benefits of virtualization platforms from a
+ single physical resource to a pool of resources, decoupling the server not
+ only from the physical infrastructure but also from the physical location.
+ .
+ This package provides the OpenNebula Cloud API (OCA) Ruby bindings.
index 1c1e1f6..968c354 100644 (file)
@@ -1,35 +1,33 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: opennebula
-Source: FIXME <http://example.com/>
+Upstream-Name: OpenNebula
+Upstream-Contact: OpenNebula Project Leads (OpenNebula.org)
+Source: http://dev.opennebula.org/projects/opennebula/repository
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2010-2013, C12G Labs S.L
+           2002-2013, OpenNebula Project (OpenNebula.org), C12G Labs
+License: Apache 2.0
 
 Files: debian/*
 Copyright: 2014 František Dvořák <valtri@civ.zcu.cz>
-License: GPL-2+ (FIXME)
+License: Apache 2.0
 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: Apache 2.0
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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 Software License version 2 can
+ be found in the file `/usr/share/common-licenses/Apache-2.0'.
diff --git a/ruby-opennebula-4.4/debian/patches/rubygems.patch b/ruby-opennebula-4.4/debian/patches/rubygems.patch
new file mode 100644 (file)
index 0000000..261faeb
--- /dev/null
@@ -0,0 +1,26 @@
+diff --git a/lib/opennebula.rb b/lib/opennebula.rb
+index 13e5b5b..12f46b8 100644
+--- a/lib/opennebula.rb
++++ b/lib/opennebula.rb
+@@ -15,8 +15,7 @@
+ #--------------------------------------------------------------------------- #
+-begin # require 'rubygems'
+-    require 'rubygems'
++begin
+ rescue Exception
+ end
+diff --git a/lib/opennebula/ldap_auth.rb b/lib/opennebula/ldap_auth.rb
+index b6d965f..2b4f759 100644
+--- a/lib/opennebula/ldap_auth.rb
++++ b/lib/opennebula/ldap_auth.rb
+@@ -14,7 +14,6 @@
+ # limitations under the License.                                               #
+ # ---------------------------------------------------------------------------- #
+-require 'rubygems'
+ require 'net/ldap'
+ module OpenNebula; end
diff --git a/ruby-opennebula-4.4/debian/patches/series b/ruby-opennebula-4.4/debian/patches/series
new file mode 100644 (file)
index 0000000..7c57a99
--- /dev/null
@@ -0,0 +1 @@
+rubygems.patch
diff --git a/ruby-opennebula-4.4/debian/ruby-opennebula.docs b/ruby-opennebula-4.4/debian/ruby-opennebula.docs
deleted file mode 100644 (file)
index d0ab95f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-# FIXME: READMEs found