[Pkg-ruby-extras-maintainers] r506 - in packages/libgems-ruby/trunk: . debian debian/patches

Daigo Moriwaki daigo-guest at costa.debian.org
Sat Apr 22 03:30:18 UTC 2006


Author: daigo-guest
Date: 2006-04-22 03:30:14 +0000 (Sat, 22 Apr 2006)
New Revision: 506

Added:
   packages/libgems-ruby/trunk/debian/
   packages/libgems-ruby/trunk/debian/README.Debian
   packages/libgems-ruby/trunk/debian/changelog
   packages/libgems-ruby/trunk/debian/compat
   packages/libgems-ruby/trunk/debian/control
   packages/libgems-ruby/trunk/debian/copyright
   packages/libgems-ruby/trunk/debian/gem.sgml
   packages/libgems-ruby/trunk/debian/gem_server.sgml
   packages/libgems-ruby/trunk/debian/gemwhich.sgml
   packages/libgems-ruby/trunk/debian/generate_yaml_index.sgml
   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/patches/
   packages/libgems-ruby/trunk/debian/patches/00list
   packages/libgems-ruby/trunk/debian/patches/01_rubygems.dpatch
   packages/libgems-ruby/trunk/debian/patches/02_post-install.dpatch
   packages/libgems-ruby/trunk/debian/patches/03_config_file.dpatch
   packages/libgems-ruby/trunk/debian/patches/04_gem_runner.dpatch
   packages/libgems-ruby/trunk/debian/patches/05_gem_commands.dpatch
   packages/libgems-ruby/trunk/debian/patches/06_dependency_list.dpatch
   packages/libgems-ruby/trunk/debian/patches/07_security.dpatch
   packages/libgems-ruby/trunk/debian/patches/08_tighter_search_regex.dpatch
   packages/libgems-ruby/trunk/debian/patches/09_installer.dpatch
   packages/libgems-ruby/trunk/debian/postrm
   packages/libgems-ruby/trunk/debian/rubygems.install
   packages/libgems-ruby/trunk/debian/rules
   packages/libgems-ruby/trunk/debian/watch
Log:
Load newtrunk into packages/libgems-ruby/trunk.


Added: packages/libgems-ruby/trunk/debian/README.Debian
===================================================================
--- packages/libgems-ruby/trunk/debian/README.Debian	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/README.Debian	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,10 @@
+libgems-ruby for Debian
+-----------------------
+
+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 <beatles at sgtpepper.net>  Mon, 23 May 2005 20:24:25 +0900

