[DRE-commits] [ruby-mp3tag] 04/04: changed copyright to format 1.0 changed package to gem2deb

Jonas Genannt jonas at brachium-system.net
Thu Jan 16 16:59:44 UTC 2014


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

hggh-guest pushed a commit to branch master
in repository ruby-mp3tag.

commit e03d291fd3374a702f19f01d02108156d84e014e
Author: Jonas Genannt <jonas at brachium-system.net>
Date:   Thu Jan 16 17:59:39 2014 +0100

    changed copyright to format 1.0 changed package to gem2deb
---
 debian/control   |  2 ++
 debian/copyright | 29 +++++++++++++++--------------
 debian/rules     | 25 ++++++++++++++++++++++---
 3 files changed, 39 insertions(+), 17 deletions(-)

diff --git a/debian/control b/debian/control
index fbac184..15c5f90 100644
--- a/debian/control
+++ b/debian/control
@@ -8,8 +8,10 @@ Homepage: http://users.cybercity.dk/~dsl8950/ruby/mp3tag.html
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-mp3tag.git
 Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-mp3tag.git;a=summary
 Standards-Version: 3.9.5
+XS-Ruby-Versions: all
 
 Package: ruby-mp3tag
+XB-Ruby-Versions: ${ruby:Versions}
 Architecture: all
 Depends: ${misc:Depends}, ruby | ruby-interpreter
 Description: Ruby library for manipulating ID3V1.1 tags in MP3
diff --git a/debian/copyright b/debian/copyright
index 9ac0a33..95af83e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,21 +1,22 @@
-Format-Specification:
-    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=454
-Upstream-Maintainer: Lars Christensen <dsl8950 at vip.cybercity.dk>
-Upstream-Source: http://users.cybercity.dk/~dsl8950/ruby/mp3tag.html
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: Lars Christensen <dsl8950 at vip.cybercity.dk>
+Source: http://users.cybercity.dk/~dsl8950/ruby/mp3tag.html
 Upstream-Name: mp3tag
 
 Files: *
-Copyright: Copyright (C) 2001 by Lars Christensen.
+Copyright: 2001 by Lars Christensen.
 License: GPL-2+
-    This package 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.
-    On Debian systems, the complete text of the GNU General
-    Public License can be found in `/usr/share/common-licenses/GPL'.
+ This package 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.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
 
 Files: debian/*
-Copyright: Copyright (C) 2003-2009 Taku YASUI <tach at debian.org>
+Copyright: 2003-2009 Taku YASUI <tach at debian.org>
+                2014 Jonas Genannt <jonas.genannt at capi2name.de>
 License: GPL-2+
-    On Debian systems, the complete text of the GNU General
-    Public License can be found in `/usr/share/common-licenses/GPL'.
+ On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/rules b/debian/rules
index 03ee989..bece636 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,25 @@
 #!/usr/bin/make -f
+#export DH_VERBOSE=1
+#
+# Uncomment to ignore all test failures (but the tests will run anyway)
+#export DH_RUBY_IGNORE_TESTS=all
+#
+# Uncomment to ignore some test failures (but the tests will run anyway).
+# Valid values:
+#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
+#
+# If you need to specify the .gemspec (eg there is more than one)
+export DH_RUBY_GEMSPEC=debian/mp3tab.gemspec
 
-include /usr/share/cdbs/1/rules/debhelper.mk
+%:
+	dh $@ --buildsystem=ruby --with ruby
 
-install/ruby-mp3tag::
-	install -D -m 0644 mp3tag.rb debian/$(cdbs_curpkg)/`ruby$$v -rrbconfig -e 'puts Config::CONFIG["vendordir"]'`/mp3tag.rb
+# move file into correct path to use gemspec file
+override_dh_auto_configure:
+	dh_auto_configure -O--buildsystem=ruby
+	mkdir lib
+	cp mp3tag.rb lib/
+
+override_dh_auto_clean:
+	dh_auto_clean -O--buildsystem=ruby
+	rm -rf lib

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



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