[DRE-commits] r2777 - in packages/libgems-ruby/trunk/debian: . etc/bash_completion.d

daigo at alioth.debian.org daigo at alioth.debian.org
Sun Jun 8 12:44:07 UTC 2008


Author: daigo
Date: 2008-06-08 12:44:07 +0000 (Sun, 08 Jun 2008)
New Revision: 2777

Added:
   packages/libgems-ruby/trunk/debian/etc/bash_completion.d/gem.in
   packages/libgems-ruby/trunk/debian/gem.in
   packages/libgems-ruby/trunk/debian/rubygems1.8.README.Debian
   packages/libgems-ruby/trunk/debian/rubygems1.8.postinst
   packages/libgems-ruby/trunk/debian/rubygems1.8.postrm
   packages/libgems-ruby/trunk/debian/rubygems1.8.prerm
   packages/libgems-ruby/trunk/debian/rubygems1.9.postinst
   packages/libgems-ruby/trunk/debian/rubygems1.9.postrm
   packages/libgems-ruby/trunk/debian/rubygems1.9.prerm
Removed:
   packages/libgems-ruby/trunk/debian/etc/bash_completion.d/gem1.8
   packages/libgems-ruby/trunk/debian/gem1.8.1
   packages/libgems-ruby/trunk/debian/libgems-ruby1.8.dirs
   packages/libgems-ruby/trunk/debian/libgems-ruby1.8.docs
   packages/libgems-ruby/trunk/debian/libgems-ruby1.8.examples
   packages/libgems-ruby/trunk/debian/libgems-ruby1.8.install
   packages/libgems-ruby/trunk/debian/postinst
   packages/libgems-ruby/trunk/debian/postrm
   packages/libgems-ruby/trunk/debian/prerm
   packages/libgems-ruby/trunk/debian/rubygems.README.Debian
   packages/libgems-ruby/trunk/debian/rubygems.install
   packages/libgems-ruby/trunk/debian/rubygems.manpages
Modified:
   packages/libgems-ruby/trunk/debian/changelog
   packages/libgems-ruby/trunk/debian/control
   packages/libgems-ruby/trunk/debian/rules
Log:
The rubygems and libgems-ruby1.8 packages are now deprecated and merged
into a new rubygems1.8 package. In addition, this source also provides 
rubygems1.9. 

Modified: packages/libgems-ruby/trunk/debian/changelog
===================================================================
--- packages/libgems-ruby/trunk/debian/changelog	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/changelog	2008-06-08 12:44:07 UTC (rev 2777)
@@ -1,3 +1,11 @@
+libgems-ruby (1.1.1-2) unstable; urgency=low
+
+  * The rubygems and libgems-ruby1.8 packages are now deprecated and merged
+    into a new rubygems1.8 package. In addition, this source also provides 
+    rubygems1.9. 
+
+ -- Daigo Moriwaki <daigo at debian.org>  Sun, 08 Jun 2008 21:42:19 +0900
+
 libgems-ruby (1.1.1-1) unstable; urgency=low
 
   * New upstream release.

Modified: packages/libgems-ruby/trunk/debian/control
===================================================================
--- packages/libgems-ruby/trunk/debian/control	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/control	2008-06-08 12:44:07 UTC (rev 2777)
@@ -3,15 +3,17 @@
 Priority: optional
 Maintainer: Daigo Moriwaki <daigo at debian.org>
 Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Build-Depends-Indep: dpatch (>= 2.0.10), debhelper (>= 4.0.0), ruby1.8, rdoc1.8, ruby-pkg-tools
+Build-Depends: cdbs, dpatch (>= 2.0.10), debhelper (>= 4.0.0), ruby1.8, rdoc1.8, ruby1.9, rdoc1.9, ruby-pkg-tools
 Standards-Version: 3.7.3
 Homepage: http://rubygems.org/
 
-Package: libgems-ruby1.8
+Package: rubygems1.8
 Architecture: all
-Depends: libruby1.8, rdoc1.8, libopenssl-ruby1.8
-Recommends: rubygems
-Description: libraries to use RubyGems, a package management framework
+Depends: ruby1.8
+Suggests: ruby1.8-dev, build-essential
+Conflicts: libgems-ruby1.8, rubygems
+Replaces: libgems-ruby1.8, rubygems
+Description: package management framework for Ruby libraries/applications
  This is a way to package Ruby libraries/applications for distribution.
  RubyGems provides the ability to manage concurrent versions of libraries and
  dependencies between those libraries. Using RubyGems, you can:
@@ -19,14 +21,11 @@
    * not worry about libraries A and B depending on different versions of
      library C
    * easily remove libraries you no longer use
