[DRE-commits] [SCM] ruby-gettext-rails.git branch, master, updated. upstream/2.1.0-3-ga2d3e2c

Gunnar Wolf gwolf at gwolf.org
Fri Sep 2 11:33:13 UTC 2011


The following commit has been merged in the master branch:
commit d7bd1d247b596e750301c251e887eaf2d6c8c07e
Author: Gunnar Wolf <gwolf at gwolf.org>
Date:   Fri Sep 2 06:23:13 2011 -0500

    Added in the pre-gem2deb packaging information)

diff --git a/debian/changelog b/debian/changelog
index d99d277..cc29c64 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,12 @@
-ruby-gettext-rails (2.1.0-1) UNRELEASED; urgency=low
+ruby-gettext-rails (2.1.0-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * Repackaged using the gem2deb infrastructure; packaged renamed
+    following current policy
 
  -- Gunnar Wolf <gwolf at debian.org>  Fri, 02 Sep 2011 06:00:37 -0500
+
+libgettext-rails-ruby (2.1.0-1) unstable; urgency=low
+
+  * Initial upload (Closes: #580697)
+
+ -- Gunnar Wolf <gwolf at debian.org>  Fri, 18 Jun 2010 12:00:04 -0500
diff --git a/debian/control b/debian/control
index d2c6788..1a11dd9 100644
--- a/debian/control
+++ b/debian/control
@@ -2,19 +2,27 @@ Source: ruby-gettext-rails
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders:  <gwolf at debian.org>
+Uploaders: Gunnar Wolf <gwolf at debian.org>
 DM-Upload-Allowed: yes
 Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.7~)
 Standards-Version: 3.9.2
-#Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-gettext-rails.git
-#Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-gettext-rails.git;a=summary
+Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-gettext-rails.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-gettext-rails.git;a=summary
 Homepage: http://gettext.rubyforge.org/
 XS-Ruby-Versions: all
 
 Package: ruby-gettext-rails
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-# gettext_activerecord (>= 2.1.0), locale_rails (>= 2.0.5), rails (>= 2.3.2)
-Description: Localization support for Ruby on Rails(>=2.3) by Ruby-GetText-Package.
- Localization support for Ruby on Rails(>=2.3.2) by Ruby-GetText-Package.
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, rails (>= 2.3.2), ruby-locale-rails (>= 2.0.5), ruby-gettext-activerecord (>= 2.1.0)
+Description: Gettext support for Rails >= 2.3
+ This package provides the localization for Ruby on Rails-2.3 or later
+ using Ruby-GetText package. Its main features include:
+ .
+  * Autodetect client locale using locale/locale_rails.
+  * Easy maintenance of translations using the powerful gettext family tools.
+  * Model translation using gettext_activerecord.
+  * Localization for some helpers.
+  * Works with other Rails I18n backends.
+    * Note that gettext_rails is not the official Rails I18n backend.
+  * Thread safe.
diff --git a/debian/copyright b/debian/copyright
index 922711e..2759965 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,33 +1,115 @@
-FIXME. fill-in with DEP5 copyright file. http://dep.debian.net/deps/dep5/
-Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173
-Upstream-Name: gettext-rails
-Source: FIXME (URL where source can be downloaded)
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=420
+Upstream-Name: rails_gettext
+Upstream-Maintainer: Masao Mutoh
+Upstream-Source: http://www.yotabanana.com/hiki/ruby-gettext.html
 
 Files: *
-Copyright: Copyright 1998 John Doe <jdoe at example.com>
-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'.
+Copyright: Copyright (c) 2001-2009 Masao Mutoh <mutoh at highwhay.ne.jp>
+License: Ruby+GPL2+LGPL3
+
+Files: sample/public/javascripts/controls.js
+Copyright: (c) 2005-2008 Thomas Fuchs, (c) 2005-2008 Ivan Krstic, (c) 2005-2008 Jon Tirsen
+License: MIT-scriptaculous
+
+Files: sample/public/javascripts/dragdrop.js, test/public/javascripts/dragdrop.js
+Copyright: (c) 2005-2008 Thomas Fuchs, (c) 2005-2008 Sammi Williams 
+License: MIT-scriptaculous
+
+Files: sample/public/javascripts/effects.js, test/public/javascripts/effects.js
+Copyright: (c) 2005-2008 Thomas Fuchs; Contributors: Justin Palmer, Mark Pilgrim, Martin Bialasinki
+License: MIT-scriptaculous
 
 Files: debian/*
-Copyright: Copyright 1998 Jane Smith <jsmith at example.net>
-License:
- [LICENSE TEXT]
+Copyright: Copyright (c) 2009-2011, Gunnar Wolf <gwolf at debian.org>
+License: GPL2
+
+License: GPL2
+ This program is licensed under the GPL (General Public License: 
+ http://www.gnu.org/licenses/gpl-2.0.txt).
+ A copy of the GPL 2.0 can be found at /usr/share/common-licenses/GPL-2 
+ on any Debian system.
+
+License: LGPL3
+ This program is licensed under the LGPL (Lesser General Public License: 
+ http://www.gnu.org/licenses/lgpl-3.0.txt
+ .
+ A copy of the LGPL 3.0 can be found at /usr/share/common-licenses/LGPL-3
+ on any Debian system.
+
+License: Ruby
+ Ruby is copyrighted free software by Yukihiro Matsumoto <matz at netlab.jp>.
+ You can redistribute it and/or modify it under either the terms of the GPL
+ version 2 (see the file GPL), 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) give non-standard binaries non-standard names, with
+          instructions on where to get the original software distribution.
+ .
+       d) make other distribution arrangements with the author.
+ .
+  3. You may distribute the software in object code or binary form,
+     provided that you do at least ONE of the following:
+ .
+       a) distribute the binaries 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 binaries 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 these terms.
+ .
+     For the list of those files and their copying conditions, see the
+     file LEGAL.
+ .
+  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.
+
+License: MIT-scriptaculous
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ “Software”), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/ruby-gettext-rails.docs b/debian/ruby-gettext-rails.docs
index 0d5eab8..e475c53 100644
--- a/debian/ruby-gettext-rails.docs
+++ b/debian/ruby-gettext-rails.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.rdoc
+README.rdoc
diff --git a/debian/ruby-gettext-rails.examples b/debian/ruby-gettext-rails.examples
index 19ae3fc..640e65f 100644
--- a/debian/ruby-gettext-rails.examples
+++ b/debian/ruby-gettext-rails.examples
@@ -1,3 +1 @@
-# FIXME: sample/ dir found in source. Consider installing the examples.
-# Examples:
-# sample/*
+sample/*
diff --git a/debian/ruby-gettext-rails.install b/debian/ruby-gettext-rails.install
index 1bb0227..3cdee5f 100644
--- a/debian/ruby-gettext-rails.install
+++ b/debian/ruby-gettext-rails.install
@@ -1,3 +1 @@
-# FIXME: data/ dir found in source. Consider installing it somewhere.
-# Examples:
-# data/* /usr/share/ruby-gettext-rails/
+data/* /usr/share/
diff --git a/debian/rules b/debian/rules
index a5e7dc8..e48cc21 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,5 +11,15 @@
 # If you need to specify the .gemspec (eg there is more than one)
 #export DH_RUBY_GEMSPEC=gem.gemspec
 
+LOCALEDIR=debian/ruby-gettext-rails/usr/share/locale/
+
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_install:
+	dh_install
+	# Ukrainan language code is mistakenly shipped as ua instead
+	# of uk - Bug report at
+	# http://rubyforge.org/tracker/index.php?func=detail&aid=28277&group_id=855&atid=3377
+	# *** CHECK: is the /po directory used?
+	[ -d $(LOCALEDIR)/uk ] || mv $(LOCALEDIR)/ua $(LOCALEDIR)/uk

-- 
ruby-gettext-rails.git



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