[DRE-commits] r1864 - in packages/mahoro/trunk: . debian

lucas at alioth.debian.org lucas at alioth.debian.org
Tue Aug 28 21:22:33 UTC 2007


Author: lucas
Date: 2007-08-28 21:22:33 +0000 (Tue, 28 Aug 2007)
New Revision: 1864

Added:
   packages/mahoro/trunk/debian/
   packages/mahoro/trunk/debian/changelog
   packages/mahoro/trunk/debian/compat
   packages/mahoro/trunk/debian/control
   packages/mahoro/trunk/debian/copyright
   packages/mahoro/trunk/debian/rules
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: packages/mahoro/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/mahoro/trunk/debian/changelog
===================================================================
--- packages/mahoro/trunk/debian/changelog	                        (rev 0)
+++ packages/mahoro/trunk/debian/changelog	2007-08-28 21:22:33 UTC (rev 1864)
@@ -0,0 +1,6 @@
+mahoro (0.1-1) unstable; urgency=low
+
+  * Initial release (closes: #391839).
+
+ -- Romain Francoise <rfrancoise at debian.org>  Mon,  9 Oct 2006 07:44:13 +0200
+

Added: packages/mahoro/trunk/debian/compat
===================================================================
--- packages/mahoro/trunk/debian/compat	                        (rev 0)
+++ packages/mahoro/trunk/debian/compat	2007-08-28 21:22:33 UTC (rev 1864)
@@ -0,0 +1 @@
+5

Added: packages/mahoro/trunk/debian/control
===================================================================
--- packages/mahoro/trunk/debian/control	                        (rev 0)
+++ packages/mahoro/trunk/debian/control	2007-08-28 21:22:33 UTC (rev 1864)
@@ -0,0 +1,27 @@
+Source: mahoro
+Section: interpreters
+Priority: optional
+Maintainer: Romain Francoise <rfrancoise at debian.org>
+Build-Depends: debhelper (>> 5.0.0), ruby, ruby1.8-dev, libmagic-dev
+Standards-Version: 3.7.2
+
+Package: mahoro-ruby
+Architecture: all
+Depends: mahoro-ruby1.8
+Description: File type determination library for Ruby
+ This package provides a Ruby interface to the C libmagic library.
+ With it, you can determine the type of a file by examining its contents
+ rather than its name.
+ .
+ This is a dummy package to install the Mahoro library bindings for
+ the default version of Ruby.
+
+Package: mahoro-ruby1.8
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: File type determination library for Ruby 1.8
+ This package provides a Ruby interface to the C libmagic library.
+ With it, you can determine the type of a file by examining its contents
+ rather than its name.
+ .
+ This package contains the Mahoro library bindings for Ruby 1.8.

Added: packages/mahoro/trunk/debian/copyright
===================================================================
--- packages/mahoro/trunk/debian/copyright	                        (rev 0)
+++ packages/mahoro/trunk/debian/copyright	2007-08-28 21:22:33 UTC (rev 1864)
@@ -0,0 +1,15 @@
+This package was debianized by Romain Francoise <rfrancoise at debian.org>
+on Sun, 08 Oct 2006 21:35:45 +0200.
+
+The upstream tarball was created from a bz2-compressed tarball downloaded
+from:
+
+ http://rubyforge.org/projects/mahoro/
+
+Upstream author:
+
+ Shu-yu Guo <arc at uchicago.edu>
+
+Copyright:
+
+ Mahoro is under the Public Domain.

Added: packages/mahoro/trunk/debian/rules
===================================================================
--- packages/mahoro/trunk/debian/rules	                        (rev 0)
+++ packages/mahoro/trunk/debian/rules	2007-08-28 21:22:33 UTC (rev 1864)
@@ -0,0 +1,52 @@
+#!/usr/bin/make -f
+
+RUBY = ruby1.8
+DESTDIR = $(CURDIR)/debian/mahoro-$(RUBY)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Generate Makefile, then build.
+	$(RUBY) extconf.rb --with-magic-include=/usr/include \
+		--with-magic-lib=/usr
+	$(MAKE)
+
+	# Run the test suite, just to be sure.
+	$(RUBY) test.rb
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	-$(MAKE) distclean
+	rm -f build-stamp
+	dh_clean
+
+install:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) install sitedir=$(DESTDIR)/usr/lib/ruby
+
+binary-indep: install
+
+binary-arch: install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installchangelogs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: packages/mahoro/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




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