- .
- This package contains RubyGems' libraries. The commands are included in
- `rubygems' package.
 
-Package: rubygems
+Package: rubygems1.9
 Architecture: all
-Depends: ruby1.8, libgems-ruby1.8 (= ${source:Version}) 
-Suggests: ruby1.8-dev, build-essential
+Depends: ruby1.9
+Suggests: ruby1.9-dev, build-essential
 Description: package management framework for Ruby libraries/applications
  This is a way to package Ruby libraries/applications for distribution.
  RubyGems provides the ability to manage concurrent versions of libraries and
@@ -35,5 +34,10 @@
    * not worry about libraries A and B depending on different versions of
      library C
    * easily remove libraries you no longer use
- .
- This package contains RubyGems' commands like /usr/bin/gem.
+
+Package: rubygems-doc
+Section: doc
+Architecture: all
+Suggests: www-browse, ruby1.8 | ruby1.9
+Description: package management framework for Ruby libraries/applications
+ This includes documents of RubyGems.

Copied: packages/libgems-ruby/trunk/debian/etc/bash_completion.d/gem.in (from rev 2773, packages/libgems-ruby/trunk/debian/etc/bash_completion.d/gem1.8)
===================================================================
--- packages/libgems-ruby/trunk/debian/etc/bash_completion.d/gem.in	                        (rev 0)
+++ packages/libgems-ruby/trunk/debian/etc/bash_completion.d/gem.in	2008-06-08 12:44:07 UTC (rev 2777)
@@ -0,0 +1,297 @@
+# Michael Schuerig, michael at schuerig.de, 2007-02-24
+# [2007-12-21] Updated by Victor Serbin (chepel at hotmail.com) for gem@@VERSION@@ v1.0
+# Free for all uses.
+
+have gem@@VERSION@@ &&
+_gem@@DOTLESS_VERSION@@()
+{
+    local cur prev completions
+
+    COMPREPLY=()
+    cur=${COMP_WORDS[COMP_CWORD]}
+    prev=${COMP_WORDS[COMP_CWORD-1]}
+
+    COMMANDS='build cert check cleanup contents dependency\
+      environment fetch generate_index help install list\
+      lock mirror outdated pristine query rdoc search server\
+      sources specification uninstall unpack update which'
+
+    GEM_OPTIONS='\
+      -h --help\
+      -v --version'
+
+    COMMON_OPTIONS='\
+      -h --help\
+      -V --verbose --no-verbose\
+      -q --quiet\
+      --config-file\
+      --backtrace\
+      --debug'
+
+    CERT_OPTIONS='\
+      -a -add\
+      -l --list\
+      -r --remove\
+      -b --build\
+      -C --certificate\
+      -K --private-key\
+      -s --sign'
+
+    CHECK_OPTIONS='\
+      --verify\
+      -a --alien\
+      -t --test\
+      -v --version'
+
+    CLEANUP_OPTIONS='\
+      -d --dry-run'
+
+    CONTENTS_OPTIONS='\
+      -v --version\
+      -s --spec-dir\
+      -l --lib-only --no-lib-only'
+
+    DEPENDENCY_OPTIONS='\
+      -v --version\
+      --platform\
+      -R --reverse-dependencies --no-reverse-dependencies\
+      -p --pipe'
+
+    ENVIRONMENT_OPTIONS=''
+
+    FETCH_OPTIONS='\
+      -v --version\
+      --platform\
+      -B --bulk-threshold\
+      -p --http-proxy --no-http-proxy\
+      --source'
+
+    GENERATE_INDEX_OPTIONS='\
+      -d --directory'
+
+    HELP_OPTIONS=$COMMANDS
+
+    INSTALL_OPTIONS='\
+      --platform\
+      -v --version\
+      -i --install-dir\
+      -d --rdoc --no-rdoc\
+      --ri --no-ri\
+      -E --env-shebang\
+      -f --force --no-force\
+      -t --test --no-test\
+      -w --wrappers --no-wrappers\
+      -P --trust-policy\
+      --ignore-dependencies\
+      -y --include-dependencies\
+      --format-executable --no-format-executable\
+      -l --local\
+      -r --remote\
+      -b --both\
+      -B --bulk-threshold\
+      --source\
+      -p --http-proxy --no-http-proxy\
+      -u --update-sources --no-update-sources'
+
+    LIST_OPTIONS='\
+      -d --details --no-details\
+      --versions --no-versions\
+      -l --local\
+      -r --remote\
+      -b --both\
+      -B --bulk-threshold\
+      --source\
+      -p --http-proxy --no-http-proxy\
+      -u --update-sources --no-update-sources'
+
+    LOCK_OPTIONS='\
+      -s --strict --no-strict'
+
+    MIRROR_OPTIONS=''
+
+    OUTDATED_OPTIONS='\
+      --platform'
+
+    PRISTINE_OPTIONS='\
+      --all\
+      -v --version'
+
+    QUERY_OPTIONS='\
+      -n --name-matches\
+      -d --details --no-details\
+      --versions --no-versions\
+      -l --local\
+      -r --remote\
+      -b --both\
+      -B --bulk-threshold\
+      --source\
+      -p --http-proxy --no-http-proxy\
+      -u --update-sources --no-update-sources'
+
+    RDOC_OPTIONS='\
+      --all\
+      --rdoc --no-rdoc\
+      --ri --no-ri\
+      -v --version'
+
+    SEARCH_OPTIONS='\
+      -d --details --no-details\
+      --versions --no-versions\
+      -l --local\
+      -r --remote\
+      -b --both\
+      -B --bulk-threshold\
+      --source\
+      -p --http-proxy --no-http-proxy\
+      -u --update-sources --no-update-sources'
+
+    SERVER_OPTIONS='\
+      -p --port\
+      -d --dir\
+      --daemon --no-daemon'
+
+    SOURCES_OPTIONS='\
+      -a --add\
+      -l --list\
+      -r --remove\
+      -u --update\
+      -c --clear-all'
+
+    SPECIFICATION_OPTIONS='\
+      -v --version\
+      --platform\
+      --all\
+      -l --local\
+      -r --remote\
+      -b --both\
+      -B --bulk-threshold\
+      --source\
+      -p --http-proxy --no-http-proxy\
+      -u --update-sources --no-update-sources'
+
+    UNINSTALL_OPTIONS='\
+      -a --all --no-all\
+      -i --ignore-dependencies --no-ignore-dependencies\
+      -x --executables --no-executables\
+      -v --version\
+      --platform'
+
+    UNPACK_OPTIONS='\
+      --target\
+      -v --version'
+
+    UPDATE_OPTIONS='\
+      --system\
+      --platform\
+      -i --install-dir\
+      -d --rdoc --no-rdoc\
+      --ri --no-ri\
+      -E --env-shebang\
+      -f --force --no-force\
+      -t --test --no-test\
+      -w --wrappers --no-wrappers\
+      -P --trust-policy\
+      --ignore-dependencies\
+      -y --include-dependencies\
+      --format-executable --no-format-executable\
+      -l --local\
+      -r --remote\
+      -b --both\
+      -B --bulk-threshold\
+      --source\
+      -p --http-proxy --no-http-proxy\
+      -u --update-sources --no-update-sources'
+
+    WHICH_OPTIONS='\
+      -a --all --no-all\
+      -g --gems-first --no-gems-first'
+
+    case "${prev}" in
+      build)
+        completions="$COMMON_OPTIONS $BUILD_OPTIONS"
+        ;;
+      cert)
+        completions="$COMMON_OPTIONS $CERT_OPTIONS"
+        ;;
+      check)
+        completions="$COMMON_OPTIONS $CHECK_OPTIONS"
+        ;;
+      cleanup)
+        completions="$COMMON_OPTIONS $CLEANUP_OPTIONS"
+        ;;
+      contents)
+        completions="$COMMON_OPTIONS $CONTENTS_OPTIONS"
+        ;;
+      dependency)
+        completions="$COMMON_OPTIONS $DEPENDENCY_OPTIONS"
+        ;;
+      environment)
+        completions="$COMMON_OPTIONS $ENVIRONMENT_OPTIONS"
+        ;;
+      fetch)
+        completions="$COMMON_OPTIONS $FETCH_OPTIONS"
+        ;;
+      generate_index)
+        completions="$COMMON_OPTIONS $GENERATE_INDEX_OPTIONS"
+        ;;
+      help)
+        completions="$COMMON_OPTIONS $HELP_OPTIONS"
+        ;;
+      install)
+        completions="$COMMON_OPTIONS $INSTALL_OPTIONS"
+        ;;
+      list)
+        completions="$COMMON_OPTIONS $LIST_OPTIONS"
+        ;;
+      lock)
+        completions="$COMMON_OPTIONS $LOCK_OPTIONS"
+        ;;
+      mirror)
+        completions="$COMMON_OPTIONS $MIRROR_OPTIONS"
+        ;;
+      outdated)
+        completions="$COMMON_OPTIONS $OUTDATED_OPTIONS"
+        ;;
+      pristine)
+        completions="$COMMON_OPTIONS $PRISTINE_OPTIONS"
+        ;;
+      query)
+        completions="$COMMON_OPTIONS $QUERY_OPTIONS"
+        ;;
+      rdoc)
+        completions="$COMMON_OPTIONS $RDOC_OPTIONS"
+        ;;
+      search)
+        completions="$COMMON_OPTIONS $SEARCH_OPTIONS"
+        ;;
+      server)
+        completions="$COMMON_OPTIONS $SERVER_OPTIONS"
+        ;;
+      sources)
+        completions="$COMMON_OPTIONS $SOURCES_OPTIONS"
+        ;;
+      specification)
+        completions="$COMMON_OPTIONS $SPECIFICATION_OPTIONS"
+        ;;
+      uninstall)
+        completions="$COMMON_OPTIONS $UNINSTALL_OPTIONS"
+        ;;
+      unpack)
+        completions="$COMMON_OPTIONS $UNPACK_OPTIONS"
+        ;;
+      update)
+        completions="$COMMON_OPTIONS $UPDATE_OPTIONS"
+        ;;
+      which)
+        completions="$COMMON_OPTIONS $WHICH_OPTIONS"
+        ;;
+      *)
+        completions="$COMMANDS $GEM_OPTIONS"
+        ;;
+    esac
+
+    COMPREPLY=( $( compgen -W "$completions" -- $cur ))
+    return 0
+}
+
+[ -n "${have:-}" ] && complete -F _gem@@DOTLESS_VERSION@@ $filenames gem@@VERSION@@

Deleted: packages/libgems-ruby/trunk/debian/etc/bash_completion.d/gem1.8
===================================================================
--- packages/libgems-ruby/trunk/debian/etc/bash_completion.d/gem1.8	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/etc/bash_completion.d/gem1.8	2008-06-08 12:44:07 UTC (rev 2777)
@@ -1,297 +0,0 @@
-# Michael Schuerig, michael at schuerig.de, 2007-02-24
-# [2007-12-21] Updated by Victor Serbin (chepel at hotmail.com) for gem1.8 v1.0
-# Free for all uses.
-
-have gem1.8 &&
-_gem18()
-{
-    local cur prev completions
-
-    COMPREPLY=()
-    cur=${COMP_WORDS[COMP_CWORD]}
-    prev=${COMP_WORDS[COMP_CWORD-1]}
-
-    COMMANDS='build cert check cleanup contents dependency\
-      environment fetch generate_index help install list\
-      lock mirror outdated pristine query rdoc search server\
-      sources specification uninstall unpack update which'
-
-    GEM_OPTIONS='\
-      -h --help\
-      -v --version'
-
-    COMMON_OPTIONS='\
-      -h --help\
-      -V --verbose --no-verbose\
-      -q --quiet\
-      --config-file\
-      --backtrace\
-      --debug'
-
-    CERT_OPTIONS='\
-      -a -add\
-      -l --list\
-      -r --remove\
-      -b --build\
-      -C --certificate\
-      -K --private-key\
-      -s --sign'
-
-    CHECK_OPTIONS='\
-      --verify\
-      -a --alien\
-      -t --test\
-      -v --version'
-
-    CLEANUP_OPTIONS='\
-      -d --dry-run'
-
-    CONTENTS_OPTIONS='\
-      -v --version\
-      -s --spec-dir\
-      -l --lib-only --no-lib-only'
-
-    DEPENDENCY_OPTIONS='\
-      -v --version\
-      --platform\
-      -R --reverse-dependencies --no-reverse-dependencies\
-      -p --pipe'
-
-    ENVIRONMENT_OPTIONS=''
-
-    FETCH_OPTIONS='\
-      -v --version\
-      --platform\
-      -B --bulk-threshold\
-      -p --http-proxy --no-http-proxy\
-      --source'
-
-    GENERATE_INDEX_OPTIONS='\
-      -d --directory'
-
-    HELP_OPTIONS=$COMMANDS
-
-    INSTALL_OPTIONS='\
-      --platform\
-      -v --version\
-      -i --install-dir\
-      -d --rdoc --no-rdoc\
-      --ri --no-ri\
-      -E --env-shebang\
-      -f --force --no-force\
-      -t --test --no-test\
-      -w --wrappers --no-wrappers\
-      -P --trust-policy\
-      --ignore-dependencies\
-      -y --include-dependencies\
-      --format-executable --no-format-executable\
-      -l --local\
-      -r --remote\
-      -b --both\
-      -B --bulk-threshold\
-      --source\
-      -p --http-proxy --no-http-proxy\
-      -u --update-sources --no-update-sources'
-
-    LIST_OPTIONS='\
-      -d --details --no-details\
-      --versions --no-versions\
-      -l --local\
-      -r --remote\
-      -b --both\
-      -B --bulk-threshold\
-      --source\
-      -p --http-proxy --no-http-proxy\
-      -u --update-sources --no-update-sources'
-
-    LOCK_OPTIONS='\
-      -s --strict --no-strict'
-
-    MIRROR_OPTIONS=''
-
-    OUTDATED_OPTIONS='\
-      --platform'
-
-    PRISTINE_OPTIONS='\
-      --all\
-      -v --version'
-
-    QUERY_OPTIONS='\
-      -n --name-matches\
-      -d --details --no-details\
-      --versions --no-versions\
-      -l --local\
-      -r --remote\
-      -b --both\
-      -B --bulk-threshold\
-      --source\
-      -p --http-proxy --no-http-proxy\
-      -u --update-sources --no-update-sources'
-
-    RDOC_OPTIONS='\
-      --all\
-      --rdoc --no-rdoc\
-      --ri --no-ri\
-      -v --version'
-
-    SEARCH_OPTIONS='\
-      -d --details --no-details\
-      --versions --no-versions\
-      -l --local\
-      -r --remote\
-      -b --both\
-      -B --bulk-threshold\
-      --source\
-      -p --http-proxy --no-http-proxy\
-      -u --update-sources --no-update-sources'
-
-    SERVER_OPTIONS='\
-      -p --port\
-      -d --dir\
-      --daemon --no-daemon'
-
-    SOURCES_OPTIONS='\
-      -a --add\
-      -l --list\
-      -r --remove\
-      -u --update\
-      -c --clear-all'
-
-    SPECIFICATION_OPTIONS='\
-      -v --version\
-      --platform\
-      --all\
-      -l --local\
-      -r --remote\
-      -b --both\
-      -B --bulk-threshold\
-      --source\
-      -p --http-proxy --no-http-proxy\
-      -u --update-sources --no-update-sources'
-
-    UNINSTALL_OPTIONS='\
-      -a --all --no-all\
-      -i --ignore-dependencies --no-ignore-dependencies\
-      -x --executables --no-executables\
-      -v --version\
-      --platform'
-
-    UNPACK_OPTIONS='\
-      --target\
-      -v --version'
-
-    UPDATE_OPTIONS='\
-      --system\
-      --platform\
-      -i --install-dir\
-      -d --rdoc --no-rdoc\
-      --ri --no-ri\
-      -E --env-shebang\
-      -f --force --no-force\
-      -t --test --no-test\
-      -w --wrappers --no-wrappers\
-      -P --trust-policy\
-      --ignore-dependencies\
-      -y --include-dependencies\
-      --format-executable --no-format-executable\
-      -l --local\
-      -r --remote\
-      -b --both\
-      -B --bulk-threshold\
-      --source\
-      -p --http-proxy --no-http-proxy\
-      -u --update-sources --no-update-sources'
-
-    WHICH_OPTIONS='\
-      -a --all --no-all\
-      -g --gems-first --no-gems-first'
-
-    case "${prev}" in
-      build)
-        completions="$COMMON_OPTIONS $BUILD_OPTIONS"
-        ;;
-      cert)
-        completions="$COMMON_OPTIONS $CERT_OPTIONS"
-        ;;
-      check)
-        completions="$COMMON_OPTIONS $CHECK_OPTIONS"
-        ;;
-      cleanup)
-        completions="$COMMON_OPTIONS $CLEANUP_OPTIONS"
-        ;;
-      contents)
-        completions="$COMMON_OPTIONS $CONTENTS_OPTIONS"
-        ;;
-      dependency)
-        completions="$COMMON_OPTIONS $DEPENDENCY_OPTIONS"
-        ;;
-      environment)
-        completions="$COMMON_OPTIONS $ENVIRONMENT_OPTIONS"
-        ;;
-      fetch)
-        completions="$COMMON_OPTIONS $FETCH_OPTIONS"
-        ;;
-      generate_index)
-        completions="$COMMON_OPTIONS $GENERATE_INDEX_OPTIONS"
-        ;;
-      help)
-        completions="$COMMON_OPTIONS $HELP_OPTIONS"
-        ;;
-      install)
-        completions="$COMMON_OPTIONS $INSTALL_OPTIONS"
-        ;;
-      list)
-        completions="$COMMON_OPTIONS $LIST_OPTIONS"
-        ;;
-      lock)
-        completions="$COMMON_OPTIONS $LOCK_OPTIONS"
-        ;;
-      mirror)
-        completions="$COMMON_OPTIONS $MIRROR_OPTIONS"
-        ;;
-      outdated)
-        completions="$COMMON_OPTIONS $OUTDATED_OPTIONS"
-        ;;
-      pristine)
-        completions="$COMMON_OPTIONS $PRISTINE_OPTIONS"
-        ;;
-      query)
-        completions="$COMMON_OPTIONS $QUERY_OPTIONS"
-        ;;
-      rdoc)
-        completions="$COMMON_OPTIONS $RDOC_OPTIONS"
-        ;;
-      search)
-        completions="$COMMON_OPTIONS $SEARCH_OPTIONS"
-        ;;
-      server)
-        completions="$COMMON_OPTIONS $SERVER_OPTIONS"
-        ;;
-      sources)
-        completions="$COMMON_OPTIONS $SOURCES_OPTIONS"
-        ;;
-      specification)
-        completions="$COMMON_OPTIONS $SPECIFICATION_OPTIONS"
-        ;;
-      uninstall)
-        completions="$COMMON_OPTIONS $UNINSTALL_OPTIONS"
-        ;;
-      unpack)
-        completions="$COMMON_OPTIONS $UNPACK_OPTIONS"
-        ;;
-      update)
-        completions="$COMMON_OPTIONS $UPDATE_OPTIONS"
-        ;;
-      which)
-        completions="$COMMON_OPTIONS $WHICH_OPTIONS"
-        ;;
-      *)
-        completions="$COMMANDS $GEM_OPTIONS"
-        ;;
-    esac
-
-    COMPREPLY=( $( compgen -W "$completions" -- $cur ))
-    return 0
-}
-
-[ -n "${have:-}" ] && complete -F _gem18 $filenames gem1.8

Copied: packages/libgems-ruby/trunk/debian/gem.in (from rev 2773, packages/libgems-ruby/trunk/debian/gem1.8.1)
===================================================================
--- packages/libgems-ruby/trunk/debian/gem.in	                        (rev 0)
+++ packages/libgems-ruby/trunk/debian/gem.in	2008-06-08 12:44:07 UTC (rev 2777)
@@ -0,0 +1,41 @@
+.TH GEM@@VERSION@@ "1" "Dec 2007" "gem@@VERSION@@ 1.0.0" "User Commands"
+.SH NAME
+gem@@VERSION@@ \- the front end to RubyGems
+.SH SYNOPSIS
+.IP
+gem@@VERSION@@ command [arguments...] [options...]
+.IP
+gem@@VERSION@@ \fB\-h\fR | \-\-help
+.IP
+gem@@VERSION@@ \fB\-v\fR | \-\-version
+.fi
+.SH DESCRIPTION
+.B gem@@VERSION@@
+is the front end to RubyGems, a sophisticated package manager for Ruby. This is a
+basic help message containing pointers to more information.
+.PP
+Further help:
+.TP
+gem@@VERSION@@ help commands
+list all 'gem@@VERSION@@' commands
+.TP
+gem@@VERSION@@ help examples
+show some examples of usage
+.TP
+gem@@VERSION@@ help <COMMAND>
+show help on COMMAND
+.IP
+(e.g. 'gem@@VERSION@@ help install')
+.IP
+.PP
+Further information:
+.IP
+http://rubygems.org/
+.SH EXAMPLES
+.IP
+.nf
+gem@@VERSION@@ install rake
+gem@@VERSION@@ list \fB\-\-local\fR
+gem@@VERSION@@ build package.gemspec
+gem@@VERSION@@ help install
+.fi

Deleted: packages/libgems-ruby/trunk/debian/gem1.8.1
===================================================================
--- packages/libgems-ruby/trunk/debian/gem1.8.1	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/gem1.8.1	2008-06-08 12:44:07 UTC (rev 2777)
@@ -1,41 +0,0 @@
-.TH GEM1.8 "1" "Dec 2007" "gem1.8 1.0.0" "User Commands"
-.SH NAME
-gem1.8 \- the front end to RubyGems
-.SH SYNOPSIS
-.IP
-gem1.8 command [arguments...] [options...]
-.IP
-gem1.8 \fB\-h\fR | \-\-help
-.IP
-gem1.8 \fB\-v\fR | \-\-version
-.fi
-.SH DESCRIPTION
-.B gem1.8
-is the front end to RubyGems, a sophisticated package manager for Ruby. This is a
-basic help message containing pointers to more information.
-.PP
-Further help:
-.TP
-gem1.8 help commands
-list all 'gem1.8' commands
-.TP
-gem1.8 help examples
-show some examples of usage
-.TP
-gem1.8 help <COMMAND>
-show help on COMMAND
-.IP
-(e.g. 'gem1.8 help install')
-.IP
-.PP
-Further information:
-.IP
-http://rubygems.org/
-.SH EXAMPLES
-.IP
-.nf
-gem1.8 install rake
-gem1.8 list \fB\-\-local\fR
-gem1.8 build package.gemspec
-gem1.8 help install
-.fi

Deleted: packages/libgems-ruby/trunk/debian/libgems-ruby1.8.dirs
===================================================================
--- packages/libgems-ruby/trunk/debian/libgems-ruby1.8.dirs	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/libgems-ruby1.8.dirs	2008-06-08 12:44:07 UTC (rev 2777)
@@ -1,2 +0,0 @@
-usr/bin/
-var/lib/gems/1.8/

Deleted: packages/libgems-ruby/trunk/debian/libgems-ruby1.8.docs
===================================================================
--- packages/libgems-ruby/trunk/debian/libgems-ruby1.8.docs	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/libgems-ruby1.8.docs	2008-06-08 12:44:07 UTC (rev 2777)
@@ -1,3 +0,0 @@
-README
-test
-html

Deleted: packages/libgems-ruby/trunk/debian/libgems-ruby1.8.examples
===================================================================
--- packages/libgems-ruby/trunk/debian/libgems-ruby1.8.examples	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/libgems-ruby1.8.examples	2008-06-08 12:44:07 UTC (rev 2777)
@@ -1 +0,0 @@
-examples/*

Deleted: packages/libgems-ruby/trunk/debian/libgems-ruby1.8.install
===================================================================
--- packages/libgems-ruby/trunk/debian/libgems-ruby1.8.install	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/libgems-ruby1.8.install	2008-06-08 12:44:07 UTC (rev 2777)
@@ -1,3 +0,0 @@
-usr/bin/gem1.8
-usr/lib/ruby/1.8/
-var/lib/gems/1.8/

Deleted: packages/libgems-ruby/trunk/debian/postinst
===================================================================
--- packages/libgems-ruby/trunk/debian/postinst	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/postinst	2008-06-08 12:44:07 UTC (rev 2777)
@@ -1,17 +0,0 @@
-#!/bin/sh -e
-# 
-
-case "$1" in
-  configure)
-        rm -f /var/lib/gems/1.8/source_cache
-        update-alternatives --quiet --install /usr/bin/gem gem \
-            /usr/bin/gem1.8 180 \
-	    --slave /usr/share/man/man1/gem.1.gz gem.1.gz \
-	    /usr/share/man/man1/gem1.8.1.gz \
-            --slave /etc/bash_completion.d/gem bash_completion_gem \
-            /etc/bash_completion.d/gem1.8
-       ;;
-  *)
-esac
-
-#DEBHELPER#

Deleted: packages/libgems-ruby/trunk/debian/postrm
===================================================================
--- packages/libgems-ruby/trunk/debian/postrm	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/postrm	2008-06-08 12:44:07 UTC (rev 2777)
@@ -1,41 +0,0 @@
-#! /bin/sh
-# postrm script for #PACKAGE#
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postrm> `remove'
-#        * <postrm> `purge'
-#        * <old-postrm> `upgrade' <new-version>
-#        * <new-postrm> `failed-upgrade' <old-version>
-#        * <new-postrm> `abort-install'
-#        * <new-postrm> `abort-install' <old-version>
-#        * <new-postrm> `abort-upgrade' <old-version>
-#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    purge)
-        rm -rf /var/lib/gems/1.8
-        ;;
-    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-
-
-        ;;
-
-    *)
-        echo "postrm called with unknown argument \`$1'" >&2
-        exit 1
-
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

