[DRE-commits] [ruby-unicode] 01/01: Initial Debianization
Per Andersson
avtobiff-guest at alioth.debian.org
Tue Aug 13 11:52:59 UTC 2013
This is an automated email from the git hooks/post-receive script.
avtobiff-guest pushed a commit to branch master
in repository ruby-unicode.
commit cf377dcd3a8e04a1256b2ff0fe06eb5303ad52f9
Author: Per Andersson <avtobiff at gmail.com>
Date: Tue Aug 13 10:38:31 2013 +0200
Initial Debianization
---
debian/changelog | 5 ++
debian/compat | 1 +
debian/control | 27 ++++++
debian/copyright | 87 ++++++++++++++++++++
debian/docs | 1 +
debian/examples | 1 +
...ect-shebang-for-ruby-interpreter-in-tools.patch | 29 +++++++
debian/patches/series | 1 +
debian/ruby-tests.rb | 2 +
debian/rules | 15 ++++
debian/source/format | 1 +
debian/source/local-options | 1 +
debian/watch | 2 +
13 files changed, 173 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2a27c32
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-unicode (0.4.4-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #719572)
+
+ -- Per Andersson <avtobiff at gmail.com> Tue, 13 Aug 2013 10:35:32 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0847343
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: ruby-unicode
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Per Andersson <avtobiff at gmail.com>
+Build-Depends:
+ debhelper (>= 7.0.50~),
+ gem2deb (>= 0.4.1~)
+Standards-Version: 3.9.4
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-unicode.git
+Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-unicode.git;a=summary
+Homepage: http://www.yoshidam.net/Ruby.html#unicode
+XS-Ruby-Versions: all
+
+Package: ruby-unicode
+Architecture: any
+XB-Ruby-Versions: ${ruby:Versions}
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ ruby | ruby-interpreter
+Description: Unicode string manipulation library for Ruby
+ This library includes functionality for Unicode string manipulation.
+ .
+ This library is based on UAX #15 Unicode Normalization Forms.
+ .
+ http://www.unicode.org/unicode/reports/tr15/
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0764548
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,87 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: unicode
+Source: http://www.yoshidam.net/Ruby.html
+
+Files: *
+Copyright: 1999-2013 Yoshida Masato <yoshidam at yoshidam.net>
+License: Ruby or GPL-2+
+
+Files: debian/*
+Copyright: 2013 Per Andersson <avtobiff at gmail.com>
+License: GPL-2+
+
+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 program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ 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'.
+
+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
+ (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.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..7f8eb7d
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+tools/*
diff --git a/debian/patches/0001-Use-correct-shebang-for-ruby-interpreter-in-tools.patch b/debian/patches/0001-Use-correct-shebang-for-ruby-interpreter-in-tools.patch
new file mode 100644
index 0000000..aaea7b5
--- /dev/null
+++ b/debian/patches/0001-Use-correct-shebang-for-ruby-interpreter-in-tools.patch
@@ -0,0 +1,29 @@
+From: Per Andersson <avtobiff at gmail.com>
+Date: Tue, 13 Aug 2013 10:13:21 +0200
+Subject: Use correct shebang for ruby interpreter in tools
+
+---
+ tools/mkunidata.rb | 2 +-
+ tools/normtest.rb | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tools/mkunidata.rb b/tools/mkunidata.rb
+index e5d8e4c..4b0d831 100644
+--- a/tools/mkunidata.rb
++++ b/tools/mkunidata.rb
+@@ -1,4 +1,4 @@
+-#! /usr/local/bin/ruby -KU
++#! /usr/bin/ruby -KU
+
+ #if $KCODE != 'UTF8'
+ # raise "$KCODE must be UTF8"
+diff --git a/tools/normtest.rb b/tools/normtest.rb
+index 7c2ab02..a6749cb 100644
+--- a/tools/normtest.rb
++++ b/tools/normtest.rb
+@@ -1,4 +1,4 @@
+-#! /usr/local/bin/ruby -KU
++#! /usr/bin/ruby -KU
+
+ ## Conformance test with NormaliztionTest.txt
+ ## Copyrigth 2010 yoshidam
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..abe5089
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Use-correct-shebang-for-ruby-interpreter-in-tools.patch
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..3878db6
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,2 @@
+$: << '.'
+require 'test.rb'
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a5e7dc8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#
+# Uncomment to ignore all test failures (but the tests will run anyway)
+#export DH_RUBY_IGNORE_TESTS=all
+#
+# Uncomment to ignore some test failures (but the tests will run anyway).
+# Valid values:
+#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
+#
+# If you need to specify the .gemspec (eg there is more than one)
+#export DH_RUBY_GEMSPEC=gem.gemspec
+
+%:
+ dh $@ --buildsystem=ruby --with ruby
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..4aceb10
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1 @@
+unapply-patches
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f473027
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://www.yoshidam.net/Ruby.html unicode-(.*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-unicode.git
More information about the Pkg-ruby-extras-commits
mailing list