[DRE-commits] r5759 - trunk/libglobalhotkeys-ruby/debian

Vincent Carmona vinc-mai-guest at alioth.debian.org
Wed Aug 4 18:01:53 UTC 2010


Author: vinc-mai-guest
Date: 2010-08-04 18:01:40 +0000 (Wed, 04 Aug 2010)
New Revision: 5759

Added:
   trunk/libglobalhotkeys-ruby/debian/libglobalhotkeys-ruby.rdoc
Removed:
   trunk/libglobalhotkeys-ruby/debian/libglobalhotkeys-ruby.docs
Modified:
   trunk/libglobalhotkeys-ruby/debian/control
   trunk/libglobalhotkeys-ruby/debian/rules
Log:
Use cdbs. Provide libglobalhotkeys-ruby and libglobalhotkeys-ruby1.8 binary packages.

Modified: trunk/libglobalhotkeys-ruby/debian/control
===================================================================
--- trunk/libglobalhotkeys-ruby/debian/control	2010-08-04 12:49:54 UTC (rev 5758)
+++ trunk/libglobalhotkeys-ruby/debian/control	2010-08-04 18:01:40 UTC (rev 5759)
@@ -3,10 +3,22 @@
 Priority: optional
 Maintainer: Vincent Carmona <vinc4mai at gmail.com>
 Standards-Version: 3.9.1
-Build-Depends: debhelper (>= 7), ruby1.8, ruby1.8-dev, libgtk2.0-dev, libx11-dev, rdoc1.8
+Build-Depends: debhelper (>= 7), cdbs, ruby-pkg-tools, ruby1.8, ruby1.8-dev, libgtk2.0-dev, libx11-dev, rdoc1.8, graphviz
 Homepage: http://zik.rubyforge.org/rghk
 
 Package: libglobalhotkeys-ruby
+Architecture: all
+Depends: libglobalhotkeys-ruby1.8, ${misc:Depends}
+Recommends: libgtk2-ruby1.8
+Description: Ruby binding to define global hotkeys
+ This librairy aims to provide easy global hotkeys setting for ruby 
+ applications so users can interact with an application even if it does not
+ have the focus.
+ Documentations is provided in the rdoc format.
+ This is a dependency package which depends on Debian's default Ruby version
+ (currently 1.8.x).
+
+Package: libglobalhotkeys-ruby1.8
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: libgtk2-ruby1.8

Deleted: trunk/libglobalhotkeys-ruby/debian/libglobalhotkeys-ruby.docs
===================================================================
--- trunk/libglobalhotkeys-ruby/debian/libglobalhotkeys-ruby.docs	2010-08-04 12:49:54 UTC (rev 5758)
+++ trunk/libglobalhotkeys-ruby/debian/libglobalhotkeys-ruby.docs	2010-08-04 18:01:40 UTC (rev 5759)
@@ -1 +0,0 @@
-doc

Added: trunk/libglobalhotkeys-ruby/debian/libglobalhotkeys-ruby.rdoc
===================================================================
--- trunk/libglobalhotkeys-ruby/debian/libglobalhotkeys-ruby.rdoc	                        (rev 0)
+++ trunk/libglobalhotkeys-ruby/debian/libglobalhotkeys-ruby.rdoc	2010-08-04 18:01:40 UTC (rev 5759)
@@ -0,0 +1 @@
+globalhotkeys.c

Modified: trunk/libglobalhotkeys-ruby/debian/rules
===================================================================
--- trunk/libglobalhotkeys-ruby/debian/rules	2010-08-04 12:49:54 UTC (rev 5758)
+++ trunk/libglobalhotkeys-ruby/debian/rules	2010-08-04 18:01:40 UTC (rev 5759)
@@ -1,54 +1,8 @@
 #!/usr/bin/make -f
 
-package=libglobalhotkeys-ruby
-RUBY=ruby1.8
-RDOC=rdoc1.8
-INSTALL=install
-INSTALL_DATA=$(INSTALL) -m 644
-INSTALL_DIR=$(INSTALL) -m 755 -d
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-extconf-rb.mk
 
-clean:
-	dh_testdir
-	dh_testroot
-	
-	[ ! -f Makefile ] || make realclean
-	[ ! -d debian/doc ] || rm -rf doc
-	[ ! -f build ] || rm -f build
-	
-	dh_clean
+binary-install/libglobalhotkeys-ruby::
+	dh_rdoc -p$(cdbs_curpkg)
 
-build-doc:
-	$(RDOC) globalhotkeys.c
-
-build: build-doc
-	$(RUBY) extconf.rb
-	$(MAKE)
-	touch build
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/$(package) sitedir=$(CURDIR)/debian/$(package)/usr/lib/ruby
-
-binary-indep: install
-
-binary-arch: install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_installexamples
-	dh_compress
-	dh_fixperms
-	dh_shlibdeps
-	dh_strip
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-
-.PHONY: clean binary binary-indep binary-arch install




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