Deleted: packages/libgems-ruby/trunk/debian/prerm
===================================================================
--- packages/libgems-ruby/trunk/debian/prerm	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/prerm	2008-06-08 12:44:07 UTC (rev 2777)
@@ -1,11 +0,0 @@
-#!/bin/sh
-#
-
-case "$1" in
-    remove|deconfigure)
-        update-alternatives --quiet --remove gem /usr/bin/gem1.8
-        ;;
-    *)
-esac
-
-#DEBHELPER#

Deleted: packages/libgems-ruby/trunk/debian/rubygems.README.Debian
===================================================================
--- packages/libgems-ruby/trunk/debian/rubygems.README.Debian	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/rubygems.README.Debian	2008-06-08 12:44:07 UTC (rev 2777)
@@ -1,25 +0,0 @@
-libgems-ruby for Debian
------------------------
-
-Some patches are applied to fit Debian FHS
-
-* Directory where gems are to be installed
-
-/var/lib/gems is used in Debian. However, you can override it by defining
-GEM_HOME environment variable. If you go with your GEM_HOME, some files should
-be manually installed.
-  $ cp -r /var/lib/gems/1.8/gems/sources-0.0.1 $GEM_HOME/gems/
-  $ cp    /var/lib/gems/1.8/specifications/sources-0.0.1.gemspec \
-          $GEM_HOME/specifications/
-Replace version numbers above with what you really have. 
-
-
-* Executables in gems
-
-Gems which Debian's RubyGems will install are stored at /var/lib/gems instead
-of /usr/lib/ruby/gems. Executables of the gems will be put at
-/var/lib/gems/1.8/bin (for Ruby 1.8). In order to use them you manually have to
-add the directory in your PATH environment variable or make symbolic links at
-/usr/bin.
-
- -- Daigo Moriwaki <daigo at debian.org>  Sat, 22 Apr 2006

