[DRE-commits] [SCM] ruby-text.git branch, master, updated. upstream/0.2.0-4-g49684ba

Olivier Sallou olivier.sallou at irisa.fr
Tue Oct 4 09:21:18 UTC 2011


The following commit has been merged in the master branch:
commit 1fc590a4af95099a54ba7d8afd716b16fdd6d2bd
Author: Olivier Sallou <olivier.sallou at irisa.fr>
Date:   Tue Oct 4 10:43:02 2011 +0200

    udpate debian stuff for first packaging

diff --git a/debian/changelog b/debian/changelog
index 36c733d..92d04c7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
 ruby-text (0.2.0-1) UNRELEASED; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #644136)
 
  -- Olivier Sallou <olivier.sallou at irisa.fr>  Mon, 03 Oct 2011 11:16:15 +0200
diff --git a/debian/control b/debian/control
index 2e8e829..776fa19 100644
--- a/debian/control
+++ b/debian/control
@@ -2,12 +2,12 @@ Source: ruby-text
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders:  <olivier.sallou at irisa.fr>
+Uploaders:  Olivier Sallou <olivier.sallou at irisa.fr>
 DM-Upload-Allowed: yes
 Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.10~)
 Standards-Version: 3.9.2
-#Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-text.git
-#Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-text.git;a=summary
+Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-text.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-text.git;a=summary
 Homepage: http://github.com/threedaymonk/text
 XS-Ruby-Versions: all
 
@@ -16,4 +16,5 @@ Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
 Description: A collection of text algorithms
- A collection of text algorithms: Levenshtein, Soundex, Metaphone, Double Metaphone, Figlet, Porter Stemming
+ A collection of text algorithms: Levenshtein, Soundex,
+  Metaphone, Double Metaphone, Figlet, Porter Stemming
diff --git a/debian/copyright b/debian/copyright
index 510531f..ee7e9b2 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,11 +1,12 @@
 Format: http://dep.debian.net/deps/dep5
 Upstream-Name: text
-Source: FIXME <http://example.com/>
+Source: http://github.com/threedaymonk/text
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2009 Paul Battley
+           2009 Michael Neumann
+           2009 Tim Fletcher
+License: GPL-2+
  This program is free software; you can redistribute it
  and/or modify it under the terms of the GNU General Public
  License as published by the Free Software Foundation; either
@@ -29,5 +30,25 @@ License: GPL-2+ (FIXME)
 
 Files: debian/*
 Copyright: 2011  <olivier.sallou at irisa.fr>
-License:
- [LICENSE TEXT]
+License: GPL-2+
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..dbfac65 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,13 +1,8 @@
-# FIXME
-# there's a spec/ or a test/ directory in the upstream source, but
-# no test suite was defined in the Gem specification. It would be
-# a good idea to define it here so the package gets tested at build time.
-# Examples:
-# $: << 'lib' << '.'
-# Dir['{spec,test}/**/*.rb'].each { |f| require f }
-#
-# require 'test/ts_foo.rb'
-#
-# require 'rbconfig'
-# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-# exec("#{ruby} -I. test/runtests.rb")
+$: << 'lib' << '.'
+
+ruby = "ruby"
+exec("#{ruby} -I. test/test_double_metaphone.rb")
+exec("#{ruby} -I. test/test_levenshtein.rb")
+exec("#{ruby} -I. test/test_metaphone.rb")
+exec("#{ruby} -I. test/test_porter_stemming.rb")
+exec("#{ruby} -I. test/test_soundex.rb")
diff --git a/debian/ruby-text.docs b/debian/ruby-text.docs
index 0d5eab8..e475c53 100644
--- a/debian/ruby-text.docs
+++ b/debian/ruby-text.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.rdoc
+README.rdoc

-- 
ruby-text.git



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