Added: packages/libgems-ruby/trunk/debian/changelog
===================================================================
--- packages/libgems-ruby/trunk/debian/changelog	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/changelog	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,18 @@
+libgems-ruby (0.8.11-2) unstable; urgency=low
+
+  * debian/patches/08_tighter_search_regex.dpatch: new. fix a bug where the
+    regular expression in the local gem searching code was not using the ^ and
+    $ anchors on the gem name given on the command line, resulting in failures
+    when another gem then the specified has a substring match.  (Blair Zajac
+    <blair at orcaware.com>)
+
+  * debian/patches/09_installer.dpatch: new. fix a issue where executables
+    of installed gems were not uninstalled.
+
+ -- Daigo Moriwaki <beatles at sgtpepper.net>  Thu,  3 Nov 2005 14:54:00 +0900
+
+libgems-ruby (0.8.11-1) unstable; urgency=low
+
+  * Initial Release [closes: #282429].
+
+ -- Daigo Moriwaki <beatles at sgtpepper.net>  Sat, 10 Sep 2005 23:48:29 +0900

Added: packages/libgems-ruby/trunk/debian/compat
===================================================================
--- packages/libgems-ruby/trunk/debian/compat	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/compat	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1 @@
+4

Added: packages/libgems-ruby/trunk/debian/control
===================================================================
--- packages/libgems-ruby/trunk/debian/control	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/control	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,41 @@
+Source: libgems-ruby
+Section: interpreters
+Priority: optional
+Maintainer: Daigo Moriwaki <beatles at sgtpepper.net>
+Build-Depends-Indep: dpatch (>= 2.0.10), debhelper (>= 4.0.0), docbook-to-man, ruby1.8  
+Standards-Version: 3.6.2.1
+
+Package: libgems-ruby1.8
+Architecture: all
+Depends: libruby1.8, rdoc1.8, libopenssl-ruby1.8
+Recommends: rubygems
+Description: libraries to use RubyGems, a package management framework
+ 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:
+   * download and install Ruby libraries easily
+   * 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.
+ .
+ Homepage: http://rubygems.rubyforge.org/wiki/wiki.pl
+
+Package: rubygems
+Architecture: all
+Depends: ruby (>= 1.8), libgems-ruby1.8
+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:
+   * download and install Ruby libraries easily
+   * 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.
+ .
+ Homepage: http://rubygems.rubyforge.org/wiki/wiki.pl
+

Added: packages/libgems-ruby/trunk/debian/copyright
===================================================================
--- packages/libgems-ruby/trunk/debian/copyright	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/copyright	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,71 @@
+This package was debianized by Daigo Moriwaki <beatles at sgtpepper.net> on
+Sun, 21 Nov 2004 12:23:16 +0900.
+
+It was downloaded from http://rubyforge.org/projects/rubygems
+
+Upstream Author: The RubyGems Team
+
+License:
+
+Ruby is copyrighted free software by Yukihiro Matsumoto <matz at netlab.co.jp>.
+You can redistribute it and/or modify it under either the terms of the GPL
+(see COPYING.txt file), or the conditions below:
+
+  1. You may make and give away verbatim copies of the source form of the
+     software without restriction, provided that you duplicate all of the
+     original copyright notices and associated disclaimers.
+
+  2. You may modify your copy of the software in any way, provided that
+     you do at least ONE of the following:
+
+       a) place your modifications in the Public Domain or otherwise
+          make them Freely Available, such as by posting said
+	  modifications to Usenet or an equivalent medium, or by allowing
+	  the author to include your modifications in the software.
+
+       b) use the modified software only within your corporation or
+          organization.
+
+       c) rename any non-standard executables so the names do not conflict
+	  with standard executables, which must also be provided.
+
+       d) make other distribution arrangements with the author.
+
+  3. You may distribute the software in object code or executable
+     form, provided that you do at least ONE of the following:
+
+       a) distribute the executables and library files of the software,
+	  together with instructions (in the manual page or equivalent)
+	  on where to get the original distribution.
+
+       b) accompany the distribution with the machine-readable source of
+	  the software.
+
+       c) give non-standard executables non-standard names, with
+          instructions on where to get the original software distribution.
+
+       d) make other distribution arrangements with the author.
+
+  4. You may modify and include the part of the software into any other
+     software (possibly commercial).  But some files in the distribution
+     are not written by the author, so that they are not under this terms.
+
+     They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some
+     files under the ./missing directory.  See each file for the copying
+     condition.
+
+  5. The scripts and library files supplied as input to or produced as 
+     output from the software do not automatically fall under the
+     copyright of the software, but belong to whomever generated them, 
+     and may be sold commercially, and may be aggregated with this
+     software.
+
+  6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
+     IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+     PURPOSE.
+
+-- 
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+

Added: packages/libgems-ruby/trunk/debian/gem.sgml
===================================================================
--- packages/libgems-ruby/trunk/debian/gem.sgml	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/gem.sgml	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,155 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+    
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Daigo</firstname>">
+  <!ENTITY dhsurname   "<surname>Moriwaki</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>November 21, 2004</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>beatles at sgtpepper.net</email>">
+  <!ENTITY dhusername  "Daigo Moriwaki">
+  <!ENTITY dhucpackage "<refentrytitle>GEM</refentrytitle>">
+  <!ENTITY dhpackage   "gem">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2004</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>managing packages of RubyGems</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg><option>-h <replaceable>--help</replaceable></option></arg>
+      <arg><option>-v <replaceable>--version</replaceable></option></arg>
+		<arg rep="repeat">commands</arg>
+		<arg rep="repeat">options</arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> command.</para>
+
+    <para><command>&dhpackage;</command> is the front end of RubyGems. </para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the &gnu;
+      <application>Info</application> format; see below.</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>See details by $ <command>&dhpackage;</command> --help</para>
+
+    <para>These programs follow the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.  For a complete description, see the
+      <application>Info</application> files.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-v</option>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>gem_server (1).</para>
+
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+	  later version published by the Free Software Foundation.
+    </para>
+	<para>
+	  On Debian systems, the complete text of the GNU General Public
+	  License can be found in /usr/share/common-licenses/GPL.
+	</para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+