Deleted: packages/libgems-ruby/trunk/debian/rubygems.install
===================================================================
--- packages/libgems-ruby/trunk/debian/rubygems.install	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/rubygems.install	2008-06-08 12:44:07 UTC (rev 2777)
@@ -1,2 +0,0 @@
-usr/bin/gem1.8
-etc/bash_completion.d/gem1.8

Deleted: packages/libgems-ruby/trunk/debian/rubygems.manpages
===================================================================
--- packages/libgems-ruby/trunk/debian/rubygems.manpages	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/rubygems.manpages	2008-06-08 12:44:07 UTC (rev 2777)
@@ -1 +0,0 @@
-debian/gem1.8.1

Copied: packages/libgems-ruby/trunk/debian/rubygems1.8.README.Debian (from rev 2773, packages/libgems-ruby/trunk/debian/rubygems.README.Debian)
===================================================================
--- packages/libgems-ruby/trunk/debian/rubygems1.8.README.Debian	                        (rev 0)
+++ packages/libgems-ruby/trunk/debian/rubygems1.8.README.Debian	2008-06-08 12:44:07 UTC (rev 2777)
@@ -0,0 +1,25 @@
+libgems-ruby for Debian
+-----------------------
+
+Some patches are applied to fit Debian FHS
+
+* Directory where gems are to be installed
+
+/var/lib/gems is used in Debian. However, you can override it by defining
+GEM_HOME environment variable. If you go with your GEM_HOME, some files should
+be manually installed.
+  $ cp -r /var/lib/gems/1.8/gems/sources-0.0.1 $GEM_HOME/gems/
+  $ cp    /var/lib/gems/1.8/specifications/sources-0.0.1.gemspec \
+          $GEM_HOME/specifications/
+Replace version numbers above with what you really have. 
+
+
+* Executables in gems
+
+Gems which Debian's RubyGems will install are stored at /var/lib/gems instead
+of /usr/lib/ruby/gems. Executables of the gems will be put at
+/var/lib/gems/1.8/bin (for Ruby 1.8). In order to use them you manually have to
+add the directory in your PATH environment variable or make symbolic links at
+/usr/bin.
+
+ -- Daigo Moriwaki <daigo at debian.org>  Sat, 22 Apr 2006

