[DRE-commits] [SCM] ruby-romkan packaging branch, master, updated. debian/0.4-6-5-g9cb2ae6

TANIGUCHI Takaki takaki at asis.media-as.org
Tue May 17 02:04:46 UTC 2011


The following commit has been merged in the master branch:
commit d46dacc822f98fdcb907abedb135ef0d6833f057
Author: TANIGUCHI Takaki <takaki at asis.media-as.org>
Date:   Tue May 17 10:58:20 2011 +0900

    New Ruby policy.
      + Remove obsolete files debian/{dh_ruby, install.rb}.

diff --git a/debian/control b/debian/control
index 7451324..a8c5d73 100644
--- a/debian/control
+++ b/debian/control
@@ -4,20 +4,31 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: TANIGUCHI Takaki <takaki at debian.org>
 Build-Depends: debhelper (>> 7.0.0)
-Build-Depends-Indep: ruby1.8, ruby1.8-dev
 Standards-Version: 3.9.2
 
-Package: libromkan-ruby
+Package: ruby-romkan
 Architecture: all
-Depends: libromkan-ruby1.8
-Description: a Romaji <-> Kana conversion library for Ruby
- This is dependency package to libromkan-ruby1.8
-
-Package: libromkan-ruby1.8
-Architecture: all
-Depends: libruby1.8
-Description: a Romaji <-> Kana conversion library for Ruby
+Depends: ruby-interpreter | ruby, ${misc:Depends}
+Replaces: libromkan-ruby (<< 0.4-7~), libromkan-ruby1.8 (<< 0.4-7~) 
+Conflicts: libromkan-ruby (<< 0.4-7~), libromkan-ruby1.8 (<< 0.4-7~)
+Provides: libromkan-ruby, libromkan-ruby1.8
+Description: Romaji <-> Kana conversion library for Ruby
  Ruby/Romkan is a Romaji <-> Kana conversion library for Ruby. 
  It can convert a Japanese Romaji string to a Japanese Kana string 
  or vice versa.
  
+Package: libromkan-ruby
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-romkan
+Description: Transitional package for ruby-romkan
+ This is a transitional package to ease upgrades to the ruby-romkan
+ package. It can safely be removed.
+
+Package: libromkan-ruby1.8
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-romkan
+Description: Transitional package for ruby-romkan
+ This is a transitional package to ease upgrades to the ruby-romkan
+ package. It can safely be removed.
diff --git a/debian/dh_ruby b/debian/dh_ruby
deleted file mode 100644
index 890cb8d..0000000
--- a/debian/dh_ruby
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/ruby
-
-pkg=ARGV[0]
-pkgext=""
-if pkg != ""
-  pkgext= pkg + "."
-end
-substvars="debian/#{pkgext}substvars"
-require 'rbconfig'
-CONFIG = Config::MAKEFILE_CONFIG
-File.open(substvars, "a+") {|f|
- f.puts "ruby:Depends=ruby (>= #{CONFIG['MAJOR']}.#{CONFIG['MINOR']}), ruby (<< #{CONFIG['MAJOR']}.#{CONFIG['MINOR'].to_i+1})"
-}
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..44da26a
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+romkan.rb usr/lib/ruby/vendor_ruby
diff --git a/debian/install.rb b/debian/install.rb
deleted file mode 100644
index 1058a57..0000000
--- a/debian/install.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/ruby
-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], "#{destdir}/#{ARGV[0]}", 0644, true)
-
-

-- 
ruby-romkan packaging



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