Added: packages/libgems-ruby/trunk/debian/gem_server.sgml
===================================================================
--- packages/libgems-ruby/trunk/debian/gem_server.sgml	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/gem_server.sgml	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,160 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+    
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  Smaples:
+  http://svn.annodex.net/liboggz/trunk/doc/oggzinfo.1.sgml
+  http://mama.sourceforge.net/doc/html/node7.html
+  
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Daigo</firstname>">
+  <!ENTITY dhsurname   "<surname>Moriwaki</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>April 29, 2005</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>beatles at sgtpepper.net</email>">
+  <!ENTITY dhusername  "Daigo Moriwaki">
+  <!ENTITY dhucpackage "<refentrytitle>GEM_SERVER</refentrytitle>">
+  <!ENTITY dhpackage   "gem_server">
+
+  <!ENTITY debian      "<productname>Debian GNU/Linux</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry id="gem_server">
+  
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2005</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>Start up web server to see docs of the installed gems.</refpurpose>
+  </refnamediv>
+  
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      
+      <group><arg choice="opt">-p</arg><arg choice="opt">--port=<arg choice="req">PORT</arg></arg></group>
+      <group><arg choice="opt">-d</arg><arg choice="opt">--dir=<arg choice="req">GEMDIR</arg></arg></group>
+    </cmdsynopsis>
+    
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      
+      <group><arg choice="opt">-h</arg><arg choice="opt">--help</arg></group>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para><command>&dhpackage;</command> starts up web server to see docs of the installed gems.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the &gnu;
+      <application>Info</application> format; see below.</para>
+  </refsect1>
+  
+  <refsect1>
+    <title>OPTIONS</title>
+    <para>
+      <command>&dhpackage;</command> accepts the following options:
+    </para>
+
+    <variablelist>
+      
+      <varlistentry>
+        <term>-h, --help</term>
+        <listitem><para>Show summary of options.</para></listitem>
+      </varlistentry>
+      
+      <varlistentry>
+        <term>-p=<emphasis>PORT</emphasis>, --port=<emphasis>PORT</emphasis></term>
+        <listitem><para>Specify the port to listen on.</para></listitem>
+      </varlistentry>
+      
+      <varlistentry>
+        <term>-d=<emphasis>GEMDIR</emphasis>, --dir=<emphasis>GEMDIR</emphasis></term>
+        <listitem><para>Specify the directory from which to serve Gems.</para></listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>gem (1)</para>
+  </refsect1>
+  
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+	  later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in /usr/share/common-licenses/GPL.
+    </para>
+  </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+

Added: packages/libgems-ruby/trunk/debian/gemwhich.sgml
===================================================================
--- packages/libgems-ruby/trunk/debian/gemwhich.sgml	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/gemwhich.sgml	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,160 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+    
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  Smaples:
+  http://svn.annodex.net/liboggz/trunk/doc/oggzinfo.1.sgml
+  http://mama.sourceforge.net/doc/html/node7.html
+  
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Daigo</firstname>">
+  <!ENTITY dhsurname   "<surname>Moriwaki</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>April 28, 2005</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>beatles at sgtpepper.net</email>">
+  <!ENTITY dhusername  "Daigo Moriwaki">
+  <!ENTITY dhucpackage "<refentrytitle>GEMWHICH</refentrytitle>">
+  <!ENTITY dhpackage   "gemwhich">
+
+  <!ENTITY debian      "<productname>Debian GNU/Linux</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry id="gemwhich">
+  
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2005</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>Find the location of a library module</refpurpose>
+  </refnamediv>
+  
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      
+      <group><arg choice="opt">-v</arg><arg choice="opt">--verbose</arg></group>
+      <arg choice="plain" rep="repeat">libname</arg>
+    </cmdsynopsis>
+    
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      
+      <group><arg choice="opt">-h</arg><arg choice="opt">--help</arg></group>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para><command>&dhpackage;</command> finds the location of a library module.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the &gnu;
+      <application>Info</application> format; see below.</para>
+  </refsect1>
+  
+  <refsect1>
+    <title>OPTIONS</title>
+    <para>
+      <command>&dhpackage;</command> accepts the following options:
+    </para>
+
+    <variablelist>
+      
+      <varlistentry>
+        <term>-h, --help</term>
+        <listitem><para>Show summary of options.</para></listitem>
+      </varlistentry>
+      
+      <varlistentry>
+        <term>-v, --verbose</term>
+        <listitem><para>Enable verbose output</para></listitem>
+      </varlistentry>
+      
+      <varlistentry>
+        <term>libname</term>
+        <listitem><para>library names</para></listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>gem (1), gem_server (1).</para>
+  </refsect1>
+  
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+	  later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in /usr/share/common-licenses/GPL.
+    </para>
+  </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+