Copied: packages/libgems-ruby/trunk/debian/rubygems1.8.postinst (from rev 2773, packages/libgems-ruby/trunk/debian/postinst)
===================================================================
--- packages/libgems-ruby/trunk/debian/rubygems1.8.postinst	                        (rev 0)
+++ packages/libgems-ruby/trunk/debian/rubygems1.8.postinst	2008-06-08 12:44:07 UTC (rev 2777)
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+# 
+
+case "$1" in
+  configure)
+        rm -f /var/lib/gems/1.8/source_cache
+        update-alternatives --quiet --install /usr/bin/gem gem \
+            /usr/bin/gem1.8 180 \
+	    --slave /usr/share/man/man1/gem.1.gz gem.1.gz \
+	    /usr/share/man/man1/gem1.8.1.gz \
+            --slave /etc/bash_completion.d/gem bash_completion_gem \
+            /etc/bash_completion.d/gem1.8
+       ;;
+  *)
+esac
+
+#DEBHELPER#

Copied: packages/libgems-ruby/trunk/debian/rubygems1.8.postrm (from rev 2773, packages/libgems-ruby/trunk/debian/postrm)
===================================================================
--- packages/libgems-ruby/trunk/debian/rubygems1.8.postrm	                        (rev 0)
+++ packages/libgems-ruby/trunk/debian/rubygems1.8.postrm	2008-06-08 12:44:07 UTC (rev 2777)
@@ -0,0 +1,41 @@
+#! /bin/sh
+# postrm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    purge)
+        rm -rf /var/lib/gems/1.8
+        ;;
+    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Copied: packages/libgems-ruby/trunk/debian/rubygems1.8.prerm (from rev 2773, packages/libgems-ruby/trunk/debian/prerm)
===================================================================
--- packages/libgems-ruby/trunk/debian/rubygems1.8.prerm	                        (rev 0)
+++ packages/libgems-ruby/trunk/debian/rubygems1.8.prerm	2008-06-08 12:44:07 UTC (rev 2777)
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+
+case "$1" in
+    remove|deconfigure)
+        update-alternatives --quiet --remove gem /usr/bin/gem1.8
+        ;;
+    *)
+esac
+
+#DEBHELPER#

