[DRE-commits] [vagrant-libvirt] 02/02: WIP

Miguel Landaeta nomadium at moszumanska.debian.org
Sat Aug 2 20:55:55 UTC 2014


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

nomadium pushed a commit to branch master
in repository vagrant-libvirt.

commit 9504651521607a45b544d7679fb0013dfa30607a
Author: Miguel Landaeta <nomadium at debian.org>
Date:   Sat Aug 2 17:55:14 2014 -0300

    WIP
---
 debian/changelog                 |  6 +++--
 debian/compat                    |  2 +-
 debian/control                   | 38 +++++++++++++++++++++++---------
 debian/copyright                 | 47 +++++++++++++++++++---------------------
 debian/ruby-test-files.yaml      |  4 ----
 debian/ruby-tests.rake           |  7 ++++++
 debian/ruby-vagrant-libvirt.docs |  2 --
 debian/rules                     | 16 ++++++++++++++
 debian/vagrant-libvirt.docs      |  1 +
 9 files changed, 79 insertions(+), 44 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9d6918b..17ea2c7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
-ruby-vagrant-libvirt (0.0.19-1) UNRELEASED; urgency=medium
+vagrant-libvirt (0.0.19-1) UNRELEASED; urgency=medium
 
-  * Initial release (Closes: #nnnn)
+  WARNING: This package is not ready to be uploaded.
+
+  * Initial release. (Closes: #753012)
 
  -- Miguel Landaeta <nomadium at debian.org>  Sat, 02 Aug 2014 11:56:18 -0300
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index c24d49f..a1bc954 100644
--- a/debian/control
+++ b/debian/control
@@ -1,19 +1,37 @@
-Source: ruby-vagrant-libvirt
+Source: vagrant-libvirt
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders:  <nomadium at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.6~)
+Uploaders: Miguel Landaeta <nomadium at debian.org>
+Build-Depends: debhelper (>= 9~), gem2deb (>= 0.7.6~), rake, ruby-rspec,
+ vagrant (>= 1.5~), ruby-fog (>= 1.15~), ruby-libvirt (>= 0.4~),
+ ruby-nokogiri (>= 1.5.9~), libxml2-dev, libxslt-dev, libvirt-dev
 Standards-Version: 3.9.5
-#Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-vagrant-libvirt.git
-#Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-vagrant-libvirt.git;a=summary
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/vagrant-libvirt.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/vagrant-libvirt.git;a=summary
 Homepage: https://github.com/pradels/vagrant-libvirt
 XS-Ruby-Versions: all
 
-Package: ruby-vagrant-libvirt
+Package: vagrant-libvirt
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-# rspec-core (~> 2.12.2, development), rspec-expectations (~> 2.12.1, development), rspec-mocks (~> 2.12.1, development), fog (~> 1.15), ruby-libvirt (~> 0.4.0), nokogiri (~> 1.5.9), rake (>= 0, development)
-Description: Vagrant provider for libvirt.
- Vagrant provider for libvirt.
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter,
+ vagrant (>= 1.5~), ruby-fog (>= 1.15~), ruby-libvirt (>= 0.4~),
+ ruby-nokogiri (>= 1.5.9~)
+Description: Vagrant plugin that adds an Libvirt provider to Vagrant
+ vagrant-libvirt allows Vagrant to control and provision machines via
+ Libvirt toolkit.
+ .
+ It has many relevant features:
+  * Control local Libvirt hypervisors.
+  * Upload box image (qcow2 format) to Libvirt storage pool.
+  * Create volume as COW diff image for domains.
+  * Create private networks.
+  * Create and boot Libvirt domains.
+  * SSH into domains.
+  * Setup hostname and network interfaces.
+  * Provision domains with any built-in Vagrant provisioner.
+  * Synced folder support via rsync, nfs or 9p.
+  * Snapshots via sahara.
+  * Package caching via vagrant-cachier.
+  * Use boxes from other Vagrant providers via vagrant-mutate.
diff --git a/debian/copyright b/debian/copyright
index e0c64f9..59f3538 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,32 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: vagrant-libvirt
-Source: FIXME <http://example.com/>
+Source: https://github.com/pradels/vagrant-libvirt
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2013 Lukas Stanek <les.pradels at gmail.com>
+License: Expat
 
 Files: debian/*
-Copyright: 2014  <nomadium at debian.org>
-License: GPL-2+ (FIXME)
+Copyright: 2014 Miguel Landaeta <nomadium at debian.org>
+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-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 95e21ef..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
----
-- spec/spec_helper.rb
-- spec/support/environment_helper.rb
-- spec/vagrant-libvirt/action/set_name_of_domain_spec.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..89a753d
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  spec.pattern      = './spec/**/*_spec.rb'
+end
+
+task :default => :spec
diff --git a/debian/ruby-vagrant-libvirt.docs b/debian/ruby-vagrant-libvirt.docs
deleted file mode 100644
index 07b3c9e..0000000
--- a/debian/ruby-vagrant-libvirt.docs
+++ /dev/null
@@ -1,2 +0,0 @@
-# FIXME: READMEs found
-# README.md
diff --git a/debian/rules b/debian/rules
index d81794d..a480dd1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,7 @@
 #!/usr/bin/make -f
+#
+include /usr/share/dpkg/default.mk
+#
 #export DH_VERBOSE=1
 #
 # Uncomment to ignore all test failures (but the tests will run anyway)
@@ -13,3 +16,16 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+gem = $(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM).gem
+gemspec = $(DEB_SOURCE).gemspec
+plugindir = debian/$(DEB_SOURCE)/usr/share/vagrant-plugins
+
+override_dh_auto_install:
+	gem build $(gemspec)
+	gem install -i $(plugindir) $(gem)
+	$(RM) $(plugindir)/cache/*
+	dh_auto_install
+
+override_dh_auto_clean:
+	$(RM) $(gem)
diff --git a/debian/vagrant-libvirt.docs b/debian/vagrant-libvirt.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/vagrant-libvirt.docs
@@ -0,0 +1 @@
+README.md

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



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