Added: packages/libgems-ruby/trunk/debian/generate_yaml_index.sgml
===================================================================
--- packages/libgems-ruby/trunk/debian/generate_yaml_index.sgml	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/generate_yaml_index.sgml	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,160 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+    
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  Smaples:
+  http://svn.annodex.net/liboggz/trunk/doc/oggzinfo.1.sgml
+  http://mama.sourceforge.net/doc/html/node7.html
+  
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Daigo</firstname>">
+  <!ENTITY dhsurname   "<surname>Moriwaki</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>April 29, 2005</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>beatles at sgtpepper.net</email>">
+  <!ENTITY dhusername  "Daigo Moriwaki">
+  <!ENTITY dhucpackage "<refentrytitle>GENERATE_YAML_INDEX.RB</refentrytitle>">
+  <!ENTITY dhpackage   "generate_yaml_index.rb">
+
+  <!ENTITY debian      "<productname>Debian GNU/Linux</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry id="generate_yaml_index.rb">
+  
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2005</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>Generate yaml index</refpurpose>
+  </refnamediv>
+  
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      
+      <group><arg choice="opt">-v</arg><arg choice="opt">--verbose</arg></group>
+      <group><arg choice="opt">-d</arg><arg choice="opt">--dir=<arg choice="req">DIRNAME</arg></arg></group>
+    </cmdsynopsis>
+    
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      
+      <group><arg choice="opt">-h</arg><arg choice="opt">--help</arg></group>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para><command>&dhpackage;</command> generates yaml index.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the &gnu;
+      <application>Info</application> format; see below.</para>
+  </refsect1>
+  
+  <refsect1>
+    <title>OPTIONS</title>
+    <para>
+      <command>&dhpackage;</command> accepts the following options:
+    </para>
+
+    <variablelist>
+      
+      <varlistentry>
+        <term>-h, --help</term>
+        <listitem><para>Show summary of options.</para></listitem>
+      </varlistentry>
+      
+      <varlistentry>
+        <term>-v, --verbose</term>
+        <listitem><para>Enable verbose output</para></listitem>
+      </varlistentry>
+      
+      <varlistentry>
+        <term>-d=<emphasis>DIRNAME</emphasis>, --dir=<emphasis>DIRNAME</emphasis></term>
+        <listitem><para>base directory containing gems subdirectory</para></listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>gem (1)</para>
+  </refsect1>
+  
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+	  later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in /usr/share/common-licenses/GPL.
+    </para>
+  </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+

Added: packages/libgems-ruby/trunk/debian/libgems-ruby1.8.docs
===================================================================
--- packages/libgems-ruby/trunk/debian/libgems-ruby1.8.docs	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/libgems-ruby1.8.docs	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,4 @@
+README
+Releases
+doc
+test