Added: packages/libgems-ruby/trunk/debian/rubygems1.9.postinst
===================================================================
--- packages/libgems-ruby/trunk/debian/rubygems1.9.postinst	                        (rev 0)
+++ packages/libgems-ruby/trunk/debian/rubygems1.9.postinst	2008-06-08 12:44:07 UTC (rev 2777)
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+# 
+
+case "$1" in
+  configure)
+        rm -f /var/lib/gems/1.9/source_cache
+        update-alternatives --quiet --install /usr/bin/gem gem \
+            /usr/bin/gem1.9 170 \
+	    --slave /usr/share/man/man1/gem.1.gz gem.1.gz \
+	    /usr/share/man/man1/gem1.9.1.gz \
+            --slave /etc/bash_completion.d/gem bash_completion_gem \
+            /etc/bash_completion.d/gem1.9
+       ;;
+  *)
+esac
+
+#DEBHELPER#

Added: packages/libgems-ruby/trunk/debian/rubygems1.9.postrm
===================================================================
--- packages/libgems-ruby/trunk/debian/rubygems1.9.postrm	                        (rev 0)
+++ packages/libgems-ruby/trunk/debian/rubygems1.9.postrm	2008-06-08 12:44:07 UTC (rev 2777)
@@ -0,0 +1,41 @@
+#! /bin/sh
+# postrm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    purge)
+        rm -rf /var/lib/gems/1.9.0
+        ;;
+    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Added: packages/libgems-ruby/trunk/debian/rubygems1.9.prerm
===================================================================
--- packages/libgems-ruby/trunk/debian/rubygems1.9.prerm	                        (rev 0)
+++ packages/libgems-ruby/trunk/debian/rubygems1.9.prerm	2008-06-08 12:44:07 UTC (rev 2777)
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+
+case "$1" in
+    remove|deconfigure)
+        update-alternatives --quiet --remove gem /usr/bin/gem1.9
+        ;;
+    *)
+esac
+
+#DEBHELPER#

