[Pkg-libvirt-commits] [SCM] libvirt ruby bindinds packaging branch, master, updated. debian/0.4.0-1
Guido Günther
agx at sigxcpu.org
Tue Feb 7 21:11:44 UTC 2012
The following commit has been merged in the master branch:
commit 6c228a1c3971ca8e67f2641581c3ddad6065f531
Author: Laurent Bigonville <bigon at bigon.be>
Date: Tue Feb 7 17:45:01 2012 +0100
Switch to new ruby policy
diff --git a/debian/control b/debian/control
index 5073ed1..c1bdd3a 100644
--- a/debian/control
+++ b/debian/control
@@ -1,18 +1,22 @@
Source: ruby-libvirt
-Section: libs
-Priority: extra
+Section: ruby
+Priority: optional
Maintainer: Debian Libvirt Maintainers <pkg-libvirt-maintainers at lists.alioth.debian.org>
Uploaders: Guido Günther <agx at sigxcpu.org>
-Build-Depends: cdbs, debhelper (>= 7), ruby-pkg-tools, rake, ruby1.8-dev,
- rubygems, libvirt-dev, pkg-config
-Standards-Version: 3.8.0
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), libvirt-dev, pkg-config
+Standards-Version: 3.9.2
+Vcs-Git: git://anonscm.debian.org/git/pkg-libvirt/ruby-libvirt.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-libvirt/ruby-libvirt.git;a=summary
Homepage: http://libvirt.org/ruby/
-Vcs-Git: git://git.debian.org/git/pkg-libvirt/ovirt/ruby-libvirt.git
-Vcs-Browser: http://git.debian.org/git/pkg-libvirt/ovirt/ruby-libvirt.git
+XS-Ruby-Versions: all
-Package: libvirt-ruby
-Architecture: all
-Depends: libvirt-ruby1.8
+Package: ruby-libvirt
+Architecture: any
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Replaces: libvirt-ruby (<< 0.4.0-1~), libvirt-ruby1.8 (<< 0.4.0-1~)
+Breaks: libvirt-ruby (<< 0.4.0-1~), libvirt-ruby1.8 (<< 0.4.0-1~)
+Provides: libvirt-ruby, libvirt-ruby1.8
Description: Ruby bindings for libvirt
This library provides Ruby bindings for using libvirt.
.
@@ -20,19 +24,22 @@ Description: Ruby bindings for libvirt
of recent versions of Linux (and other OSes). The library aims at providing
a long term stable C API for different virtualization mechanisms. It currently
supports QEMU, KVM, and XEN.
- .
- This is a dependency package which depends on Debian's default Ruby version
- (currently 1.8).
+
+# Transitional packages
+Package: libvirt-ruby
+Section: oldlibs
+Priority: extra
+Architecture: all
+Depends: ${misc:Depends}, ruby-libvirt
+Description: Transitional package for ruby-libvirt
+ This is a transitional package to ease upgrades to the ruby-libvirt
+ package. It can safely be removed.
Package: libvirt-ruby1.8
-Architecture: any
-Depends: ${shlibs:Depends}
-Description: Ruby bindings for libvirt
- This library provides Ruby bindings for using libvirt.
- .
- Libvirt is a toolkit to interact with the virtualization capabilities
- of recent versions of Linux (and other OSes). The library aims at providing
- a long term stable C API for different virtualization mechanisms. It currently
- supports QEMU, KVM, and XEN.
- .
- This package is built for Ruby 1.8.
+Section: oldlibs
+Priority: extra
+Architecture: all
+Depends: ${misc:Depends}, ruby-libvirt
+Description: Transitional package for ruby-libvirt
+ This is a transitional package to ease upgrades to the ruby-libvirt
+ package. It can safely be removed.
diff --git a/debian/libvirt-ruby1.8.install b/debian/libvirt-ruby1.8.install
deleted file mode 100644
index 4c086d9..0000000
--- a/debian/libvirt-ruby1.8.install
+++ /dev/null
@@ -1,2 +0,0 @@
-ext/libvirt/_libvirt.so /usr/lib/ruby/1.8/
-lib/libvirt.rb /usr/lib/ruby/1.8/
diff --git a/debian/docs b/debian/ruby-libvirt.docs
similarity index 100%
rename from debian/docs
rename to debian/ruby-libvirt.docs
diff --git a/debian/rules b/debian/rules
index 5641150..5df7f46 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,20 +1,5 @@
#!/usr/bin/make -f
+#export DH_VERBOSE=1
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/ruby-pkg-tools/1/class/ruby-common.mk
-
-cdbs_pkgdir = $(CURDIR)/debian/tmp
-cdbs_ruby_libdir_ver = $(cdbs_pkgdir)$(DEB_RUBY_LIBDIR)
-cdbs_ruby_archdir_ver = $(cdbs_pkgdir)$(DEB_RUBY_ARCHDIR)
-DEB_RUBY_INSTALL_ARGS = DESTDIR=$(cdbs_pkgdir) \
- sitelibdir=$(cdbs_ruby_libdir_ver) \
- sitearchdir=$(cdbs_ruby_archdir_ver)
-
-DEB_RUBY_SETUP_ARGS = --with-cflags="$(CFLAGS)" --with-ldflags="$(LDFLAGS)"
-
-common-build-arch::
- rake build
-
-clean::
- rm -f ext/libvirt/_libvirt.o ext/libvirt/_libvirt.so \
- ext/libvirt/Makefile ext/libvirt/mkmf.log
+%:
+ dh $@ --buildsystem=ruby --with ruby
--
libvirt ruby bindinds packaging
More information about the Pkg-libvirt-commits
mailing list