Added: packages/libgems-ruby/trunk/debian/libgems-ruby1.8.examples
===================================================================
--- packages/libgems-ruby/trunk/debian/libgems-ruby1.8.examples	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/libgems-ruby1.8.examples	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1 @@
+examples/*

Added: packages/libgems-ruby/trunk/debian/libgems-ruby1.8.install
===================================================================
--- packages/libgems-ruby/trunk/debian/libgems-ruby1.8.install	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/libgems-ruby1.8.install	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1 @@
+*

Added: packages/libgems-ruby/trunk/debian/patches/00list
===================================================================
--- packages/libgems-ruby/trunk/debian/patches/00list	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/patches/00list	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,9 @@
+01_rubygems.dpatch
+02_post-install.dpatch
+03_config_file.dpatch
+04_gem_runner.dpatch
+05_gem_commands.dpatch
+06_dependency_list.dpatch
+07_security.dpatch
+08_tighter_search_regex.dpatch
+09_installer.dpatch 

Added: packages/libgems-ruby/trunk/debian/patches/01_rubygems.dpatch
===================================================================
--- packages/libgems-ruby/trunk/debian/patches/01_rubygems.dpatch	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/patches/01_rubygems.dpatch	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,23 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_rubygems.dpatch by  <beatles at sgtpepper.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from libgems-ruby 0.8.10-1 diff.gz
+
+ at DPATCH@
+
+--- libgems-ruby-0.8.10.orig/lib/rubygems.rb
++++ libgems-ruby-0.8.10/lib/rubygems.rb
+@@ -88,7 +88,11 @@
+     # return:: [String] The directory path
+     #
+     def dir
+-      @gem_home ||= nil
++		#@gem_home ||= nil
++		### Debian ###
++		#require 'rbconfig'
++      @gem_home ||= File.join("/var/lib/gems", Config::CONFIG['ruby_version'])
++		##############
+       set_home(ENV['GEM_HOME'] || default_dir) unless @gem_home
+       @gem_home
+     end


Property changes on: packages/libgems-ruby/trunk/debian/patches/01_rubygems.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libgems-ruby/trunk/debian/patches/02_post-install.dpatch
===================================================================
--- packages/libgems-ruby/trunk/debian/patches/02_post-install.dpatch	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/patches/02_post-install.dpatch	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_post-install.dpatch by  <beatles at sgtpepper.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from libgems-ruby 0.8.10-1 diff.gz
+
+ at DPATCH@
+
+--- libgems-ruby-0.8.10.orig/post-install.rb
++++ libgems-ruby-0.8.10/post-install.rb
+@@ -65,8 +65,15 @@
+     load "sources.gemspec"
+     spec = Gem.sources_spec
+     gem_file = Gem::Builder.new(spec).build
+-    Gem::Installer.new(gem_file).install(true, Gem.dir, false)
+-  end
++	 ##### DEBIAN #####
++	 p Dir.pwd
++	 deb_dir = File.expand_path("../../debian/tmp")
++	 bindir_orig = Config::CONFIG["bindir"]
++	 Config::CONFIG["bindir"] = File.join(deb_dir, Config::CONFIG["bindir"])
++	 Gem::Installer.new(gem_file).install(true, File.join("../../debian/tmp",Gem.dir), false)
++	 Config::CONFIG["bindir"] = bindir_orig
++	 ##################
++ end
+ end
+ 
+ install_windows_batch_files


Property changes on: packages/libgems-ruby/trunk/debian/patches/02_post-install.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libgems-ruby/trunk/debian/patches/03_config_file.dpatch
===================================================================
--- packages/libgems-ruby/trunk/debian/patches/03_config_file.dpatch	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/patches/03_config_file.dpatch	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_cofig_file.dpatch by  <beatles at sgtpepper.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from libgems-ruby 0.8.10-1 diff.gz
+
+ at DPATCH@
+
+--- libgems-ruby-0.8.10.orig/lib/rubygems/config_file.rb
++++ libgems-ruby-0.8.10/lib/rubygems/config_file.rb
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env ruby
+-
+ require 'yaml'
+ 
+ module Gem


Property changes on: packages/libgems-ruby/trunk/debian/patches/03_config_file.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libgems-ruby/trunk/debian/patches/04_gem_runner.dpatch
===================================================================
--- packages/libgems-ruby/trunk/debian/patches/04_gem_runner.dpatch	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/patches/04_gem_runner.dpatch	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04_gem_runner.dpatch by  <beatles at sgtpepper.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from libgems-ruby 0.8.10-1 diff.gz
+
+ at DPATCH@
+
+--- libgems-ruby-0.8.10.orig/lib/rubygems/gem_runner.rb
++++ libgems-ruby-0.8.10/lib/rubygems/gem_runner.rb
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env ruby
+-
+ module Gem
+ 
+   class GemRunner


Property changes on: packages/libgems-ruby/trunk/debian/patches/04_gem_runner.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libgems-ruby/trunk/debian/patches/05_gem_commands.dpatch
===================================================================
--- packages/libgems-ruby/trunk/debian/patches/05_gem_commands.dpatch	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/patches/05_gem_commands.dpatch	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05_gem_commands.dpatch by  <beatles at sgtpepper.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from libgems-ruby 0.8.10-1 diff.gz
+
+ at DPATCH@
+
+--- libgems-ruby-0.8.10.orig/lib/rubygems/gem_commands.rb
++++ libgems-ruby-0.8.10/lib/rubygems/gem_commands.rb
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env ruby
+-
+ module Gem
+ 
+   class CommandLineError < Gem::Exception; end


Property changes on: packages/libgems-ruby/trunk/debian/patches/05_gem_commands.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libgems-ruby/trunk/debian/patches/06_dependency_list.dpatch
===================================================================
--- packages/libgems-ruby/trunk/debian/patches/06_dependency_list.dpatch	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/patches/06_dependency_list.dpatch	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 06_dependency_list.dpatch by  <beatles at sgtpepper.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from libgems-ruby 0.8.10-1 diff.gz
+
+ at DPATCH@
+
+--- libgems-ruby-0.8.10.orig/lib/rubygems/dependency_list.rb
++++ libgems-ruby-0.8.10/lib/rubygems/dependency_list.rb
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env ruby
+-
+ module Gem
+   class DependencyList
+     def self.from_source_index(src_index)


Property changes on: packages/libgems-ruby/trunk/debian/patches/06_dependency_list.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libgems-ruby/trunk/debian/patches/07_security.dpatch
===================================================================
--- packages/libgems-ruby/trunk/debian/patches/07_security.dpatch	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/patches/07_security.dpatch	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 06_dependency_list.dpatch by  <beatles at sgtpepper.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from libgems-ruby 0.8.10-1 diff.gz
+
+ at DPATCH@
+
+--- libgems-ruby-0.8.11.orig/lib/rubygems/security.rb.orig
++++ libgems-ruby-0.8.11/lib/rubygems/security.rb
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env ruby
+-
+ require 'rubygems/gem_openssl'
+ 
+ module Gem


Property changes on: packages/libgems-ruby/trunk/debian/patches/07_security.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libgems-ruby/trunk/debian/patches/08_tighter_search_regex.dpatch
===================================================================
--- packages/libgems-ruby/trunk/debian/patches/08_tighter_search_regex.dpatch	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/patches/08_tighter_search_regex.dpatch	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 08_tighter_search_regex.dpatch by <blair at orcaware.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from libgems-ruby 0.8.11-1 diff.gz
+
+ at DPATCH@
+
+--- libgems-ruby-0.8.11.orig/lib/rubygems/source_index.rb.orig
++++ libgems-ruby-0.8.11/lib/rubygems/source_index.rb
+@@ -116,7 +116,7 @@
+     #
+     def search(gem_pattern, version_requirement=Version::Requirement.new(">= 0"))
+       #FIXME - remove duplication between this and RemoteInstaller.search
+-      gem_pattern = /#{ gem_pattern }/i if String === gem_pattern
++      gem_pattern = /^#{ gem_pattern }$/i if String === gem_pattern
+       version_requirement = Gem::Version::Requirement.create(version_requirement)
+       result = []
+       @gems.each do |full_spec_name, spec|


Property changes on: packages/libgems-ruby/trunk/debian/patches/08_tighter_search_regex.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libgems-ruby/trunk/debian/patches/09_installer.dpatch
===================================================================
--- packages/libgems-ruby/trunk/debian/patches/09_installer.dpatch	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/patches/09_installer.dpatch	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,38 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 09_installer.dpatch by Daigo Moriwaki <beatles at sgtpepper.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from libgems-ruby 0.8.11-1 diff.gz
+
+ at DPATCH@
+
+--- libgems-ruby-0.8.11.orig/lib/rubygems/installer.rb.orig
++++ libgems-ruby-0.8.11/lib/rubygems/installer.rb
+@@ -349,6 +349,7 @@
+     #
+     def initialize(gem, options)
+       @gem = gem
++      @options = options
+       @version = options[:version] || "> 0"
+       @force_executables = options[:executables]
+       @force_all = options[:all]
+@@ -402,9 +403,9 @@
+     #
+     def remove_executables(gemspec)
+       return if gemspec.nil?
++      bindir = Installer.new(@gem, @options).bindir
+       if(gemspec.executables.size > 0)
+-        raise Gem::FilePermissionError.new(Config::CONFIG['bindir']) unless
+-	  File.writable?(Config::CONFIG['bindir'])
++        raise Gem::FilePermissionError.new(bindir) unless File.writable?(bindir)
+         list = Gem.source_index.search(gemspec.name).delete_if { |spec|
+ 	  spec.version == gemspec.version
+ 	}
+@@ -423,7 +424,6 @@
+           say "Executables and scripts will remain installed."
+           return
+         else
+-          bindir = Config::CONFIG['bindir']
+           gemspec.executables.each do |exe_name|
+             say "Removing #{exe_name}"
+             File.unlink(File.join(bindir, exe_name)) rescue nil


Property changes on: packages/libgems-ruby/trunk/debian/patches/09_installer.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libgems-ruby/trunk/debian/postrm
===================================================================
--- packages/libgems-ruby/trunk/debian/postrm	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/postrm	2006-04-22 03:30:14 UTC (rev 506)
@@ -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
+        ;;
+    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/rubygems.install
===================================================================
--- packages/libgems-ruby/trunk/debian/rubygems.install	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/rubygems.install	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,4 @@
+usr/bin/gem
+usr/bin/gem_server
+usr/bin/gemwhich
+usr/bin/generate_yaml_index

Added: packages/libgems-ruby/trunk/debian/rules
===================================================================
--- packages/libgems-ruby/trunk/debian/rules	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/rules	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,125 @@
+#!/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
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+RUBY_VERSION = 1.8
+RUBY = /usr/bin/ruby$(RUBY_VERSION)
+RUBYLIBDIR = $(shell $(RUBY) -rrbconfig -e "puts Config::CONFIG['rubylibdir']")
+
+manpages = gem.1 gem_server.1 gemwhich.1 generate_yaml_index.1
+
+$(manpages): %.1: debian/%.sgml
+	docbook-to-man $< > $@
+
+config: config-stamp
+config-stamp: patch
+	dh_testdir
+
+	mkdir -p debian/tmp/var/lib/gems/$(RUBY_VERSION)
+	$(RUBY) setup.rb config --siterubyver=$(RUBYLIBDIR)
+
+	touch config-stamp
+
+build: build-stamp
+build-stamp: config $(manpages) 
+	dh_testdir
+
+	$(RUBY) setup.rb setup
+
+	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
+
+	$(RUBY) setup.rb clean
+	rm -f pkgs/sources/sources-*.gem
+	rm -f $(manpages)
+
+install:
+	$(RUBY) setup.rb install --prefix=debian/tmp
+	rm -f  debian/tmp/usr/bin/update_rubygems
+	
+	dh_testdir
+	dh_testroot
+	# dh_clean -k
+	dh_installdirs
+	
+	# DEBUG tree debian/tmp
+	mv debian/tmp/usr/bin/generate_yaml_index.rb debian/tmp/usr/bin/generate_yaml_index
+	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 --package=rubygems $(manpages)
+	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
+
+# Build architecture-dependent files here.
+binary-arch: build install 
+# We have nothing to do by default.
+
+# 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 call-all -a=pkg-info >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
+


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

Added: packages/libgems-ruby/trunk/debian/watch
===================================================================
--- packages/libgems-ruby/trunk/debian/watch	2006-04-22 03:29:12 UTC (rev 505)
+++ packages/libgems-ruby/trunk/debian/watch	2006-04-22 03:30:14 UTC (rev 506)
@@ -0,0 +1,6 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern			Version	Script
+version=2
+http://rubyforge.org/frs/?group_id=126&release_id=826	/frs/download.php/\d*/rubygems-(.*).tgz	debian	uupdate	




More information about the pkg-ruby-extras-maintainers mailing list