Modified: packages/libgems-ruby/trunk/debian/rules
===================================================================
--- packages/libgems-ruby/trunk/debian/rules	2008-06-08 08:54:07 UTC (rev 2776)
+++ packages/libgems-ruby/trunk/debian/rules	2008-06-08 12:44:07 UTC (rev 2777)
@@ -1,122 +1,74 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-#
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-#
-# Modified to make a template file for a multi-binary package with separated
-# build-arch and build-indep targets  by Bill Allombert 2001
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
 
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
+DEB_INSTALL_CHANGELOGS_ALL = ChangeLog
 
-RAKE = /usr/bin/rake
 RUBY18 = /usr/bin/ruby1.8
+RUBY19 = /usr/bin/ruby1.9
+RDOC = /usr/bin/rdoc1.8
 RUBY18LIBDIR = $(shell $(RUBY18) -rrbconfig -e "puts Config::CONFIG['rubylibdir']")
+RUBY19LIBDIR = $(shell $(RUBY19) -rrbconfig -e "puts Config::CONFIG['rubylibdir']")
 
-config: config-stamp
-config-stamp:
-	dh_testdir
+DEB_INSTALL_DOCS_rubygems-doc += html
 
-	mkdir -p debian/tmp/var/lib/gems/1.8
-	touch config-stamp
+DEB_INSTALL_DIRS_rubygems1.8 += usr/bin/ usr/lib/ruby/1.8/  var/lib/gems/1.8/
+DEB_INSTALL_DIRS_rubygems1.9 += usr/bin/ usr/lib/ruby/1.9.0 var/lib/gems/1.9.0/
 
-build: build-stamp
-build-stamp: patch config
-	dh_testdir
+DEB_INSTALL_MANPAGES_rubygems1.8 += debian/gem1.8.1
+DEB_INSTALL_MANPAGES_rubygems1.9 += debian/gem1.9.1
 
