[DRE-commits] r1870 - in packages/ruby-taglib/trunk: . debian debian/patches

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


Author: lucas
Date: 2007-08-28 21:39:28 +0000 (Tue, 28 Aug 2007)
New Revision: 1870

Added:
   packages/ruby-taglib/trunk/debian/
   packages/ruby-taglib/trunk/debian/changelog
   packages/ruby-taglib/trunk/debian/compat
   packages/ruby-taglib/trunk/debian/control
   packages/ruby-taglib/trunk/debian/copyright
   packages/ruby-taglib/trunk/debian/dirs
   packages/ruby-taglib/trunk/debian/install.rb
   packages/ruby-taglib/trunk/debian/patches/
   packages/ruby-taglib/trunk/debian/patches/00list
   packages/ruby-taglib/trunk/debian/patches/10_so-name.dpatch
   packages/ruby-taglib/trunk/debian/rules
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: packages/ruby-taglib/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/ruby-taglib/trunk/debian/changelog
===================================================================
--- packages/ruby-taglib/trunk/debian/changelog	                        (rev 0)
+++ packages/ruby-taglib/trunk/debian/changelog	2007-08-28 21:39:28 UTC (rev 1870)
@@ -0,0 +1,12 @@
+ruby-taglib (1.1-2) unstable; urgency=low
+
+  * debian/control: Add Depends on libtagc0 (closes: #395842).
+
+ -- Romain Francoise <rfrancoise at debian.org>  Sat, 28 Oct 2006 11:05:40 +0200
+
+ruby-taglib (1.1-1) unstable; urgency=low
+
+  * Initial release (closes: #391774).
+
+ -- Romain Francoise <rfrancoise at debian.org>  Sun,  8 Oct 2006 17:09:36 +0200
+

Added: packages/ruby-taglib/trunk/debian/compat
===================================================================
--- packages/ruby-taglib/trunk/debian/compat	                        (rev 0)
+++ packages/ruby-taglib/trunk/debian/compat	2007-08-28 21:39:28 UTC (rev 1870)
@@ -0,0 +1 @@
+5

Added: packages/ruby-taglib/trunk/debian/control
===================================================================
--- packages/ruby-taglib/trunk/debian/control	                        (rev 0)
+++ packages/ruby-taglib/trunk/debian/control	2007-08-28 21:39:28 UTC (rev 1870)
@@ -0,0 +1,26 @@
+Source: ruby-taglib
+Section: interpreters
+Priority: optional
+Maintainer: Romain Francoise <rfrancoise at debian.org>
+Build-Depends: debhelper (>> 5.0.0), dpatch
+Build-Depends-Indep: ruby, ruby1.8-dev
+Standards-Version: 3.7.2
+
+Package: libtagc0-ruby
+Architecture: all
+Depends: libtagc0-ruby1.8
+Description: TagLib Audio Meta-Data Library for Ruby
+ This is a dummy package to install the TagLib library bindings for
+ the default version of Ruby.
+
+Package: libtagc0-ruby1.8
+Architecture: all
+Depends: libruby1.8, libtagc0
+Description: TagLib Audio Meta-Data Library for Ruby 1.8
+ This is a Ruby interface to TagLib, the audio meta-data library.
+ .
+ It provides access to the abstract API of TagLib and allows Ruby
+ programs to read and write meta-data of all the audio formats
+ supported by TagLib.
+ .
+  Homepage: http://www.hakubi.us/ruby-taglib/

Added: packages/ruby-taglib/trunk/debian/copyright
===================================================================
--- packages/ruby-taglib/trunk/debian/copyright	                        (rev 0)
+++ packages/ruby-taglib/trunk/debian/copyright	2007-08-28 21:39:28 UTC (rev 1870)
@@ -0,0 +1,46 @@
+This package was debianized by Romain Francoise <rfrancoise at debian.org>
+on Sun, 08 Oct 2006 15:59:15 +0200.
+
+The upstream tarball was created from a bz2-compressed tarball downloaded
+from:
+
+ http://www.hakubi.us/ruby-taglib/ruby-taglib-1.1.tar.bz2
+
+Upstream author:
+
+ Neil Stevens <neil at hakubi.us>
+
+Copyright:
+
+ taglib.rb is distributed under a MIT-like license, reproduced in full
+ below:
+
+   Copyright (C) 2004 Neil Stevens <neil at hakubi.us>
+
+   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:
+
+   The above copyright notice and this permission notice shall be
+   included in all copies or substantial portions of the Software.
+
+   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 THE AUTHOR(S) 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.
+
+   Except as contained in this notice, the name(s) of the author(s) shall
+   not be used in advertising or otherwise to promote the sale, use or
+   other dealings in this Software without prior written authorization
+   from the author(s).
+
+ The upstream tarball also includes setup.rb by Minero Aoki, distributed
+ under the GNU LGPL. See the file /usr/share/common-licenses/LGPL for
+ more information.

Added: packages/ruby-taglib/trunk/debian/dirs
===================================================================
--- packages/ruby-taglib/trunk/debian/dirs	                        (rev 0)
+++ packages/ruby-taglib/trunk/debian/dirs	2007-08-28 21:39:28 UTC (rev 1870)
@@ -0,0 +1 @@
+usr/lib/ruby

Added: packages/ruby-taglib/trunk/debian/install.rb
===================================================================
--- packages/ruby-taglib/trunk/debian/install.rb	                        (rev 0)
+++ packages/ruby-taglib/trunk/debian/install.rb	2007-08-28 21:39:28 UTC (rev 1870)
@@ -0,0 +1,13 @@
+#!/usr/bin/ruby
+
+# This script was adapted from a similar script found in the
+# ruby-bsearch package, by Fumitoshi UKAI <ukai at debian.or.jp>.
+
+require 'mkmf'
+require 'ftools'
+
+destdir=File.join(ARGV[1], $libdir.sub('$(exec_prefix)', '/usr'), 'ruby', Config::CONFIG["ruby_version"])
+File::makedirs(destdir)
+File::install(ARGV[0], File.join(destdir, File.basename(ARGV[0])), 0644, true)
+
+

Added: packages/ruby-taglib/trunk/debian/patches/00list
===================================================================
--- packages/ruby-taglib/trunk/debian/patches/00list	                        (rev 0)
+++ packages/ruby-taglib/trunk/debian/patches/00list	2007-08-28 21:39:28 UTC (rev 1870)
@@ -0,0 +1 @@
+10_so-name

Added: packages/ruby-taglib/trunk/debian/patches/10_so-name.dpatch
===================================================================
--- packages/ruby-taglib/trunk/debian/patches/10_so-name.dpatch	                        (rev 0)
+++ packages/ruby-taglib/trunk/debian/patches/10_so-name.dpatch	2007-08-28 21:39:28 UTC (rev 1870)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_so-name.dpatch by Romain Francoise <rfrancoise at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix so name in taglib.rb.
+
+ at DPATCH@
+diff -urNad ruby-taglib-1.1~/lib/taglib.rb ruby-taglib-1.1/lib/taglib.rb
+--- ruby-taglib-1.1~/lib/taglib.rb	2006-05-09 16:39:37.000000000 +0200
++++ ruby-taglib-1.1/lib/taglib.rb	2006-10-08 16:18:10.000000000 +0200
+@@ -40,7 +40,7 @@
+ extend DL::Importable
+ 
+ begin
+-	dlload 'libtag_c.so'
++	dlload 'libtag_c.so.0'
+ rescue
+ 	begin
+ 		dlload 'libtag_c.dylib'


Property changes on: packages/ruby-taglib/trunk/debian/patches/10_so-name.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/ruby-taglib/trunk/debian/rules
===================================================================
--- packages/ruby-taglib/trunk/debian/rules	                        (rev 0)
+++ packages/ruby-taglib/trunk/debian/rules	2007-08-28 21:39:28 UTC (rev 1870)
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpatch/dpatch.make
+
+RUBY = ruby1.8
+DESTDIR = $(CURDIR)/debian/libtagc0-$(RUBY)
+
+build:
+	dh_testdir
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	dh_clean
+
+install: patch
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(RUBY) debian/install.rb lib/taglib.rb $(DESTDIR)
+
+binary-indep: install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installchangelogs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch: install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: packages/ruby-taglib/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




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