-	touch build-stamp
- 
-clean:: clean1 unpatch
-clean1:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp config-stamp
-
-	# Add here commands to clean up after the build process.
-	dh_clean
+clean::
 	rm -rf html
+	rm -f debian/gem1.*
+	rm -f debian/etc/bash_completion.d/gem1.*
 
-	#rm -f pkgs/sources/sources-*.gem
+build/rubygems1.8::
+	$(RUBY18) setup.rb --no-rdoc --no-ri --prefix=$(CURDIR)/debian/$(cdbs_curpkg)
 
-install:
-	$(RUBY18) setup.rb --no-rdoc --no-ri --prefix=debian/tmp
-	mkdir -p debian/tmp$(RUBY18LIBDIR)
-	find lib -name "*.rb" | xargs rdoc --fmt html --title RubyGems \
+build/rubygems1.9::
+	$(RUBY19) setup.rb --no-rdoc --no-ri --prefix=$(CURDIR)/debian/$(cdbs_curpkg)
+
+build/rubygems-doc::
+	find lib -name "*.rb" | xargs $(RDOC) --fmt html --title RubyGems \
 	  --line-numbers --inline-source --main README -o html README TODO
-	mv debian/tmp/lib/* debian/tmp$(RUBY18LIBDIR)/
-	mv debian/tmp/bin debian/tmp/usr/
-	rm -f debian/tmp/usr/bin/update_rubygems*
-	
-	cp -r debian/etc debian/tmp/
-	
-	dh_testdir
-	dh_testroot
-	# dh_clean -k
-	dh_installdirs
-	
-	# DEBUG tree debian/tmp
-	dh_install --list-missing --sourcedir=debian/tmp
-	rm -rf debian/libgems-ruby1.8/usr/bin
-	#cp -ar docs debian/libgems-ruby1.8/usr/share/doc/libgems-ruby1.8/
-	#cp -ar test debian/libgems-ruby1.8/usr/share/doc/libgems-ruby1.8/
 
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir -i
-	dh_testroot -i
-	dh_installchangelogs ChangeLog
-	dh_installdocs -i
-	dh_installexamples -i
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate	
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-	dh_installman
-	dh_link -i
-	dh_strip -i
-	dh_compress -i 
-	dh_fixperms -i
-#	dh_perl
-#	dh_python
-#	dh_makeshlibs
-	dh_installdeb -i
-#	dh_shlibdeps
-	dh_gencontrol -i
-	dh_md5sums -i
-	dh_builddeb -i
+install/rubygems1.8::
+	find $(CURDIR)/debian/ -type f -name "*.in" | \
+	  while read fname; \
+	  do \
+	    sed -e 's/@@VERSION@@/1\.8/g' -e 's/@@DOTLESS_VERSION@@/18/g' \
+		< $$fname > `expr $$fname : '\(.*\)\.in$$'`1.8; \
+	  done; \
+	  : \
+	done
+	mv $(CURDIR)/debian/gem1.8 $(CURDIR)/debian/gem1.8.1
+	mkdir -p $(CURDIR)/debian/$(cdbs_curpkg)/$(RUBY18LIBDIR)/
+	mkdir -p $(CURDIR)/debian/$(cdbs_curpkg)/usr/bin/
+	mv $(CURDIR)/debian/$(cdbs_curpkg)/lib/* $(CURDIR)/debian/$(cdbs_curpkg)/$(RUBY18LIBDIR)/
+	rm -rf $(CURDIR)/debian/$(cdbs_curpkg)/lib
+	mv $(CURDIR)/debian/$(cdbs_curpkg)/bin/gem1.8 $(CURDIR)/debian/$(cdbs_curpkg)/usr/bin/
+	rm -rf $(CURDIR)/debian/$(cdbs_curpkg)/bin/
+	dh_install -p$(cdbs_curpkg)\
+	  debian/etc/bash_completion.d/gem1.8 etc/bash_completion.d/
 
-# Build architecture-dependent files here.
-binary-arch: build install 
-# We have nothing to do by default.
+install/rubygems1.9::
+	find $(CURDIR)/debian/ -type f -name "*.in" | \
+	  while read fname; \
+	  do \
+	    sed -e 's/@@VERSION@@/1\.8/g' -e 's/@@DOTLESS_VERSION@@/18/g' \
+		< $$fname > `expr $$fname : '\(.*\)\.in$$'`1.9; \
+	  done; \
+	  : \
+	done
+	mv $(CURDIR)/debian/gem1.9 $(CURDIR)/debian/gem1.9.1
+	mkdir -p $(CURDIR)/debian/$(cdbs_curpkg)/$(RUBY19LIBDIR)/
+	mkdir -p $(CURDIR)/debian/$(cdbs_curpkg)/usr/bin/
+	mv $(CURDIR)/debian/$(cdbs_curpkg)/lib/* $(CURDIR)/debian/$(cdbs_curpkg)/$(RUBY19LIBDIR)/
+	rm -rf $(CURDIR)/debian/$(cdbs_curpkg)/lib
+	mv $(CURDIR)/debian/$(cdbs_curpkg)/bin/gem1.9 $(CURDIR)/debian/$(cdbs_curpkg)/usr/bin/
+	rm -rf $(CURDIR)/debian/$(cdbs_curpkg)/bin/
+	dh_install -p$(cdbs_curpkg) \
+	  debian/etc/bash_completion.d/gem1.9 etc/bash_completion.d/
 
-# Build architecture independant packages using the common target.
-binary: binary-indep binary-arch
-	
-#binary: build install
-#	$(MAKE) -f debian/rules DH_OPTIONS=-s binary-indep
-
-patch: patch-stamp
-patch-stamp:
-	dpatch apply-all
-	dpatch cat-all >patch-stamp
-	touch patch-stamp
-
-unpatch:
-	dpatch deapply-all
-	rm -rf patch-stamp debian/patched
-
-
-.PHONY: build config patch unpatch clean clean1 binary-indep binary-arch binary install
-




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